Announcement

Collapse
No announcement yet.

RESUME and SAVERESUME commands

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

  • RESUME and SAVERESUME commands

    I've been reading through the RR command list, and I see the SAVERESUME and RESUME commands. I am curious and interested. Other than in the rr config how, if possible, would these commands be implemented in a skin? and are there any examples?
    ATTENTION FELLOW CAR PC ENTHUSIASTS, POWER ACOUSTIC = CAR PC KRYPTONITE!!!! AVOID AT ALL COSTS!!!!

    To my adoring fans, No my Toyota's gas pedal didn't get stuck! Instead I saw you crossing the street and decided to floor it! Unfortunately, I MISSED!!!

  • #2
    Originally posted by toyotatyrant View Post
    I've been reading through the RR command list, and I see the SAVERESUME and RESUME commands. I am curious and interested. Other than in the rr config how, if possible, would these commands be implemented in a skin? and are there any examples?
    RESUME is NOT related to SAVERESUME -- all RESUME does is resume playback state of a paused song (as opposed to alternating the play/pause state as the PLAY command does by default).

    While you should never really need to use it with standard features, there are numerous uses for SAVERESUME. For instance if you create a screen which you want no music/radio playing (cause you'll have something with sound in it), then you can call SAVERESUME, close the player and before you leave the screen you can re-open the player and RR will likely resume whatever was playing when you actually leave the screen. This is one situation, but could be more useful for extension plugins and I have even seen people saving the resume info so they can read status from RR from some other application..
    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."

    Comment


    • #3
      Originally posted by guino View Post
      RESUME is NOT related to SAVERESUME -- all RESUME does is resume playback state of a paused song (as opposed to alternating the play/pause state as the PLAY command does by default).

      While you should never really need to use it with standard features, there are numerous uses for SAVERESUME. For instance if you create a screen which you want no music/radio playing (cause you'll have something with sound in it), then you can call SAVERESUME, close the player and before you leave the screen you can re-open the player and RR will likely resume whatever was playing when you actually leave the screen. This is one situation, but could be more useful for extension plugins and I have even seen people saving the resume info so they can read status from RR from some other application..
      The use of this function kind of flew over my head in the begining, but based on your reply, I have been experimenting with the saveresume command and have found a few sneaky uses for it. Thanks for the insight.
      ATTENTION FELLOW CAR PC ENTHUSIASTS, POWER ACOUSTIC = CAR PC KRYPTONITE!!!! AVOID AT ALL COSTS!!!!

      To my adoring fans, No my Toyota's gas pedal didn't get stuck! Instead I saw you crossing the street and decided to floor it! Unfortunately, I MISSED!!!

      Comment


      • #4
        Originally posted by guino View Post
        For instance if you create a screen which you want no music/radio playing (cause you'll have something with sound in it), then you can call SAVERESUME, close the player and before you leave the screen you can re-open the player and RR will likely resume whatever was playing when you actually leave the screen. This is one situation, but could be more useful for extension plugins and I have even seen people saving the resume info so they can read status from RR from some other application..
        I am also interested in this, but can not seem to figure it out.

        For instance, I have a CNN new feed that I want to stop mp3 playback for when I go to that screen. How do I then resume the audio when I leave that screen? What is the command to start the MP3 audio again? Does this also restore the playlist?
        Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

        My Fiero Build Thread

        Comment


        • #5
          If you have a screen where you want the audio to stop on it, the easiest thing is to use "PAUSE" before the "LOAD" command to the screen, and "RESUME" before exiting the screen. If you use the same player (i.e. winamp) in that screen, then you can use SAVERESUME/SAVELIST (to a temp file), rename the resume.ini file to something else, stop playback, load your screen (and whatever you want in the player), then right before using the "EXIT" command, use LOADLIST (to your temp file) and restore your resume.ini file (rename it back).. then when EXIT runs, you *should* get the same effect you get when leaving the video player back to the main menu.. but if you really want to go at it, you should probably not save/load the playlist by checking if you're not in audio mode.

          Still, if you need something specific in this subject, just let me know and I can probably work on something for you.
          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."

          Comment


          • #6
            Actually, that is exactly how I have been handling it, with that exact "workaround". Just when I saw mention of the saveresume command, I thought there was a better way now incorporated in RR

            Something like a SavePosition(Would pause/stop, save the playlist, position in list, and position of song), RestorePosition (Return to the saved state).

            I have had to do some of it with AutoIt ect.... But now that I am thinking, I could probably toss together a extension dll to handle all this, now that RR keeps track of what the audio source is.....

            This would be handy for any time that you use WA in the skin to play something, then would like to return to where you were. Such as playing a pod cast segment, net radio station ect ect....
            Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

            My Fiero Build Thread

            Comment


            • #7
              its been awhile since i looked at the RRSHoutcast source but i'm managing audio playlist and shoutcast playback within that plugin source. Should you go the extension plugin route i could share the code john.
              mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
              Follow Me on Twitter or Facebook
              Live mp3Car Facebook Chat

              Comment


              • #8
                Originally posted by JohnWPB View Post
                Something like a SavePosition(Would pause/stop, save the playlist, position in list, and position of song), RestorePosition (Return to the saved state).
                now i'm intrested , but i think something like you say john , but allow for a user path ,

                ie saveposition;$RRpath$NAME.m3u, of course the same for RestorePosition

                maybe this could be a Blue to the rescue here , if not in rr itsself.
                Riderunner / Genesis
                Plugin Breaker in test BassRR Plugin Player, Wifiman_NET
                New Home for Genesis & BassRR :adding to site ,, Hellfyre night
                Bassrr Beta Release :Version 1.3.7
                Movie_info Release :Version 3.1.0
                Wifiman_NET:Version 1.0.0

                Every Future, Needs A Beginning

                Comment


                • #9
                  HAHAHA...

                  Before I even got to reading the post above, I was wondering if someone was gonna mention such a feature, instead of all that extra non-sence RR code. Two simple cmds, one to save all the current player info to a file which the user specifies the path, or would default to the current skin's path, and the other to just read back in that file and get the ball rolling once again...

                  Sorta a toss up between RRExtended and RR... I would lean more towards RR b/c that is something that the skinning engine should provide cmd wise..
                  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."

                  Comment


                  • #10
                    makes sense this "SAVERESUME" command, then do what ever you want, then use "RESUME" and your back in the game, i have to do some internal code in some plugins, but this 2 commands can be very handy.
                    BASSRR ==> [Audio Player/MusicDB/Cd Player/Ripper/Rate/Internet Radio/Audio Capture/Youtube Video]
                    RRTube ==> [View/Download Youtube Videos]
                    WifiMan ==> [Wifi Manager]
                    RRec ==> [Audio Capture]

                    If You Want To Be Given Everything, Give Everything Up ...
                    Bird York -- In The Deep --

                    Comment


                    • #11
                      I have autoit code here to do this already, and will be quite easy to convert to VB. I will give it a go tonight and start to put something together. I will also add the ability to ramp the volume down then up when resuming and restoring it. (As an option of course).

                      Oh, and I agree, this is one of those things that should be in RR itself. I can understand larger projects being made into plugins, but having a plugin to save a current song position and resume is a bit much, and as mentioned is really is a part of the skinning engine commands.
                      Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

                      My Fiero Build Thread

                      Comment


                      • #12
                        I have this working allready with a combination of "saveresume", a few other rr commands, and the "file copy" feature from RR Extended.
                        ATTENTION FELLOW CAR PC ENTHUSIASTS, POWER ACOUSTIC = CAR PC KRYPTONITE!!!! AVOID AT ALL COSTS!!!!

                        To my adoring fans, No my Toyota's gas pedal didn't get stuck! Instead I saw you crossing the street and decided to floor it! Unfortunately, I MISSED!!!

                        Comment


                        • #13
                          Originally posted by JohnWPB View Post
                          I have autoit code here to do this already, and will be quite easy to convert to VB. I will give it a go tonight and start to put something together. I will also add the ability to ramp the volume down then up when resuming and restoring it. (As an option of course).

                          Oh, and I agree, this is one of those things that should be in RR itself. I can understand larger projects being made into plugins, but having a plugin to save a current song position and resume is a bit much, and as mentioned is really is a part of the skinning engine commands.
                          i have done this in AI since a long time, and now i use some simple code in TagEditorEx, what i was thinking is to add this commands in RR itself, no offense but, i don't see the point in using an Extention plugin to do something so simple.
                          BASSRR ==> [Audio Player/MusicDB/Cd Player/Ripper/Rate/Internet Radio/Audio Capture/Youtube Video]
                          RRTube ==> [View/Download Youtube Videos]
                          WifiMan ==> [Wifi Manager]
                          RRec ==> [Audio Capture]

                          If You Want To Be Given Everything, Give Everything Up ...
                          Bird York -- In The Deep --

                          Comment


                          • #14
                            Originally posted by EL CAMINO View Post
                            i have done this in AI since a long time, and now i use some simple code in TagEditorEx, what i was thinking is to add this commands in RR itself, no offense but, i don't see the point in using an Extention plugin to do something so simple.
                            No offense take at all, as that is exactly what I said
                            Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

                            My Fiero Build Thread

                            Comment

                            Working...
                            X