Announcement

Collapse
No announcement yet.

Embedding Slingplayer?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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

    Comment


    • #3
      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? :)

      Comment


      • #4
        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.

        Comment


        • #5
          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? :)

          Comment


          • #6
            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.

            Comment


            • #7
              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

              Comment


              • #8
                I get the same error ROY is getting

                Comment


                • #9
                  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).

                  Comment


                  • #10
                    as far as i know I dont think you can embed SLingplayer.

                    Comment


                    • #11
                      Don't be dumb. You can embed ANYTHING (as long as it has a window handle, which all windows do). That is the whole point of SKINbedder. I am working on a skin for SlingPlayer and have already embedded it nicely. Now I just need to make all the buttons work.

                      Comment


                      • #12
                        Originally posted by RPM_VR4 View Post
                        Don't be dumb. You can embed ANYTHING (as long as it has a window handle, which all windows do). That is the whole point of SKINbedder. I am working on a skin for SlingPlayer and have already embedded it nicely. Now I just need to make all the buttons work.
                        if you can do it i want the skin

                        Comment


                        • #13
                          Will do, but probably not until mid-month as I am in China.

                          So far I have just copied the iGFreedom skin, changed the window title/class, and changed the nudge values. I have the slingplayer video box in the same spot as the iG map. It is very easy.

                          All I have to do is change the button graphics and change the hot-keys that each button sends. The only problem is I still don't have a slingbox setup, so I don't know what the hot-keys are. Anyone want to PM me their sling box info so I can finish this while I am in China?

                          Comment


                          • #14
                            Hi Guys,
                            sorry for the lack of responses... i had since returned the slingbox, but i might pick another one up someday... anyways, sorry i wasnt more useful...
                            Roy

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

                            Comment

                            Working...
                            X