I'm using SeerAmp, which uses Winamp, and i'm trying to get some info pushed over to MainLobby.
With seeramp i can get the "current song title" as text, but because of the way i set up my MP3 collection, the songs titles come out as:
Cat Stevens - Peace Train
as an example. it's always in the format: Artist - Song Title
here is my script:
Sub Main()
Dim SeerAMP
' Current Song
OldValue = hs.DeviceString("s1")
Value = hs.plugin("SeerAmp").SongName(0)
hs.SetDeviceString "s1",Value,TRUE
End Sub
how do i break that string up into "Title" and "Artist" to variables s1 and s2 ?
Thanks,
steve
With seeramp i can get the "current song title" as text, but because of the way i set up my MP3 collection, the songs titles come out as:
Cat Stevens - Peace Train
as an example. it's always in the format: Artist - Song Title
here is my script:
Sub Main()
Dim SeerAMP
' Current Song
OldValue = hs.DeviceString("s1")
Value = hs.plugin("SeerAmp").SongName(0)
hs.SetDeviceString "s1",Value,TRUE
End Sub
how do i break that string up into "Title" and "Artist" to variables s1 and s2 ?
Thanks,
steve
Comment