[mythtv-users] mythmusic - export playlist to m3u

Mike Perkins mikep at randomtraveller.org.uk
Sun Jan 19 15:52:04 UTC 2014


On 19/01/14 12:38, Warpme wrote:
> 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?
>>
> 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).
>
I notice the first script uses mysql.txt. I assume you plan to update it to use 
config.xml in time?

-- 

Mike Perkins



More information about the mythtv-users mailing list