xspf playlist copier

Takes a xspf playlist file and a writeable folder and copies all the files from the playlist to that folder.

Useful for manually synching playlists between devices.


  1. download xspf-playlist.php
  2. $ chmod +x xspf-playlist.php
  3. $ ./xspf-playlist.php PLAYLIST.xspf /path/to/writeable/folder/ "My Music"
  4. voila


xspf playlist a writeable folder the name of your music directory

What's the music directory

This script rebuilds the directory structure your music is kept in. by default it assumes your music is kept in a folder called ../Music/.. if it isn't then you should pass a third parameter with the name of your music folder (i.e "My Music", "music", "muzac")