-
-
Notifications
You must be signed in to change notification settings - Fork 801
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
Expose playing details using API and enable use of Webhooks #246
Comments
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. |
Would be cool to have. |
Thanks for the suggestion.
Exact position is not possible, as the server does not have control over the clients' playback. The best that can be done is already available in the
This will most probably be implemented as part of the Subsonic extensions, a joint effort among Subsonic server and clients developers.
Push of scrobbles and nowplaying is being implemented as a webhook. See #2229
As I said above, this level of detail is not possible. The best you can get is how long ago a track started playing, and hope the client did not pause the song. This issue will be closed once #2229 is merged. |
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 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. |
For the intergration with home assistant (home-assistant.io). I would love to be able to ask the Navidrome API:
Above method would require a pull. A push would be even better. I would love to see optional/configurable webhooks on a "play", "pause", "stop", "idle" action. Which could be as simple as sending a HTTP GET request to a given URL. That way Navidrome could function as a Trigger in Home Assistant and other tools and easily make cool stuff available like "turn the lights off if Navidrome starts playing", "pause the vacuum cleaner when Navidrome starts playing", "play my favorite playlist when I get home".
Getting the playing position is helpful for automation like "fade on the lights slowly when the last song in the queue is playing the last 20 seconds".
The text was updated successfully, but these errors were encountered: