Announcement

Collapse
No announcement yet.

Winamp Ms Dos arguments

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

  • Winamp Ms Dos arguments

    Hi All.
    I 'd like to know if it were possible to send commands to winamp thru a Ms Dos command line (or a "Wdos - R" dialog). I would also like to know how could i do this.

    Thx 4 ur answers.

  • #2
    Winamp Application Programming Interface, includes command line switches.

    There is also /BOOKMARK
    Places file in Winamp's bookmarks

    example
    C:\Program Files\Winamp\Winamp.exe /BOOKMARK C:\Media Files\Cool Sound.WAV
    __________________________________________________________


    Or, you may want to try a command line app/"plug-in"...
    WACommand (DrO's update)
    -or-
    CLEveR
    -or-
    CLAmp

    [edit 02 July 05 > JonnyMac]added CLAmp link [/edit]
    Please do not PM me for tech support. Any request for tech support through PM will be ignored.
    Read the Stickies
    ---> | | | | <--- Knowledge is power

    Comment


    • #3
      Or, you may want to try a command line plug-in...
      WACommand
      -or-
      CLEveR
      -or-
      CLAmp

      I tried all 3 of these and found huge flaws in all of them.

      WACommand worked the best, but its missing the ability to load files/playlists. A shame really since the program works flawlessly.

      CLEveR is poorly designed from the get-go. You MUST have winamp loaded before using command line. Why couldn't the author make the program call the winamp.exe on option execution is beyond me.

      CLAmp is loaded in features, but has the winamp install path hard coded. So if you've installed winamp into any other folder but default, you get the "can't start winamp" error when program is executed.

      Can someone out there point me to a command driven plugin which allows for playlist/file loading but doesn't have the winamp path hardcoded?

      Comment


      • #4
        As far as the inability to start winamp from CLEveR, it's really easy to fix with a script, even a simple batch file can do it, just start winamp and then CLEveR from your script...

        I am not really sure about CLAmp, but I wonder if the static location of winamp can be faked through use of shortcuts... basically, if you made a shortcut to winamp.exe and called it winamp.exe, and shoved it into the folder where CLAmp wants it... maybe make shortcuts for anything else that it expects. This is just a guess though, and might not work.

        Comment


        • #5
          you said WACommand worked the best well... you just need to find someone who can code who'll add that feature in for you seeing as the source code is available and in all honesty it's a simple addition to add in a /loadfile option

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

          Comment


          • #6
            Originally posted by DrO
            you said WACommand worked the best well... you just need to find someone who can code who'll add that feature in for you seeing as the source code is available and in all honesty it's a simple addition to add in a /loadfile option

            -daz
            Great idea Dr.O! Might you know of a resource that contains other winamp options including the /loadfile one?

            Comment


            • #7
              WACommand v2.3.0.0
              • Added /load <file or playlist> option
              • Added /clear option
              • Tweaked compiler options to cut the exe size to 7k
              • Repackaged the source and files into a full installer
              cyfrus: the 'resource' is known as the Winamp sdk anyway this should do what you need

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

              Comment


              • #8
                Thank you Dr.O for going out of your way and programming that in for me. Though I must say this is proving more difficult then I had originally anticipated.

                It seems that while Winamp is loading, it will not parse any commands, so the configuration below will not work.

                play.bat
                wacommand /start
                <needs to be a delay here, batches don't have delays, least I don't know of any>
                wacommand /clear
                wacommand /load test.m3u
                wacommand /play


                How does anyone get any of these Command Prompt plugins to work through batch files? Any help would be appriciated as all I want to do is the following...

                Load up Winamp
                Clear Current Play List
                Load Playlist
                Play
                ...all by running 1 batch file (though I don't care how many batches that 1 batch has to call)

                Comment


                • #9
                  ah... is the playlist you're trying to load always going to be the same? if so then you'd really want to look at this and the option to specify a file/playlist to be loaded

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

                  Comment


                  • #10
                    I tried the plugin above, and though it has the feature I want, it doesn't give me any flexibility. Everytime I load up winamp, it will start w/ that playlist file. Hence my interest in command driven winamp and batch files, which would allow me to set various parameters for different batches without affecting my original winamp launch shortcut and settings. This way I could have WinampRock.bat, WinampMix.bat with certain options and playlist file.

                    Comment


                    • #11
                      the only other way i can think of is if using the plugin it's set to a given name but with the bat files you create, you can have a copy command in place to copy the given playlist you want to play to the one defined with the plugin. but that would hinder things for normal use possibly.

                      i'm having a thought of seeing if the /start could be altered/expanded on to only return once winamp has started (which would fix the delay issue that you need). i'm trying to finish an initial release for another project that's been on the back burner for a while so i'll have a look at the /start alteration possibly tomorrow

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

                      Comment


                      • #12
                        Judging from your plugin expertise, if there's anyone that could make this work it'd be you. Thank you Dr.O and good luck!

                        Comment


                        • #13
                          i found these batch delays

                          Comment


                          • #14
                            Originally posted by billyvnilly
                            i found these batch delays
                            What a TERRIFIC find!!! With Dr.O's updated WACommand.exe and the link I was able to get it going just like I had originally planned. Thank you both for all the speedy support.

                            Here's the batch in case someone's looking to do the same one day...

                            WAall.bat
                            @ECHO OFF
                            wacommand /start
                            ping 1.1.1.1 -n 1 -w 500

                            wacommand /clear
                            wacommand /random=1
                            wacommand /repeat=1

                            wacommand /load WAall.m3u
                            wacommand /next
                            wacommand /play


                            This will start Winamp, toss in a long enough delay so commands will be parsed, clear the playlist, set random and repeat to on, load the m3u file, change the song (so your not always stuck listneing to the first track) and play.

                            Also helps when you change the properites of the bat to "run minimized" so that you don't see the box pop up.

                            Case closed

                            Comment


                            • #15
                              cool

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

                              Comment

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