Announcement

Collapse
No announcement yet.

RR does not intercept shutdown - Resume not working

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

  • RR does not intercept shutdown - Resume not working

    I'm having an issue with the Resume function in Road Runner. If I exit the application though RR or shut down through Road Runner, it will save to the resume.ini file. However, if I shut down using the power button the resume function does not work.

    This was not an issue in the past, when I set my CarPC to hibernate every time I shut off my car. I recently switched to a EWF HORM setup for my CarPC, but this issue can also be replicated on my regular PC.

    It seems like RR does not intercept the command to shut down, and execute the exit command. As a result, no changes are written to the resume.ini file. Looking at the debug log confirms this.

    Any workarounds? or ideas? I was able to replicate this issue on multiple computers.

  • #2
    I've got the same issue. I don't use Hibernate, but I've noticed when I'm playing music and I shut down using the power button inside RR, it doesn't save my spot where I've been playing music and when I start up RR again, its all the way back where I was first playing my music last time - it's a bit annoying I must say as I always play the same song every time I start RR.

    And like you said, if I shut down RR and exit it completely, it does save the resume spot correctly.

    I'm using the latest Oct (11?) 2008 build of RR.

    Comment


    • #3
      I was using an older build of RR before this one (pretty old). It too did not resume after restarting/shutting down with the power button. I'm unable to verify if this functionality ever existed.

      I do notice in the logs that there was no "shutdown" logged in the debug log, when using the power button. It's logged when using the exit command though.

      Comment


      • #4
        Just to clairfy, the Road Runner directory is not on the EWF protected drive.

        Comment


        • #5
          This had to do with Windows forcing RR and winamp down. The programs aren't shutting down properly and hence aren't saving the resume.ini file. There are windows registry settings that can be changed to lengthen the time it takes windows to force programs to close.

          Comment


          • #6
            I've changed these values already, with no effect. I've also verified that it is not setup to force terminate hung applications.

            I've also verified that this resume issue occurs on multiple PCs.

            Comment


            • #7
              That's good to know, I've resisted making those registry changes on my own set up because it shuts down quickly as is.

              There was another thread about this a while back and there was no resolution. Maybe this is something Mitch can look at.

              Comment


              • #8
                EWF can be a real problem sometimes. I can only assume that when you ask the system to shutdown windows is not requesting the applications to close down properly knowing that it will simply "resume" to a previously state anyway (so why would it bother to close anything properly?). Without proper notification and time to save the resume file, there's not much we can do (by code) to save this data, however, there's a "SAVERESUME" command you can use for saving resume.ini at request (before turning it off).
                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


                • #9
                  So now I have a different issue. RoadRunner is now interpreting the shutdown sequence (I'm not sure how it started working). However, when it saves the resume.ini file, the very first line has "-1". The time index and all other settings are saved properly. Any ideas? Because of the "-1", the songs are not playing at startup.

                  Comment


                  • #10
                    I forgot to mention, that if I exit the program through Road Runner (not using the power button), the playlist index and track index are saved properly.

                    Comment


                    • #11
                      bikeboy24, is the playlist file allowed to write?

                      winamp.m3u

                      in the winamp dir

                      a -1, is being written, if winamp cant supply the playlist position

                      the problem your having is prob unique to ur setup... so you will prob end up
                      solving it yourself
                      its prob a HORM issue
                      and i have NEVER seen a EWF/HORM setup
                      good luck!
                      -Thanks
                      Mitch
                      www.rush2112.net

                      "Did you test it in carwings??"

                      Sun, Come shine my way
                      May healing waters bury all my pain
                      Wind, Carry me home
                      The fabric of reality is tearing apart
                      The piece of me that died
                      Will return To live again

                      Comment


                      • #12
                        Yes, winamp is in the unprotected drive. I've also installed 2.95 so that it does not save the winamp.m3u file in the protected drive.

                        I can turn off HORM and EWF, and I'd still have the same issue with shutting down and resuming.

                        Comment


                        • #13
                          so, add some songs to playlist
                          and look at the contents of winamp.m3u
                          then go into another source, like sat, or radio
                          then back to menu, then exit program
                          look at the resume.ini
                          -Thanks
                          Mitch
                          www.rush2112.net

                          "Did you test it in carwings??"

                          Sun, Come shine my way
                          May healing waters bury all my pain
                          Wind, Carry me home
                          The fabric of reality is tearing apart
                          The piece of me that died
                          Will return To live again

                          Comment


                          • #14
                            Originally posted by guino View Post
                            however, there's a "SAVERESUME" command you can use for saving resume.ini at request (before turning it off).
                            The trick with this is how do you script this to run automatically when the shutdown command it sent via the power button. I'm not aware of a way to get windows to run a script or command prior to shutdown.

                            Comment


                            • #15
                              I have an idea that I'm going to explore. I think it's possible to use hibernate trigger to intercept the shutdown processes and run a script to properly close RR and then shut the computer down.

                              I'll report back once I'd had a chance to play with it.

                              Comment

                              Working...
                              X