Okay, I'm really diving into the plugin now, so let's see what it can do.
I've got two instances of winamp locally and one remote. They are as set up as follows:
1. named Inst0. Running remotely with the server port setup and the remote plugin installed. Operating correctly
2. named Bedroom. Running locally out of directory /program files/winamp/ with the icon that the plugin made on the desktop. The audio is being piped through an RCA Lyra Wireless Transmitter on channel 3.
3. named Bathroom. Running locally out of directory /program files/winamp2/ with the icon that the plugin made on the desktop. The audio is being piped through the line out from the motherboards soundcard.
I can play all of the winamps through direct control, so I know they are working. Here are my problems/questions:
I had to set up 2 winamp directories to get 2 audio zones working because the settings from one winamp kept overwriting the other instance on restart. Is there another way around this? It may be causing my problems.
I can control the remote winamp through scripting without a problem. I can't control either of the other two instances, no matter what they're named. Does the integer that determines the instance in the script simply reference the alphabetical order of the instance, or is it the order in which they were created. Either way, I've tried every number 0-3 and then some and nothing causes a response on the 2 local instances. Using the web interface I can control the bedroom instance, which is the one running out of the /winamp directory. I can connect to the second local instance, but the controls cause changes on the first.
Here's my ini:
[hspi_seeramp]
gEnabled=1
gShowMenu=1
gFirstRun=0
gInstances=Bathroom,Bedroom,Inst0
gPath=C:\Program Files\Winamp\
[Inst0]
gClass=SeerAMP_mInst0
gHost=supervcr
gLocal=0
gName=Inst0
gPause=1
gPlaylistDir=C:\playlists\
gPort=9321
[Bathroom]
gClass=Winamp v1.x
gHost=localhost
gLocal=1
gName=Bathroom
gPause=1
gPlaylistDir=C:\playlists\
gPort=9320
[Bedroom]
gClass=Winamp v1.x
gHost=localhost
gLocal=1
gName=Bedroom
gPause=1
gPlaylistDir=C:\playlists\
gPort=9320
This is a patch from the asp code that calls up radio playlists when a flash button is pressed:
If action = "thecurrent" Then
SeerAMP.WAStop(1)
SeerAMP.ClearPlaylist(1)
hs.WaitEvents
SeerAMP.AddFile 1, "thecurrent.m3u"
hs.WaitSecs(1)
SeerAMP.Play(1)
hs.writelog "LCARS","Playing the Current on instance 1"
End If
If I understand correctly, this should be referencing the bedroom instance of winamp.
Got any ideas?
I've got two instances of winamp locally and one remote. They are as set up as follows:
1. named Inst0. Running remotely with the server port setup and the remote plugin installed. Operating correctly
2. named Bedroom. Running locally out of directory /program files/winamp/ with the icon that the plugin made on the desktop. The audio is being piped through an RCA Lyra Wireless Transmitter on channel 3.
3. named Bathroom. Running locally out of directory /program files/winamp2/ with the icon that the plugin made on the desktop. The audio is being piped through the line out from the motherboards soundcard.
I can play all of the winamps through direct control, so I know they are working. Here are my problems/questions:
I had to set up 2 winamp directories to get 2 audio zones working because the settings from one winamp kept overwriting the other instance on restart. Is there another way around this? It may be causing my problems.
I can control the remote winamp through scripting without a problem. I can't control either of the other two instances, no matter what they're named. Does the integer that determines the instance in the script simply reference the alphabetical order of the instance, or is it the order in which they were created. Either way, I've tried every number 0-3 and then some and nothing causes a response on the 2 local instances. Using the web interface I can control the bedroom instance, which is the one running out of the /winamp directory. I can connect to the second local instance, but the controls cause changes on the first.
Here's my ini:
[hspi_seeramp]
gEnabled=1
gShowMenu=1
gFirstRun=0
gInstances=Bathroom,Bedroom,Inst0
gPath=C:\Program Files\Winamp\
[Inst0]
gClass=SeerAMP_mInst0
gHost=supervcr
gLocal=0
gName=Inst0
gPause=1
gPlaylistDir=C:\playlists\
gPort=9321
[Bathroom]
gClass=Winamp v1.x
gHost=localhost
gLocal=1
gName=Bathroom
gPause=1
gPlaylistDir=C:\playlists\
gPort=9320
[Bedroom]
gClass=Winamp v1.x
gHost=localhost
gLocal=1
gName=Bedroom
gPause=1
gPlaylistDir=C:\playlists\
gPort=9320
This is a patch from the asp code that calls up radio playlists when a flash button is pressed:
If action = "thecurrent" Then
SeerAMP.WAStop(1)
SeerAMP.ClearPlaylist(1)
hs.WaitEvents
SeerAMP.AddFile 1, "thecurrent.m3u"
hs.WaitSecs(1)
SeerAMP.Play(1)
hs.writelog "LCARS","Playing the Current on instance 1"
End If
If I understand correctly, this should be referencing the bedroom instance of winamp.
Got any ideas?
Comment