Hi there; I'm generating playlists from directories of files using: mediainfo $(ls -t *.mp3) --output=JSON Great! But now I'd like to parse that into m3u, pls and particularly valid iTunes RSS XML files. For node, I found this: https://www.npmjs.com/package/jstoxml I guess for pls and m3u it should be easy to parse the mediainfo out with jq, but before I head down that road, I was wondering if anyone else had done this or knows of an "all in one" tool? Thanks!
Hi - thanks for your rapid reply; the forum hadn't subscribed me to the thread! I just figured it out - the answer was right there in my question! mediainfo $(ls -t *.mp3) --output=JSON Just what I was looking for :)
I love the fact that I can so easily build a valid json playlist for every directory containing the podcasts, with all the details, after downloading podcasts: for D in */; do cd ${D}; mediainfo *.mp3 --output=JSON > playlist.json; cd ../ ; done Fantastic - never been easier, especially now the latest version builds a complete, valid JSON object. Except.. I just found that a few podcasts don't use sequential filenames. So the above command puts them out of date order. But the file dates do seem to...
In reply to some of the comments here, like fom Zazas, I would say that unless we...
No idea why this posted twice. Is there a way to delete my own posts?
So you didn't actually bother reading what was written, then? (Rhetorical question...
So you didn't actually bother reading what was written, then? (Rhetorical question...
Indeed, but in /etc/phpmyadmin/config.inc.php there is if (!function_exists('check_file_access'))...