View Single Post
Old 30th March 2005, 08:15   #245
Major Dude
Join Date: Jan 2004
Location: Brisbane, Australia
Posts: 1,193
I am still unclear what you mean. playlist(30).enqueue works as expected for me.

The playlist item number 30 is enqueued to the end of the playlist.

Maybe you are referring to 'enqueuing' in jtfe or something? That is not how winamp works normally. The playlist... is your playlist. Enqueing an item enqueues it to the playlist.

What do you want to happen when you call:

Do you want the item to play? Do you want the item to be enqueued to the end of the playlist?

If you want the item to be the next item to play, that is not how winamp works. To handle that, handle the song change event and set the playlist position manually. Or use the JTFE API to set the next item, if it has one that does that.
shaneh is offline   Reply With Quote