Audiosurf > Addons

M3U to YAAP Playlist Converter

(1/4) > >>

lavacano201014:
Since ViRUS hasn't implemented M3U support in YAAP, I decided to throw together a little program that takes M3U files and converts them into YAAP files.

Here's a screenshot:




Download Links!
Download M3U to YAAP - Full Download
Download M3U to YAAP - Update from 20101113
Download M3U to YAAP - Source Code


CHANGELOG:
20110128:
 + M3U2YAAP now reads the YAAP playlist directory from the registry if it doesn't have a config file.
 + M3U2YAAP also passes the playlist name as an argument to YAAP if it's set to start it after conversion.
    * For some reason, I only managed to get this to work when the playlist has no spaces in the filename. Unsure where the problem lies - my program, YAAP bug, or my error with it?
20101113:
 + Added options window
    * This is where the YAAP playlist directory settings moved to
 + Added support for starting YAAP after conversion
 + Configuration now saves to and loads from "m3u2yaap.cfg"
    + If m3u2yaap.cfg already exists when you try to save it, the existing one becomes m3u2yaap.cfg~. If that file exists, it's simply deleted.
20100806:
 + Added support to ignore all lines starting with #. Ignores blank lines too, while I was adding if conditions in there.
     * Note that the line counter will not count the lines above. So if your M3U had 200 lines of songs, and 50 comments, the finished progress bar would read 200/200.

blue_h3x:
IIRC ViRUS did once use M3U in YAAP though dropped it so he could use jump lists without stealing file 'ownership' from Foobar2000.

Nice tool though

ViRUS:

--- Quote from: blue_h3x on August 16, 2010, 10:12:36 am ---IIRC ViRUS did once use M3U in YAAP though dropped it so he could use jump lists without stealing file 'ownership' from Foobar2000.

Nice tool though

--- End quote ---

That and I couldn't get YAAP to read M3U files properly, sometimes it'd drop files, other times it'd try to load commented lines, fail and crash so yeah, I ended up dropping it...

Good work, lava ^_^

lavacano201014:

--- Quote from: ViRUS on August 16, 2010, 11:42:52 am ---other times it'd try to load commented lines

--- End quote ---

Wait, M3U has comments? shit D-:

What do they start with? I can easily get my program to ignore them.

Mincus:

--- Quote from: lavacano201014 on August 16, 2010, 02:20:08 pm ---
--- Quote from: ViRUS on August 16, 2010, 11:42:52 am ---other times it'd try to load commented lines

--- End quote ---

Wait, M3U has comments? shit D-:

What do they start with? I can easily get my program to ignore them.

--- End quote ---

It has #EXTINF stuff.
Basically, just ignore any line that starts with a #.

Navigation

[0] Message Index

[#] Next page

Go to full version