View Full Version : Easy winamp question song numbers
Ron
October 13th, 2002, 12:55 PM
Welcome to Girder,
First learn how Girder works
Then look into the Numbuilder plugin and the example in the [girderdir]/help directory.
vynce
October 13th, 2002, 12:55 PM
I haven't done what you are trying to do, but server other people here have. I'm sure one of them will be able to help you if you can't figure it out. Try doing some searching in the forum for the numbuilder plugin. Anyway, I have used windows messages to change tracks to a specific one in Winamp. Here is how you do it:
In the settings for the SendMessage plugin:
Message Number: 1024
wParam: track number you want to switch to - in your case this will probably be a variable (starts at 0, so track 2 is 1).
lParam: 121
That's it! If you want the track that you just switched to, to start playing immediately after switching, add a windows message command below the SendMessage command in a multi-group. Use the following settings for that:
Command Tab in Girder:
Command
WParam: 40045
LParam: 0
Also use the following targetting info for sending all Windows Messages to Winamp:
Check: Match Invisible Tasks
Check: Class Name: Winamp v1.x
Check: Executable: Winamp.exe
Everything else should be unchecked.
Here is a sample GML file containing an example of the above: *TrackSwitch* (http://www.vynce.kicks-ass.net/Girder/TrackSwitch.gml)
vynce
October 13th, 2002, 12:55 PM
I think that there is a sample numbuilder gml file in Girder's help directory. I don't have any experience with numbuilder, so I can't really help you with that.
SouthyPar
October 13th, 2002, 12:55 PM
OK, here's my .GML.
This one grabs Winamp's Playlist Length, and uses this knowledge to both:
Append zeros to let you know how many digits there are.
Pop a "Last Track Is..." OSD in case the selected number is too high
BTW, this GML immediatly opens the song on keypress. So, if you want song 25, you click 2, which plays song 2, and then click 5 (within 3 seconds) which plays song 25.
If you want to make a different version with an "Enter" key, that would be very simple.
SouthyPar
October 13th, 2002, 12:55 PM
Ideally what I would like to do is have my remote have a key that loads the entire playlist and punch in the number of the song. Alternately, I press another key and it goes into load playlist mode where I can now control the Album List plugin and pick a genre playlist such as rock or techno or whatever. I'm off now to become a Girder expert.....:)
Well, there should be no problem using Album List to select your wanted playlist. Simply setup Up, Down, and Enter keys on your remote and use them to selected the Playlist you want from the Album List menu. You can also enlarge the AL window and enlarge the fonts, so that you could read the text from far away.
Also, you may want to check out this thread (http://www.girder.nl/phpBB2/viewtopic.php?t=2020), which has information on how to use a nice OSDMenu interfaceto select the song you want, if you can't remember its number.
Quail: Thanks, I forgot about that. Implemented into my .GML now.
Nice to see another Israeli here. :)
Quail
October 13th, 2002, 12:55 PM
Also, if you have DVDSpy installed you can very easily display the name of the song that you have selected.
You might want to add a simple track title display without the use of DVDSpy like the one I did:
http://www.girder.nl/phpBB2/viewtopic.php?t=1936
Duphus
October 13th, 2002, 12:55 PM
Can someone point me in the right direction on this question: How can I configure winamp 2.80 so that I can just punch in 3 digit numbers for songs on my PB Fastmedia remote for a playlist? I've tried using a Winamp Car Controller plugin that assigns a numpad sequence to a song then having the remote integrated into that but its extremely buggy. It seems like an easy task but I can't figure it out and haven't found it on this forum.
Duphus
October 13th, 2002, 12:55 PM
Well I got the basics down and I've read a lot on the forum but it still escapes me. I mean, I've managed to learn how to control the basic functions of winamp using Girder but the numbuilder stumps me because I don't know how to jump to a particular song (not playlist) by typing in the number on my keyboard let alone the remote. Is there a thread that I should read or a winamp plugin that i need?
Duphus
October 13th, 2002, 12:55 PM
Well I did a search on the winamp forum and came up with winamp jumper plugin but thats a separate app and just adds more instability and boot time to my jukebox mp3 player. Plus its also buggy.
So I did further research and came up with stuff that went over my head. Apparently there is a WM_USER Messages command that goes something like this
int ret=SendMessage(hwndWinamp,WM_USER, data, id);
121 Sets the playlist position to the position specified in tracks in 'data'.
I do know that Girder does let you send those kinds of commands but I'm afraid it'll crash winamp.
Ideally what I would like to do is have my remote have a key that loads the entire playlist and punch in the number of the song. Alternately, I press another key and it goes into load playlist mode where I can now control the Album List plugin and pick a genre playlist such as rock or techno or whatever. I'm off now to become a Girder expert.....:)
Duphus
October 13th, 2002, 12:55 PM
Thanks that helps. I tried using the numbuilder plugin help file and doing a search but I'm still confused as to how to setup numbuilder to send the 3 number code to the winamp track switcher so that it executes the command upon pressing enter. I set the key count to 3 and clicked on the save to number registry. What else do I need to setup?
Duphus
October 13th, 2002, 12:55 PM
Thanks that helps. I tried using the numbuilder plugin help file and doing a search but I'm still confused as to how to setup numbuilder to send the 3 number code to the winamp track switcher so that it executes the command upon pressing enter. I set the key count to 3 and clicked on the save to number registry. What else do I need to setup?
Duphus
October 13th, 2002, 12:55 PM
Hmmm, have been attempting this one for a while now and still not any closer. I've tried every setting in the numbuilder plugin but don't really have an understanding on how I can apply it to the above function. Can anyone else give me more specific details? Thanks.
ixfxi
January 5th, 2010, 08:14 PM
someone should sell a GML file, i'de gladly pay for it
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.