[mythtv-users] mythmusic - export playlist to m3u

Warpme warpme at o2.pl
Sun Jan 19 12:38:58 UTC 2014


On 17/01/14 05:15, Jeremy Jones wrote:
> Does anyone have a script that will export all mythmusic playlists to 
> m3u files? If not a script does anyone have some pointers on how one 
> might retrieve the info from the database to create such a script?
>
> Thanks,
>
> Jeremy
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
Jeremy,
At some point in time I develop simple solution for backup/restore 
MythMusic playlists (and also for dumping playlist songs files to dir 
for creatng USB key with music to play them in car). Idea is to:
-dump playlist to m3u (backup)
-load m3u and store it as MythMusic playlist (restore playlist when i.e 
You rebuild whole music DB - so songs IDs are different)

For dumping playlist pls look on attached .sh script.
For converting m3u to playlist - pls look on attached php script (You 
can this script into mythweb root dir and launch in web browser).

Hope it helps!.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: dump-mythmusic-playlist.sh
Type: application/x-sh
Size: 4449 bytes
Desc: not available
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140119/99cd8101/attachment.sh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: m3u2mythmusic.php
Type: text/php
Size: 11002 bytes
Desc: not available
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140119/99cd8101/attachment.bin>


More information about the mythtv-users mailing list