Announcement

Collapse
No announcement yet.

Time Restore & Autoplay plugin (v2.5.4 06/10/2013)

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

  • Time Restore & Autoplay plugin (v2.5.4 06/10/2013)

    Is it possible to make a DOS command that will launch winamp and start playing as soon as winamp opens? I am trying to set up a shortcut button on my keyboard to do this, but the only way I can make it work is to use a DOS command line string. I'm using 2.91.

    Thanks

  • #2
    you should just be able to call winamp directly from the commandline ie c:\program files\winamp\winamp.exe would run it.

    i think there is a /play switch (don't hold me to it though) which would work for autoplaying (or look at the general purpose plugins to get that working).

    then just put the commandline into a batch file and then with the keyobard assign the batch file eg 'play.bat' as the bit needed.

    hope that may help

    -daz
    WACUP Project <‖> "Winamp Ramblings" - Indie Winamp Dev Blog

    Comment


    • #3
      I tried the "/play" switch, but all it did was try to open a file called play. I will check the general plugin to see if ther eis an auto play plugin.

      Thanks

      Comment


      • #4
        I used the Eggware Autoplay V1.1 plugin, and it works great. Thanks for the headsup.

        Comment


        • #5
          that's alright - i used to use that one too before i wrote my own to allow the playing position to be 'remembered between' closes - just couldn't remember it's name.

          was just going to say that i checked this and it lists the /add switch.

          from playing around a while back if winamp isn't already open then i think the following would work
          c:\program files\winamp\winamp.exe /add "c:\program files\winamp\winamp.m3u"

          basically it is reloading the playlist winamp makes of what was in the playlist editor on close.

          oh yeah you need the "'s otherwise dos will not recognise the long name (or just go for say c:\progra~1\winamp\winamp.m3u without the quotes)

          glad to help anyway

          -daz
          WACUP Project <‖> "Winamp Ramblings" - Indie Winamp Dev Blog

          Comment


          • #6
            the add thing is kind of useless cause that just adds the winamp.m3u to itself again and doesn't play anything. Just think I should clarify that.

            What worked for me was the following:

            c:\progra~1\winamp\winamp.exe "c:\program files\winamp\winamp.m3u"

            I don't know why it does but it does.
            Work in Progress

            K-Jofol will never die as long as I don't lose or damage the backup!

            Comment


            • #7
              should try things out before i suggest them

              yeah that makes sense, is just how double clicking a files works (me slaps wrist for forgetting it )

              -daz
              WACUP Project <‖> "Winamp Ramblings" - Indie Winamp Dev Blog

              Comment


              • #8
                Ya well its wierd cause you would think that would just load winamp with that file but for some reason it plays it. That is why confused but I guess winamp has some auto play just when given a file.
                Work in Progress

                K-Jofol will never die as long as I don't lose or damage the backup!

                Comment


                • #9
                  Originally posted by DrO
                  that's alright - i used to use that one too before i wrote my own to allow the playing position to be 'remembered between' closes - just couldn't remember it's name.
                  Do you mean you wrote one that remembers the position in the song that was playing? Or that it just remembers what song it was on? If you have a plugin that rembers the track position, I'd be interested in that.

                  Comment


                  • #10
                    I think they're implementing the "remember track position" feature into future Winamp versions (check the wishlist), so just wait a bit for the next version to come out, and you'll have it.

                    Comment


                    • #11
                      Gracias

                      Comment


                      • #12
                        http://forums.winamp.com/showthread.php?threadid=38085

                        Playlist | Twitter | Albums

                        Comment


                        • #13
                          Originally posted by Electron2002
                          Do you mean you wrote one that remembers the position in the song that was playing? Or that it just remembers what song it was on? If you have a plugin that rembers the track position, I'd be interested in that.
                          it will remember the song position and a few other bits (like if it was paused on closing) - i know there are others out there but i wanted it simple and to the point

                          will try and post it when i can (not near my machine at the moment)

                          -daz
                          WACUP Project <‖> "Winamp Ramblings" - Indie Winamp Dev Blog

                          Comment


                          • #14
                            Nullsoft fixed a bug in the Shuffle playlist code. So now it remebered the last song played. But not the position. Anyway
                            visit http://www.link-removed.net and get Winamp Version 5 Alpha (it is an alpha version so be warned!).

                            [Link Removed: Links to the leaked alpha are not permited --Sawg]

                            Comment


                            • #15
                              Originally posted by Helkite
                              I think they're implementing the "remember track position" feature into future Winamp versions (check the wishlist), so just wait a bit for the next version to come out, and you'll have it.
                              hadn't realised that

                              attached is what i came up with to restore the playing position between closes of winamp - think of it as an extension to the eggware autoplay plugin idea.

                              only real thing left is a little issue with the close of winamp and if the playlist has been modified (not fixed since i haven't needed to for my use + a lack of time once i'd got it to a decent state)

                              in testing it mimicks what winamp does so if you're running 2.91 (i think it is the one with the shuffle problem) then this will still show. the aim was for the operation to effectively be transparent to what normally happens.

                              comments, etc (asking for it there ) are welcome

                              - daz
                              Attached Files
                              WACUP Project <‖> "Winamp Ramblings" - Indie Winamp Dev Blog

                              Comment

                              Working...
                              X
                              😀
                              🥰
                              🤢
                              😎
                              😡
                              👍
                              👎