Results 1 to 10 of 10

Thread: Changing media.gif on-the-fly

  1. #1
    Constant Bitrate
    Join Date
    May 2006
    Posts
    124

    Changing media.gif on-the-fly

    I'm trying to follow the tip in skin commands.txt:

    *Trick: It is possible to have different icons for FOLDER/MEDIA on separate screens of the SAME skin. For this,
    simply rename/copy the desired image as above before loading the corresponding screen.
    This can easily be done running a .BAT file with the RUNQW command (in front of your load/list command).



    I have a Music, Image and Video.gif file that I have Music, Image and Video.bat files for

    e.g.
    Music.bat: echo Y|copy music.gif media.gif

    I then have the following to load my skin file (this one is from a button color chooser skin, where I want the icons to be image.gif)

    /, B, x, y, w, h, Command;COMMANDCODES, Tooltip
    B,0,0,90,60,"runqw;Image.bat||load;buttoncolor.ski n||EFFECT;4||SETPATH;$skinpath$backgrounds\2"

    This doesn't work as it should, for any of the screens (video browser should show video.gif, audio browser show music.gif, picviewer show image.gif) UNLESS I also RELOADSKIN, then it will dynamically change as it should.

    Any ideas?
    Rich

  2. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    are you preloading any of those screens -- that could be the issue. the image is loaded at the time of loading the screen, preloading would make them all load the initial file.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  3. #3
    Constant Bitrate
    Join Date
    May 2006
    Posts
    124
    I am preloading:

    preload=Audio_Player.skin
    preload=audio_browser.skin
    preload=EXTERNAL_GPS.skin
    preload=External_DVD.skin
    preload=picviewer.skin

    I removed the preloads and it still misbehaves, however, if I RELOADSKIN it works as advertised. If I switch skins through skin browser it's still wrong.

    Unique to my system?

  4. #4
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    did you remove the preloads and re-started RR and it misbehaved ? interesting....
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  5. #5
    Constant Bitrate
    Join Date
    May 2006
    Posts
    124
    yes, exited RR, removed preload line in RR.ini, re-started RR and it still won't work unless I press a button that has a RELOADSKIN on it.

  6. #6
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    I'll see what I can do..
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  7. #7
    Constant Bitrate
    Join Date
    May 2006
    Posts
    124
    thanks

  8. #8
    Constant Bitrate
    Join Date
    May 2006
    Posts
    124
    By the way, the new 9-02 version of RR also has this problem with LDIMG on my two systems (inside and outside) Namely, it doesn't behave correctly unless I also RELOADSKIN.

    In this case, I have code to show my button color choices, I'm LDIMG my button color image, then LOADIMG my menu.png over that, so the transparent areas in menu.png show the selected color from LISTTEXT.

    This worked when I used LOADIMG for both LISTTEXT and MENU_off.png, but I had to have the LISTTEXT chosen file in the skin folder.

    B03,19,540,90,60,"DOWN||SETVARBYCODE;LISTTEXT;LIST TEXT||LDIMG;295;106;445;332;$skinpath$Backgrounds\ $LISTTEXT$;OUT||LOADIMG;295;106;445;332;Menu_Off.p ng;OUT",

    Now, what it loads the LISTTEXT chosen file on TOP of MENU_off.png so all I see is a solid color, not my menu with colored buttons.

    If I then REALOADSKIN, it works as intended.

    No biggie, not used much, just something for the back burner and it may somehow be specific to my setup on my two machines.

    Rich

  9. #9
    Constant Bitrate
    Join Date
    May 2006
    Posts
    124
    Fixed my own situation, or at least have a workaround, in both cases.

    in the case of on-the-fly changing media.gif, I'd been runqw a bat file to do this, only works if I RELOADSKIN, BUT if I add $skinpath$ to the runqw line everything works fine.

    In the case of a LDIMG piped with a LOADIMG, it seems that the LOADIMG won't work because it doesn't remember the path? If I use two LDIMG piped together, and specify the path for each, it works fine.

    Both these quirks seem to be path related somehow...

  10. #10
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    I've added support for custom media/folder icons on a per-screen basis.. it will be available on the next release (prob. later tonight).
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

Similar Threads

  1. Indexing music in 1.0.9.8 Failed
    By hovalistic in forum StreetDeck
    Replies: 0
    Last Post: 07-07-2007, 12:19 PM
  2. Lane changing cams...
    By juve021 in forum General MP3Car Discussion
    Replies: 28
    Last Post: 03-22-2007, 06:26 PM
  3. Changing MT fluid....my self?
    By sdashiki in forum Off Topic
    Replies: 34
    Last Post: 04-27-2006, 04:10 PM
  4. Changing Opus delay shutdown on the fly
    By Pepe in forum Power Supplies
    Replies: 9
    Last Post: 05-12-2005, 11:07 PM
  5. Queueing music on the fly
    By Chairboy in forum Media Engine
    Replies: 6
    Last Post: 02-12-2005, 01:22 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
  •