Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Embedding Slingplayer?

  1. #1
    Raw Wave RoyN's Avatar
    Join Date
    Sep 2004
    Location
    São Paulo, Brazil
    Posts
    3,534

    Embedding Slingplayer?

    Has anyone been able to do it?

    The tutorial for skinbedder hasnt helped me enough... I dont know how to get it going... has anyone tried it or can help me?

    I'd like to have the channel buttons in skinbedder, (just sending keys basically), but cropping the slingplayer would be required...

    cheers

    PS: one user did make an application that kind of embeds slingplayer, but it is in delphi and I dont have delphi to recompile it, so basically I know the player *can* be embedded...
    Roy

    2005 Range Rover 4.4
    Any ideas for putting a PC in this? :)

  2. #2
    Banned RPM_VR4's Avatar
    Join Date
    Nov 2004
    Location
    L.A.
    Posts
    1,893
    Start by copying over an existing skin.
    Change the name of the skin folder from "copy of <oldname>" to "<newname>".
    Go in to the folder and rename <oldname>.ini to <newname>.ini
    Open <newname>.ini and go to the [Scripts] section.
    StartUp=Run(c:\%apppath%\%appname%.exe),Embed(<sub-skin-folder>:<timeout-in-ms>),LoadSkin(<sub-skin-folder>:<new-skin-name>)
    Save it and go back to windows explorer.

    Rename one of the old sub-skin folders (ie: "iGMap") to your new "<sub-skin-folder>". Each window/sub-window of a program can be embedded with its own set of skins, so there is a sub-folder under the main skin folder. You will just start out with embedding the main window so delete all other sub-directories of the skin.

    Now go into your <sub-skin-folder> and rename the <old-folder>.ini (ie: "SKINbedder\iGuidance\iGMap\iGMap.ini")
    to <sub-skin-folder>.ini. Then open it and change the name of the section at the top to match the filename to (ie: [iGMap] to [<sub-skin-folder>])

    Next find the window title and class using auto it window tool.

    Set any other things you want to mess with and save it.

    Now rename one of the other ini files to <new-skin-name>.ini
    Rename the [<section>].
    Change the .png paths to your new skins images (one all-up, one all-down).
    Action=<button-name>
    [<button-name>] has position, and OnPressUp/Down scripts.
    ie: OnPressUp=Focus(<sub-skin-folder>),Type(<key-you-want-to-send-to-your-app>)

    Rinse & Repeat

  3. #3
    Raw Wave RoyN's Avatar
    Join Date
    Sep 2004
    Location
    São Paulo, Brazil
    Posts
    3,534
    cool, seems i'm getting somewhere...

    nonetheless, after it embeds the application in the SB window it is giving me an error msgbox: "error c:\path\to\application\skin\\SUBSKIN\: Image not found!"... and isnt overlaying any buttons...

    I just renamed a file in the igmap folder (renamed igmap too, and iguidance), but the two images in the "subskin".ini file are in the skin directory!

    any ideas? also, when quitting skinbedder with ALT-F4, it isnt killing the app, as scripted... any idea?
    Roy

    2005 Range Rover 4.4
    Any ideas for putting a PC in this? :)

  4. #4
    Banned RPM_VR4's Avatar
    Join Date
    Nov 2004
    Location
    L.A.
    Posts
    1,893
    The images need to be in the same folder as the subskin.ini file.

    Kill(filename.exe) should not have a path, just the exe name. It needs to be the same name that you see in the task-manager list of running apps.

  5. #5
    Raw Wave RoyN's Avatar
    Join Date
    Sep 2004
    Location
    São Paulo, Brazil
    Posts
    3,534
    yes, the images are in th same directory.....

    I renamed the folder igMap, to slingpl, and renamed one of the ini files to sling.ini....

    now i have:

    skinbedder\slingplayer\slingpl\slingg.ini and the images are in the same directory... I just renamed one of the existing inis to sling.ini, and just left one action, menu, with some type command.... but it still errors on me.....
    Roy

    2005 Range Rover 4.4
    Any ideas for putting a PC in this? :)

  6. #6
    Banned RPM_VR4's Avatar
    Join Date
    Nov 2004
    Location
    L.A.
    Posts
    1,893
    You said the error message includes a path right? ...and then it says Image Not Found. Just make sure that the image exists in that path.

    If you want me to review it post a screen shot of the error message and a screen-shot of the folder containing the images (with the full path displayed in the address bar). You may also want to post your StartUp=, ButtonUpImage=, and ButtonDownImage= lines.

  7. #7
    Maximum Bitrate tn6478's Avatar
    Join Date
    Jun 2006
    Location
    Houston, TX
    Posts
    791
    Quote Originally Posted by RoyN View Post
    yes, the images are in th same directory.....

    I renamed the folder igMap, to slingpl, and renamed one of the ini files to sling.ini....

    now i have:

    skinbedder\slingplayer\slingpl\slingg.ini and the images are in the same directory... I just renamed one of the existing inis to sling.ini, and just left one action, menu, with some type command.... but it still errors on me.....
    Have you gotten this to work roy

  8. #8
    Maximum Bitrate tn6478's Avatar
    Join Date
    Jun 2006
    Location
    Houston, TX
    Posts
    791
    I get the same error ROY is getting

  9. #9
    Banned RPM_VR4's Avatar
    Join Date
    Nov 2004
    Location
    L.A.
    Posts
    1,893
    You may have to rename the first [Section] in any ini file you rename as well (if the first [Section] is the same as the file name).

  10. #10
    Maximum Bitrate tn6478's Avatar
    Join Date
    Jun 2006
    Location
    Houston, TX
    Posts
    791
    as far as i know I dont think you can embed SLingplayer.

Page 1 of 2 12 LastLast

Similar Threads

  1. Slingplayer for streaming TV/Sat signal
    By nkotch in forum General MP3Car Discussion
    Replies: 4
    Last Post: 02-02-2006, 02:38 PM
  2. Embedding Google Earth
    By 106-Quiksilver in forum GPS
    Replies: 2
    Last Post: 12-06-2005, 01:03 PM
  3. Replies: 2
    Last Post: 10-28-2005, 10:16 AM
  4. Embedding in 1.3
    By CavityCr33p in forum Centrafuse
    Replies: 12
    Last Post: 07-18-2005, 09:16 PM
  5. Replies: 0
    Last Post: 07-08-2005, 05:08 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •