Old 15th February 2011, 19:33   #1
jeroenj_1989
Junior Member
 
Join Date: Feb 2011
Posts: 1
Winamp Internal playlist

Could someone tell me where I can find the internal playlist used by Winamp?

I'm using Windows 7, and I have noticed a .m3u8 file in Appdata/roaming/winamp
However, when I change the playlist (like delete some stuff) the file doesn't change...

Thanks in advance!

FYI I want to get to the internal playlist, so I can extract the path of the current playing song with Delphi (If I know where the playlist is, I can look the path of the song up).
jeroenj_1989 is offline   Reply With Quote
Old 15th February 2011, 19:51   #2
ujay
Forum King
 
ujay's Avatar
 
Join Date: Jul 2001
Location: London
Posts: 6,072
You should also find the .m3u as well as .m3u8(unicode version).

As far as I know this is only written back when Winamp is closed.

Probably needs a plugin to get the path in real time. DrO is your man if he's about.

UJ
ujay is offline   Reply With Quote
Old 15th February 2011, 20:18   #3
DrO
 
Join Date: Sep 2003
Posts: 27,873
querying Winamp in that way is a really poor way of getting the current song from Winamp. the better option is to use a ReadProcessMemory(..) based method to inject a writeable buffer from your external program (as i assume it'd be) to Winamp allowing for SendMessage(..) calls (from wa_ipc.h) to get the current title string, etc as applicable.

http://sourceforge.net/projects/winampminimagic/ has C code for doing it though i need to find the time to finish the dll and release a proper package of it - which would be exactly what is needed to be used for getting the title (as the C and C# example apps show).

-daz
DrO is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > Winamp Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump