Controlling Winamp

General HouseBot discussion. Any issues that don't fit into any of the other topics belong here.
Post Reply
stu97jmp
Member
Posts: 5
Joined: Thu Jun 12, 2003 8:12 pm

Controlling Winamp

Post by stu97jmp »

Hi Scott,



I am new to HouseBot, so I hope this is not a dumb question!

I am trying to arrange that I can control the music on my PC, using a Software Remote running on my PDA. I've figured out most of the stuff that I need, but there's just a couple of questions that I could not find answers for in the help.



Firstly, I can't work out how to make Winamp skip forward and backward through tracks in the playlist. I know I can set the 'Current Playlist Item' property to anything I want, but I need to be able to set it to One More or One Less than its previous value.



Secondly, I was wondering whether there was any way of controlling the playback volume in Winamp via a slider on the Software Remote. I couldn't find any way of doing that.



Oh, and I'll just quickly put in a request while I'm here... A file-filter would be very handy in the Directory control, so that I can just browse MP3 files if I want to.



Thanks for your help!

And keep up the good work - I have been very impressed with HB so far.





James
ScottBot
Site Admin
Posts: 2790
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Post by ScottBot »

James,



You can skip forward and backward through a playlist by incrementing or decrementing the "Play List Song Number" Property value. With a "Property Change" button, setting the "New Value" to "+=1" will move ahead one and setting it to "-=1" will move back one.



Volume?? Who needs that? :wink: I can't believe I missed it. My system plays through my main system amp, so I've always just adjusted the volume on the amp. I've just added a volume property to the WinAmp Device that should do what you want. You can download it from "www.housebot.com/HouseBot/WinAmpDevice.zip". Copy the DLL in the zip file into the HouseBot\Plugins\Devices directory over the old one. You will need to deleted the old WinAmp Device and create a new one to get the new Property (sorry). With this Property you should now be able to map a slider control to it to control the volume.



I've added the directory filter to the list. It's a good suggestion.



Scott
stu97jmp
Member
Posts: 5
Joined: Thu Jun 12, 2003 8:12 pm

Post by stu97jmp »

Thanks for your quick response Scott!



I'll download the new plugin and try it out



James
ScottBot
Site Admin
Posts: 2790
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Re: Controlling Winamp

Post by ScottBot »

stu97jmp wrote:Hi Scott,
Oh, and I'll just quickly put in a request while I'm here... A file-filter would be very handy in the Directory control, so that I can just browse MP3 files if I want to.
James


James,



The latest release now has the ability to specify file extensions as filters to the Directory Theme control.



Thanks for the idea.

Scott
nethermancer
Member
Posts: 2
Joined: Sat Nov 22, 2003 10:32 am

Further Question

Post by nethermancer »

Could the same increment/decrement be done in a task? Just trying to go back and forth in a playlist using a keychain remote :) Very impressive software, by the way. Thanks for the help
ScottBot
Site Admin
Posts: 2790
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Post by ScottBot »

Unfortunately, you can't use += or -= in Task 'Action'.



You could have a Task call a Script Device and do it in VBScript.



Scott
nethermancer
Member
Posts: 2
Joined: Sat Nov 22, 2003 10:32 am

Thanks

Post by nethermancer »

I'll try that approach. Thanks :)
Post Reply