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

Allow specifying subsonic playlist ID to overwrite #152

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

phw
Copy link
Member

@phw phw commented Dec 3, 2024

If given the playlist upload to subsonic will look for an existing playlist with the given ID and update it. If no playlist with the given ID is found a new playlist gets created.

This allows updating an existing playlist instead of creating a new one. E.g. I have troi generate me a new weekly jams playlist every Monday. I would like to have a single weekly jams playlist that updates every week, instead of having my playlists being spammed with a new separate entry every week. So I would run something like:

troi weekly-jams -ui 12c7a953-9ca8-48e4-9192-ec9c1e5a1761 outsidecontext

where 12c7a953-9ca8-48e4-9192-ec9c1e5a1761 is the subsonic ID of a playlist in my Navidrome instance.

If given the playlist upload to subsonic will look for an existing
playlist with the given ID and update it. If no playlist with the given
ID is found a new playlist gets created.
Copy link
Member

@mayhem mayhem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very useful, thank you!

@mayhem mayhem merged commit 5bb8bc1 into metabrainz:main Dec 3, 2024
4 of 5 checks passed
@phw phw deleted the subsonic-playlist-id branch December 23, 2024 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants