Announcement

Collapse
No announcement yet.

XM and the STOP and PLAY commands

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

  • XM and the STOP and PLAY commands

    When I click STOP and XM is playing, it mutes the master volume and I must click MUTE to restart XM playing, PLAY does nothing

    If I am playing music, CD, DVD, or TV, PLAY and STOP work as documented.

    I have checked all my skins and the play and stop buttons call PLAY and STOP respectively.

    I have a XMD1000 and it works fine other than these commands.

    Any comments?

    Regards,
    Jim

  • #2
    If you use line in for your XM you could add this to your ExecTBL.ini file

    Code:
    "STOP","BYIND;LINEMUTE;MUTE;Line in<<",XM.skin
    "PLAY","BYIND;LINEMUTE;<<MUTE;Line in",XM.skin
    2001 S10 ZR2

    Chucks Skin - to old

    Comment


    • #3
      Chuck,

      I've got my XMD1000 plugged in via a serial-to-usb cable and in order to get it to work had to set XMLINE=5 which is AUX on my configuration.

      I don't use the LINEIN Plaugin.

      Does this mean anything relative to your sugestion/

      Regards,
      Jim

      Comment


      • #4
        For aux

        Make sure that the actual name in the Volume control panel is the same as in the code.

        Code:
        "STOP","BYIND;AUXMUTE;MUTE;Aux Volume<<",XM.skin
        "PLAY","BYIND;AUXMUTE;<<MUTE;Aux Volume",XM.skin
        MUTE;Aux Volume
        Attached Files
        2001 S10 ZR2

        Chucks Skin - to old

        Comment


        • #5
          Chuck,

          Just so I'm clear and don't chase phantoms due to my error, on my WinXP volume control panel, the aux line is named "Aux".

          How does that change what you suggested?

          I appreciate the help.

          I'm down to fixing little (some not so little) annoying problems.

          Regards,
          Jim

          Comment


          • #6
            this should work

            Code:
            "STOP","BYIND;AUXMUTE;MUTE;Aux<<",XM.skin
            "PLAY","BYIND;AUXMUTE;<<MUTE;Aux",XM.skin
            let me know
            2001 S10 ZR2

            Chucks Skin - to old

            Comment


            • #7
              Chuck,

              On the XM screen, the new PLAY and STOP work fine.

              However, on ANY other screen things gets very curious( Note that I have a STOP and PLAY button on all skins and they issue STOP and PLAY commands respectively). Any way here is what happens:

              1. Master volume gets muted (as shown on the XP Volume Control Panel (VCP and the XP volume slider gets displayed)

              2. If I uncheck it on the VCP, at exit from the VCP, it re-mutes.

              3. If I click PLAY, nothing happens.

              4. If I click MUTE, XM play resumes BUT on the current channel+3, i.e. if I was playing 113, play resumes on 116.

              I've had enough for today and at 46 years in the computer business I have no idea why I keep doing this stuff.

              I copied the ExecTbl.ini lines from your last post, am I missing some puncuation or have too much by chance???

              "STOP","BYIND;AUXMUTE;MUTE;Aux<<",XM.skin
              "PLAY","BYIND;AUXMUTE;<<MUTE;Aux",XM.skin

              Any way, thanks for the help so far.

              Regards,
              Jim

              Comment


              • #8
                Chuck,

                Hold on a minute, I may have introduced an error in ExecTbl.ini.

                I'll get back shortly.

                Regards,
                Jim

                Comment


                • #9
                  Chuck,

                  I was right in my previous reply, it really does what I wrote.

                  Regards,
                  Jim

                  Comment


                  • #10
                    Chuck,

                    I looked in debug.txt after I had started xm, switched to MAIN and did a STOP and PLAY.

                    In the trace i saw

                    ...Executing: STOP
                    ...Leaving: ...menu.skin, mastermute (I don't use this anyplace)

                    Later when I clicked PLAY:

                    ...Executing: PLAY
                    ...Leaving: ...menu.skin, scanmode (I don't use this any place either. In fact I have removed all scans.

                    This explains many of the symptoms, so now how ot fix it.

                    Could I do the following. Everyplace I use STOP and PLAY commands, could I simply use PAUSE and RESUME?

                    Regards,
                    Jim

                    Comment


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

                      Comment


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

                        Comment


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

                          Comment


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

                            Comment


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

                              Comment

                              Working...
                              X