Skip to content

xi/xspf2m3u

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

xspf2m3u - simple XSPF to M3U conversion

Playlists tend to break whenever you reorder your music collection. The XSPF 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:

  • If the input file specifies a location, use that.
  • If the path of a file on the local computer looks like it could match, use that.
  • If youtube-dl is installed, use it to search youtube. The resulting URL will expire after 6 hours.

Usage:

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

About

simple XSPF to M3U conversion

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages