Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: XM and the STOP and PLAY commands

  1. #11
    FLAC Chuck's Avatar
    Join Date
    Sep 2003
    Location
    Ellicott City, MD
    Posts
    1,671
    I did not know you had a stop play button in all skins so that is anther whole world.

    You need to tell RR what player is running when you load each player something like this.

    This gets complicated

    Code:
    "AUDIO","LOAD;Audio_Player.skin||SETVAR;ACTIVEPLAYER;0"
    "XM","LOAD;Audio_Player.skin||SETVAR;ACTIVEPLAYER;1"
    "CD","LOAD;Audio_Player.skin||SETVAR;ACTIVEPLAYER;2"
    "TV","!PRESET;TOTV;WINAMP||!PRESET;TOTV2;WAVE||LOAD;TV.skin||SETVAR;ACTIVEPLAYER;3"
    
    
    "STOP","BYVAR;ACTIVEPLAYER;NEWSTOP<<AUXOFF<<NEWSTOP<<NEWSTOP"
    "PLAY","BYVAR;ACTIVEPLAYER;NEWPLAY<<AUXON<<NEWPLAY<<NEWPLAY"
    
    "NEWSTOP","STOP"
    "NEWPLAY","PLAY"
    
    "AUXOFF","BYIND;AUXMUTE;MUTE;Aux<<"
    "AUXON","BYIND;AUXMUTE;<<MUTE;Aux"
    
    
    "EXIT","PRESET;TOTV;WINAMP||PRESET;TOTV2;WAVE||NEWEXIT",TV.skin
    "NEWEXIT","EXIT"
    2001 S10 ZR2

    Chucks Skin - to old

  2. #12
    Variable Bitrate
    Join Date
    Nov 2006
    Posts
    265
    Chuck,

    Thanks.

    I actually tried an experiment.

    In ExecTbl.ini I placed the follolwing:

    "STOP","PAUSE"
    "PLAY',"RESUME"

    and it seems to do everything I need.

    But I still have the other two problems.

    1) TV still decreases/increases WAVE depending where WINAMP is set and after a brief look at in modROADRUNNER.bas I can't tell what is doing it.

    2) XM doesn't set STATUS. I haven't tried your aproach yet but will.

    I'll play with these a little and let you know what happens. Based on what I've done if you have any idea on these two let me know.

    BTW, can I set STATUS directly?

    Regards,
    Jim

  3. #13
    Variable Bitrate
    Join Date
    Nov 2006
    Posts
    265
    Chuck,

    I also found what was causing the magical xm channel changing.

    I'm using an IBM T30 laptop that has the "pencil eraser" mouse thing and as I haven't installed the Lilliput and touch screen I'm working directly with the laptop keyboard and track point.

    I looked at it's configuration and it was set such that pressure on it caused mouse clicks.

    I tend to get "overly enthusiastic" when things don' t work right and must have been pressing too hard and stacking up a bunch of mouse clicks so when the xm screen came back up and the mouse pointer happened to be on "UP" guess what happened.

    Needless to say, that configuration has been changed.

    Regards,
    Jim

  4. #14
    FLAC Chuck's Avatar
    Join Date
    Sep 2003
    Location
    Ellicott City, MD
    Posts
    1,671
    Code:
    /,#1 this will remember the wave setting when starting TV
    
    "TV","!PRESET;TOTV;WAVE||LOAD;TV.skin"
    
    /,this will set wave back on exit of TV
    
    "EXIT","NEWEXIT",TV.skin
    "NEWEXIT","EXIT||PRESET;TOTV;WAVE"
    
    
    
    /,#2
    
    "STOP","PAUSE||SETVAR;XMSTATUS;1"
    "PLAY',"RESUME||SETVAR;XMSTATUS;0"
    
    /,new status label for xm
    "BYVAR;XMSTATUS;=PLAY<<=STOP"
    2001 S10 ZR2

    Chucks Skin - to old

  5. #15
    Variable Bitrate
    Join Date
    Nov 2006
    Posts
    265
    Quote Originally Posted by Chuck View Post
    Code:
    /,#1 this will remember the wave setting when starting TV
    
    "TV","!PRESET;TOTV;WAVE||LOAD;TV.skin"
    
    /,this will set wave back on exit of TV
    
    "EXIT","NEWEXIT",TV.skin
    "NEWEXIT","EXIT||PRESET;TOTV;WAVE"
    
    
    
    /,#2
    
    "STOP","PAUSE||SETVAR;XMSTATUS;1"
    "PLAY',"RESUME||SETVAR;XMSTATUS;0"
    
    /,new status label for xm
    "BYVAR;XMSTATUS;=PLAY<<=STOP"
    Chuck,

    Thanks again.

    I believe I understand what these statements are doing and they have introduced me to some nuiances of the skin "language" that I was unaware of.

    An interesting thing is that what is in the post is different than what showed up in the subscription e-mail.

    On the "STOP" line, the email shows a ,XM" at the end of the line. Another good lesson, don't copy the code example from the subscription email, only from the original post.

    Again your help is much appreciated.

    Regards,
    Jim

  6. #16
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    You can just do this:

    "STOP","MASTERMUTE",xm
    "PLAY","MASTERMUTE",xm

    should make both STOP and PLAY work as mute/unmute when XM is on.
    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. #17
    FLAC Chuck's Avatar
    Join Date
    Sep 2003
    Location
    Ellicott City, MD
    Posts
    1,671
    He has stop and play in all of his skins
    2001 S10 ZR2

    Chucks Skin - to old

Page 2 of 2 FirstFirst 12

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
  •