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
API endpoint for importing m3u/m3u8 playlists #2078
Comments
Yeah, that could be added, for sure. I'm adding a In the meantime, one could use the Subsonic API to create/update playlists: http://subsonic.org/pages/api.jsp#createPlaylist. It would require getting the songs ids first (via the EDIT: If anyone wants to work on this, it should be implemented as a POST to |
Another idea in the meantime if you're currently not using this method is to create a "playlist" folder within your music folder. I have all of my |
Yeah this is the current workaround - you temporarily place the .m3u in the monitored folder, tell ND to rescan, and ND will then pick it up to import. It would just be a lot more efficient to directly feed the .m3u to ND. |
👋 hey, I'd like to take a crack at this as a first issue! |
Hey, sorry it's been a while but I'm finally picking this up. @deluan I'm unsure of how to implement what you're asking for. It appears that there's already a POST endpoint on |
No worries :)
Exactly.
Not really. Let me try to explain the required changes:
No, it does not. It would make the API more fragmented than it already is. Let me know if you have any other questions. |
Makes sense, thanks @deluan! |
This issue has been automatically marked as stale because it has not had recent activity. The resources of the Navidrome team are limited, and so we are asking for your help. |
This bot needs to be adjusted, there is nothing about this feature request to make it obsolete. |
Question: Is there and endpoint to get exported (smart playlists for instance) playlists? EDIT: Nevermind, found an answer here which serves me well. |
Hello team, is this issue still open? Would like to take a shot at it. Thank you! |
* wip: API endpoint for creating playlists from m3u files * wip: get user id from context * temporarily disable failing test * custom logic for playlist route to accomodate m3u content type * incorporate playlist parsing into existing logic in core * re-enable test * fix locally failing test * Address requested changes. * Improve ImportFile tests. * Remove ownerID as a parameter of ImportM3U. * Write tests for ImportM3U. * Separate ImportM3U test into two. * Test OwnerID and playlist Name. --------- Co-authored-by: Sam Watson <SwatsonCodes@users.noreply.github.com> Co-authored-by: caiocotts <caio@cotts.com.br>
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Plex has an API endpoint to upload m3u playlists, would be very practical to have in the Navidrome API too, for scripting. M3u playlist parsing is already implemented in ND so it's just a matter of exposing it in the API.
Something like
/upload?path=/folder/playlist.m3u&token=3gK5s7T2p
The text was updated successfully, but these errors were encountered: