Go Back   Winamp Forums > SHOUTcast > SHOUTcast Discussions

Reply
Thread Tools Search this Thread Display Modes
Old 4th February 2011, 05:23   #1
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: Somewhere on this planet.
Posts: 2,182
Send a message via Skype™ to thinktink
Pl2lst

I just wrote this itty bitty little program to convert m3u and pls playlists into playlist files a bit more native to sc_trans. It strips the metada (actually, it just parses out and grabs the file names) and then attempts to convert any relative file names into absolute path file names.

Made this in under 30 minutes.

I found it useful so I thought someone else might as well.

Download Here!

thinktink is offline   Reply With Quote
Old 15th November 2011, 23:21   #2
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,275
not knocking this, but just wanted to clarify that other than the path aspect (relative to complete absolute path), you're doing what sc_trans already does with the metadata by ignoring it (until i change the handling to make use of what's provided from the playlist if not able to be read from the media file).

-daz
DrO is offline   Reply With Quote
Old 16th November 2011, 00:28   #3
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: Somewhere on this planet.
Posts: 2,182
Send a message via Skype™ to thinktink
Since I don't know exactly how the Transcoder determines what the relative path is (whether it's to the lst file or the directory the Transcoder is ran from) I can't make a determination to that.

The program handles both M3U files and PLS files differently but assumes the path the playlist file resides in to work out the relative to absolute path names.

Can't look at the source code to confirm at the moment but the application just skips over the metadata in M3U files but performs special handling on PLS files to process them (I think it treats them like INI files and proceeds thusly.)

Hope this answers your question.
thinktink is offline   Reply With Quote
Reply
Go Back   Winamp Forums > SHOUTcast > SHOUTcast Discussions

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