![]() |
#1 |
Junior Member
Join Date: Jun 2006
Posts: 16
|
Multiple versions of WinAmp
How do I install multiple versions of WinAmp so that I can play different songs on different soundcards at the same time?
|
![]() |
![]() |
![]() |
#2 |
Foorum King
Join Date: Jul 2003
Location: bar2000
Posts: 11,457
|
In the installer select another directory, uncheck all the associate with... and select Shared setttings for all users.
Though you could also check Allow multiple instances in Preferences > General, but then you'd have to configure them on start up each time to use different sound devices. |
![]() |
![]() |
![]() |
#3 |
Techorator
Winamp & Shoutcast Team Join Date: Jun 2000
Posts: 35,894
|
There's another way...
As from Winamp 5.11, you can add commandline switches to change the ini file, ini folder and playlist folder that Winamp uses. Create new/separate shortcuts with any of the following commandline switches: "X:\Path\To\Winamp.exe" /CONFIG="winamp2.ini" Simply uses winamp2.ini as the config settings file instead of winamp.ini Note, you may need to manually copy & rename winamp.ini to achieve this. Also make sure of the following setting in all .ini files (to allow multiple instances): minst=1 __________________________________________________ "X:\Path\To\Winamp.exe" /CONFIG="winamp2.ini" /m3udir="X:\Path\To\Winamp\Winamp2" Same as above, but will also use/save the current playlist (winamp.m3u) to the specified subdir instead of the root Winamp dir. ____________________________________________________ "X:\Path\To\Winamp.exe" /inidir="X:\Path\To\Winamp\Winamp2" /m3udir="X:\Path\To\Winamp\Winamp2" This will make Winamp save ALL settings (winamp.ini, studio.xnf, winamp.m3u, and the entire media library database) to the specified subdir instead. Naturally, replace X:\Path\To with the actual path to Winamp. |
![]() |
![]() |
![]() |
#4 |
Junior Member
Join Date: Jun 2006
Posts: 16
|
Multiple versions
I have multiple versions installed on my computer. Each one points at a different sound card. This works fine when I start up each different version of WinAmp and play a song. But when starting different versions of WinAmp from a VB.NET program it seems that the same version is being used.
The same is true if I run them with the following RUN commands "C:\Program Files\Winamp1\winamp1.exe" "C:\Documents and Settings\Administrator.EASTSIDEGROUP\My Documents\My Music\Peace Frog.mp3" "C:\Program Files\Winamp2\winamp2.exe" /CONFIG="C:\Program Files\Winamp2\Winamp2.ini" "C:\Documents and Settings\Administrator.EASTSIDEGROUP\My Documents\My Music\The Needle and The Spoon.mp3" Are there any other arguments I need to specify ? Any ideas? |
![]() |
![]() |
![]() |
#5 |
Techorator
Winamp & Shoutcast Team Join Date: Jun 2000
Posts: 35,894
|
Like I said, make sure that minst=1 is in the [Winamp] section of all the relevant winamp.ini files (default value is: minst=0) otherwise 'enable multiple instances' won't work.
If the problem persists (ie. it works if you run the commands via any of a shortcut icon, start > run, or from the command prompt) then I can only assume that the problem lies somewhere in your vb.net program. |
![]() |
![]() |
![]() |
#6 |
Junior Member
Join Date: Jun 2006
Posts: 16
|
minst=1 is set in all the .ini files
runs properly when i start the music after starting winamp but not when i do it from the command prompt so it is not the vb.net there must be a way |
![]() |
![]() |
![]() |
#8 |
Junior Member
Join Date: Jun 2006
Posts: 16
|
You were able to get winamp to run using different souncards from the command line?
Could u please show me the exact commands u used? |
![]() |
![]() |
![]() |
#9 |
Techorator
Winamp & Shoutcast Team Join Date: Jun 2000
Posts: 35,894
|
Yes, assuming you're using 5.23, after changing the out_ds settings accordingly, said settings are then saved to the respective/specified winamp.ini, and that instance will always open with those settings (when using the correct/same command line switch).
|
![]() |
![]() |
![]() |
#10 |
Junior Member
Join Date: Jun 2006
Posts: 16
|
The version is 5.22
here are my commands 1) "C:\Program Files\Winamp1\winamp.exe" "C:\Documents and Settings\Administrator.EASTSIDEGROUP\My Documents\My Music\SandStorm.mp3" /CONFIG="C:\Program Files\Winamp1\winamp1.ini" 2) "C:\Program Files\Winamp2\winamp.exe" "C:\Documents and Settings\Administrator.EASTSIDEGROUP\My Documents\My Music\Johnny B Goode.mp3" /CONFIG="C:\Program Files\Winamp2\winamp2.ini" See anything wrong? |
![]() |
![]() |
![]() |
#11 |
Junior Member
Join Date: Jun 2006
Posts: 16
|
The version is 5.22
here are my commands 1) "C:\Program Files\Winamp1\winamp.exe" "C:\Documents and Settings\Administrator.EASTSIDEGROUP\My Documents\My Music\SandStorm.mp3" /CONFIG="C:\Program Files\Winamp1\winamp1.ini" 2) "C:\Program Files\Winamp2\winamp.exe" "C:\Documents and Settings\Administrator.EASTSIDEGROUP\My Documents\My Music\Johnny B Goode.mp3" /CONFIG="C:\Program Files\Winamp2\winamp2.ini" See anything wrong? |
![]() |
![]() |
![]() |
#12 |
Techorator
Winamp & Shoutcast Team Join Date: Jun 2000
Posts: 35,894
|
Hmm, well, you're actually using 2 completely different installs of Winamp there (as in gaekwad2's suggestion, not mine), so do you really even need to use the /CONFIG= switch? As it stands, both those instances would write to a different winamp.ini by default anyway.
But yeah, you're right, it doesn't seem to work when you also specify a file/playlist to play in the commandline (maybe benski will look into this problem later). Sorry about that, I guess I didn't initially understand what it was you were trying to do. Go for gaekwad2's suggestion instead, then there'll be no need to use any "/" switches in the commmandline, ie. just include the link to the actual file you want to play instead, eg. "C:\Program Files\Winamp1\winamp.exe" "C:\Documents and Settings\Administrator.EASTSIDEGROUP\My Documents\My Music\SandStorm.mp3" and make sure minst=1 is set in both Winamp1\winamp.ini and Winamp2\winamp.ini ps. upgrade to 5.23 |
![]() |
![]() |
![]() |
#13 |
Junior Member
Join Date: Jun 2006
Posts: 16
|
All the settings are proper. I know this because when I open WinAmp and play the songs (File>Play File>) everything works fine. It does not work when I use a command nor does it work when I locate the .mp3 file and do and Open With (and use winamp1 and winamp2).
|
![]() |
![]() |
![]() |
#14 |
Ben Allison
Former Winamp Developer Join Date: Jan 2005
Location: Brooklyn, NY
Posts: 1,057
|
I posted some simple instructions here: http://forums.winamp.com/showthread....50#post1953650
|
![]() |
![]() |
![]() |
#16 |
Junior Member
Join Date: Jun 2006
Posts: 16
|
Hate to be a royal pain in the ass but I tried the following two commands and still no success
"C:\Program Files\Winamp1\winamp1.exe" "C:\Documents and Settings\Administrator.EASTSIDEGROUP\My Documents\My Music\SandStorm.mp3" /CLASS="Winamp1" "C:\Program Files\Winamp2\winamp2.exe" "C:\Documents and Settings\Administrator.EASTSIDEGROUP\My Documents\My Music\Peace Frog.mp3" /CLASS="Winamp2" |
![]() |
![]() |
![]() |
#17 |
Techorator
Winamp & Shoutcast Team Join Date: Jun 2000
Posts: 35,894
|
According to benski's instructions, the /CLASS= switch comes before the path to the file to play, or did you also try that as well?
|
![]() |
![]() |
![]() |
#18 |
Junior Member
Join Date: Jun 2006
Posts: 16
|
Tried this same results:
"C:\Program Files\Winamp1\winamp1.exe" CLASS="Winamp1" "C:\Documents and Settings\Administrator.EASTSIDEGROUP\My Documents\My Music\SandStorm.mp3" "C:\Program Files\Winamp2\winamp2.exe" CLASS="Winamp2" "C:\Documents and Settings\Administrator.EASTSIDEGROUP\My Documents\My Music\Peace Frog.mp3" |
![]() |
![]() |
![]() |
#19 |
Junior Member
Join Date: Jun 2006
Posts: 16
|
Where can I find a list of all the available switches?
|
![]() |
![]() |
![]() |
#20 |
Junior Member
Join Date: Jun 2006
Posts: 16
|
If I do the following it starts up four different versions:
C:\WinAmps\WinAmp1\winamp1.exe C:\WinAmps\WinAmp2\winamp2.exe C:\WinAmps\WinAmp3\winamp3.exe C:\WinAmps\WinAmp4\winamp4.exe But if I specify a song it automatically goes to whichever .exe was started first. |
![]() |
![]() |
![]() |
#21 |
Techorator
Winamp & Shoutcast Team Join Date: Jun 2000
Posts: 35,894
|
maybe you also need to use the /INIDIR= switch as well, as in benski's instructions.
But I think all those "Winamp" /INIDIR="" /CLASS="" "file" type of 'multiple instance' commandlines are for using with the same install of winamp (ie. not multiple installs in different dir's). To be honest, I really aren't sure, heh. The full list has already been linked to you before: http://forums.winamp.com/showthread.php?threadid=180297 |
![]() |
![]() |
![]() |
#22 |
Junior Member
Join Date: Jun 2006
Posts: 16
|
Thats the whole list?
There must be a way to do this with commands. I am able to do what I need by opening everything the traditional way (File>Play File>etc...). The person I am developing this application for (in vb.net) absolutely wants to use WinAmp Pro so I am hoping that it is possible. |
![]() |
![]() |
![]() |
#23 | |
Ben Allison
Former Winamp Developer Join Date: Jan 2005
Location: Brooklyn, NY
Posts: 1,057
|
Quote:
|
|
![]() |
![]() |
![]() |
#24 |
Junior Member
Join Date: Jun 2006
Posts: 16
|
Did have the /CLASS, made a typo.
It seems that the problem was in the VB code. Made an amateur mistake (left out a double quote). After inserting the double quote everything works perfectly. Playing four different songs to four different sound cards. Thanks for your help |
![]() |
![]() |
![]() |
#25 | |
Junior Member
Join Date: Jun 2005
Posts: 3
|
Quote:
wich files exactly should be in the winamp2 folder? |
|
![]() |
![]() |
![]() |
#26 |
Forum King
Join Date: Feb 2004
Posts: 9,229
|
None: Winamp will create new config files automatically.
If you want to copy settings over from another install or something, see here: http://forums.winamp.com/showthread.php?threadid=158332 |
![]() |
![]() |
![]() |
#27 |
Junior Member
Join Date: Jun 2005
Posts: 3
|
thanks
|
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|