-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Music assistant does not report - user or device when streaming from Jellyfin #3514
Comments
It does include both. Here's an example of the audio url it streams from on my prod instance which is running 2.3.6:
You can see the URL's your instance is generating by going to a track in your MA and expanding the "Provider details" section. The URL it generates is there. Note that it currently uses |
Note that we don't currently hit |
@olterman please advise if the info above resolves your query |
For posterity, May I ask why this is expected to not change in the future? Is this a deliberate design decision? If so what is the reasoning? |
I said "near" future. |
Yes this answers the question, as in this is not a provided feature. Some users like to just be able to play music from their jellyfin server while some would prefer to pull stats from the server as well, and lets face it most homeassistant users would like a sensor with stats. I guess it should then be added to feature requests. |
Sorry, I didn't mean to come off aggressive. Just wanted to know if it was that way by specific design intentions or its just not implemented yet and could be by someone in the future (but probably not soon). It seems it's the second one. Thanks for the response |
Work to investigate those APIs hasn't happened yet. So while it might be the second one, there might be architectural issues. So might not be possible. Right now we log in as a device. The APIs I mention start a "play session" that is linked to a device. Does Jellyfin understand multiple play sessions linked to a single device (which for all the apps I know of, that wouldn't make any sense), or do we have to maintain play sessions per play queue (login and get an api key and device id for each queue)? That's not game over, but would probably be annoying to write. It's also not clear from the docs I've seen what is the least amount of information you can provide to those APIs is. As an example, the web client sends the current play queue to Jellyfin. Obviously we can't do that, the next track could be on Spotify or on a local file system. |
Not against an FR, but I think what you want is a small pebble on a much larger beach and the FR needs to capture information about the beach (the full surface of Jellyfin play sessions). |
What version of Music Assistant has the issue?
2.3.6
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?
The problem
When playing music from Jellyfin, Music Assistant sends a direct transcode request of the API but does not give device or user in the UniversalAudioController API call, therefore the playcount, song etc cannot be seen in JellyfinLogs
How to reproduce
Play any song or playlist from Jellyfin
Music Providers
Jellyfin
Player Providers
n.a.
Full log output
d5369777_music_assistant_2025-01-29T12-44-31.959Z.log
Additional information
I think this belongs here ... unless it's an issue of the Jellyfin api, however other apps accessing the api does result in logging ...
What version of Home Assistant Core are your running
2025.1.4
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Linux
The text was updated successfully, but these errors were encountered: