Created
December 27, 2014 06:16
-
-
Save somian/b2ad45b059c56363483c to your computer and use it in GitHub Desktop.
playlist to filename listing (media files)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
perl -MURI::Encode=uri_decode -MFile::Spec::Functions=:ALL -MFile::stat -wne 'if(/([.][.]\/.+\.\w\S+)[<]/){$y=uri_decode($1);$d=stat($y);next if!$d; printf "%s %s\n",$d->ino(),rel2abs($y); }' < HI-Light.xspf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Input (data to be handled) is a .xspf format
XSPF is some kind of playlist file. Uses XML markup.
The files can be copied in a pipeline extension: