Open Sidelity opened 4 months ago
The Android TV app is not a cast receiver and does not implement/use the proprietary cast SDK so I don't see how this is an issue on the app side.
Gotcha. Even though Jellyfin doesn't use the cast SDK, is it possible that Chromcast picks up on any playing media? And in that case, is Jellyfin doing something in the background that the other media apps aren't? Seeing as manually killing the Jellyfin app solves the issue.
The app does implement media sessions for music (video will come later) but that has nothing to do with casting, and as far as I know that is only picked up by the Android TV integration in Home Assistant.
This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.
If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.
This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.
Describe the bug
In Home Assistant I can see what's being played on my Nvidia Shield through the Google Cast integration. All other apps I've tested (Plex, YouTube, SmartTube, SVT Play, mpv) registers as the current Chromecast app when starting playing, then unregisters when you stop playing.
Jellyfin however seems to stay registered as the current Chromecast app after the playback has stopped, and even as you exit the app. This is what the Chromecast reports as being active even after exiting the app:
You need to manually kill Jellyfin from running in the background for it to unregister. If you don't, Chromecast will continue to report Jellyfin as the active app (even when you start playing videos in another app). In my case, this prevents Home Assistant from seeing what's being played and breaks my automations.
Steps to reproduce:
Logs
No response
Application version
0.16.11
Where did you install the app from?
Google Play
Device information
Nvidia Shield TV 2017
Android version
Android 11
Jellyfin server version
10.9.7