xspf2m3u

simple XSPF to M3U conversion
git clone https://git.ce9e.org/xspf2m3u.git

NameSize
README.rst825B
m3u2xspf.py2206B
setup.py845B
xspf2m3u.py4521B

xspf2m3u - simple XSPF to M3U conversion

Playlists tend to break whenever you reorder your music collection. The XSPF <https://xspf.org/spec>_ format allows to specify songs by metadata rather than file location, so it theoretically solves that problem. Unfortnately, most audio players do not support that format.

This script allows to convert XSPF to M3U by finding file locations that match the given metadata. It is not a full content resolver. In fact, it is rather dumb. It uses the following strategies:

Usage::

xspf2m3u input.xspf /my/music > output.m3u