Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Export playlists to m3u files #66

Closed
IUCCA opened this issue May 3, 2020 · 4 comments · Fixed by #311
Closed

Feature Request: Export playlists to m3u files #66

IUCCA opened this issue May 3, 2020 · 4 comments · Fixed by #311

Comments

@IUCCA
Copy link
Contributor

IUCCA commented May 3, 2020

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

@sentriz
Copy link
Owner

sentriz commented May 12, 2020

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

@helmut72
Copy link

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.

@IUCCA
Copy link
Contributor Author

IUCCA commented Jan 1, 2021

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

@helmut72
Copy link

helmut72 commented Jan 1, 2021

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(','))))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants