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: add navidrome support #503
Conversation
Thanks for the PR. Im wondering about making this look a bit more like the Plex / Emby 'now playing' widgets e.g. #85 ? Not sure if the API reports data to make the progress bar part work but at least the more compact format would make sense here, I think. |
Navidrome currently hasn't implemented the jukeboxControl endpoint, so controlling playback would not work. Likewise, the Subsonic API doesn't expose information regarding current offset of the playing song, so I don't think the progress bar part would work either. I agree re: the compact format comment; it's something I was thinking about as a future implementation given time constraints and the fact that I'm not a seasoned Javascript guy by any means :). The PR was meant to be a simple implementation that would be improved/iterated on over time. |
This looks pretty hot. Let me pull the changes and see how multiple users looks with it. |
Heh, I had it that way before =) Please check the last force-push, I fixed the linting issue too |
Ha, dont sound so surprised 😝 I would say for a purely informational widget in a dashboard app that the length limitation is OK, the other now playing widgets do the same. |
That's fair - can always bedazzle it later if it's really wanted. Everything looks good to me! |
Can this display number of albums and songs too? I'd like to see this information over who's listening to what. |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. |
This PR adds initial support for displaying now playing song information from Navidrome using the Subsonic API. The widget will display the currently-playing song for all users currently connected to the provided Navidrome server.
Configuration
services.yaml
For example:
Generating salt and token values
Navidrome currently supports Subsonic API version 1.16.1: https://www.navidrome.org/docs/developers/subsonic-api/
For detailed information on how to generate salt and token values for authentication, see the Subsonic API documentation page: http://www.subsonic.org/pages/api.jsp
Preview