gonic icon indicating copy to clipboard operation
gonic copied to clipboard

Feature Request: Export playlists to m3u files

Open IUCCA opened this issue 5 years ago • 4 comments

With this ability it is possible, to use playlists on devices without subsonic client.

IUCCA avatar May 03 '20 20:05 IUCCA

good idea thanks. this will also help with #54 if a backup system is needed

sentriz avatar May 12 '20 11:05 sentriz

Also miss exporting playlists. This feels like a one way, but no way out. I can't imagine to create playlists when using Gonic and then everything is lost, if I decide to switch to another Subsonic compatible server or want to use playlists otherwise, for example deleting files from a "delete" playlist.

helmut72 avatar Dec 31 '20 10:12 helmut72

I wrote a little python script, which exports the playlists. https://github.com/IUCCA/gonic_playlist_export

IUCCA avatar Jan 01 '21 19:01 IUCCA

Thanks! This ~is~ was the most important missed feature.

Today I've tested your script in Gonics official Docker image. Added python3 and py3-sqlalchemy. I need to replace int to str in your script: items = list(map(str, (i[3].split(','))))

helmut72 avatar Jan 01 '21 19:01 helmut72