Go Back   Winamp Forums > Developer Center > Winamp Development

Reply
Thread Tools Search this Thread Display Modes
Old 14th April 2008, 14:50   #1
mborz
Junior Member
 
Join Date: Apr 2008
Posts: 2
Get Playlist Filename

I have a feeling there's an easy answer to my question, but I just don't seem to be able to find it.

I want to send a command to Winamp and have it return the filename (full path) of the currently loaded playlist to me. The return value would be something like "C:\playlists\rock\classic_rock.m3u"

I've seen (and used) some of the commands to get the filename information for individual songs, but I can't seem to find how to get the same type of information for the playlist itself.

Thanks
mborz is offline   Reply With Quote
Old 14th April 2008, 16:25   #2
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,210
winamp doesn't track what playlist a file has been loaded from, if it's in the playlist editor then it's just a list of files with no history back to the file it came from. as such if you use IPC_WRITEPLAYLIST then you force winamp to save out it's winamp.m3u/winamp.m3u8 file to either %winampdir%\winamp.m3u/m3u8 or to %appdata%\winamp\winamp.m3u/m3u8 (though you'd really need to look at/for paths.ini to see what is the exact case with the install that you're working with).

-daz
DrO is offline   Reply With Quote
Old 14th April 2008, 17:04   #3
mborz
Junior Member
 
Join Date: Apr 2008
Posts: 2
Got it. Thanks for the response. I was hoping to look at the path/name of the playlist and infer some information about it.
mborz is offline   Reply With Quote
Reply
Go Back   Winamp 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