Results 1 to 6 of 6

Thread: How to Turn Music off when Skin switch

  1. #1
    Constant Bitrate
    Join Date
    Feb 2006
    Posts
    154

    How to Turn Music off when Skin switch

    Hi All,

    I've created a skin to run my external application.
    However, can you help me how to turn off music when skin change?
    For instance, when music.skin change to video.skin, the music will automatically off, and let the audio of movie play.
    Thanks in advance!

  2. #2
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    This is in part how RR is coded, certain screen trigger different things, try the supplied cmds below.

    Code:
    // for when entering your screen, use this cmd line as the entering button code to your app screen
    // you can change the load cmd to either end, depending on if you want the music paused before or after the going into the screen
    
    "LOAD;xxx.skin||SETVARBYCODE;MYVAR;STATUS||EVAL;RESULT;strcomp("$MYVAR$";"play")||BYVAR;RESULT;<<PAUSE"
    
    
    // for when leaving your screen, use this cmd line as the exit button code.
    // change the first cmd to suit your needs ESC,EXIT,CLOSE,ect....
    
    "ESC||SETVARBYCODE;MYVAR;STATUS||EVAL;RESULT;strcomp("$MYVAR$";"pause")||BYVAR;RESULT;<<PLAY"
    RideRunner...The #1 FE, PERIOD.

    Current Project: DFXVoice [v1.0 Released]
    Next in line: RRMedia v2.0

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

    "There are no bugs - only undocumented features."

  3. #3
    Constant Bitrate
    Join Date
    Feb 2006
    Posts
    154
    Hi Blue ZX3

    Thanks for the quick reply!
    However, I am a idiot on coding.
    Could you kindly tell me where should I embed those codes to?
    My current button command is

    "LOAD;Foobar.SKIN;Foobar Player;C:\Program Files\foobar2000\foobar2000.exe;Foobar"

    Many thanks!

  4. #4
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,589
    a simple way would be to just add ||pause after the last foobar.


    and have a play||exit as the exit command.

  5. #5
    Constant Bitrate
    Join Date
    Feb 2006
    Posts
    154
    Hi Enforcer

    Thanks a lot! It works!

  6. #6
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    RideRunner...The #1 FE, PERIOD.

    Current Project: DFXVoice [v1.0 Released]
    Next in line: RRMedia v2.0

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

    "There are no bugs - only undocumented features."

Similar Threads

  1. Losing playlist on switch from radio to music
    By nitefallz in forum Road Runner
    Replies: 6
    Last Post: 09-13-2008, 12:30 PM
  2. Replies: 65
    Last Post: 07-23-2008, 02:03 AM
  3. problems with navigation in streetdeck
    By customaudioman in forum StreetDeck
    Replies: 3
    Last Post: 01-25-2008, 12:46 PM
  4. GPS:MM shutdown RR when switch skin
    By MatrixPC in forum RR Bug Tracker
    Replies: 5
    Last Post: 05-12-2005, 11:07 AM
  5. Capture GPS data at the flip of a switch
    By Mr. Inquisitive in forum GPS
    Replies: 4
    Last Post: 02-02-2005, 06:06 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
  •