Chromecast no longer appears in casting list(possible due to missing options in user Playback settings) #5663

Open
opened 2025-12-22 02:10:57 +01:00 by backuprepo · 18 comments
Owner

Originally created by @soultaco83 on GitHub (May 4, 2024).

Describe The Bug
Chromecast does not appear in list of devices when attempting to cast

Steps To Reproduce

  1. Go to top right
  2. Click on Cast to Device button
  3. Only device showing is the browser window

Expected Behavior

Logs
Chrome Console:
image
No jellyfin logs.

Screenshots
image
Option missing in user playback setting

System (please complete the following information):

  • Platform: Windows
  • Browser: Chrome and Edge
  • Jellyfin Version: 10.9

Additional Context

Originally created by @soultaco83 on GitHub (May 4, 2024). **Describe The Bug** Chromecast does not appear in list of devices when attempting to cast **Steps To Reproduce** <!-- Steps to reproduce the behavior: --> 1. Go to top right 2. Click on Cast to Device button 3. Only device showing is the browser window **Expected Behavior** <!-- A clear and concise description of what you expected to happen. --> **Logs** Chrome Console: ![image](https://github.com/jellyfin/jellyfin-web/assets/76927195/6ab0f201-549a-41a5-b3a6-1a46b0ec4842) No jellyfin logs. **Screenshots** ![image](https://github.com/jellyfin/jellyfin-web/assets/76927195/1064663b-69c2-4f34-b181-466d01414727) Option missing in user playback setting **System (please complete the following information):** - Platform: Windows - Browser: Chrome and Edge - Jellyfin Version: 10.9 **Additional Context** <!-- Add any other context about the problem here. -->
backuprepo added the
regression
bug
labels 2025-12-22 02:10:57 +01:00
Author
Owner

@nielsvanvelzen commented on GitHub (May 5, 2024):

If you've installed 10.9 it should have migrated the cast configuration. Can you check if you see this in your config/system.xml file (in the jellyfin data folder)

  <CastReceiverApplications>
    <CastReceiverApplication>
      <Id>F007D354</Id>
      <Name>Stable</Name>
    </CastReceiverApplication>
    <CastReceiverApplication>
      <Id>6F511C87</Id>
      <Name>Unstable</Name>
    </CastReceiverApplication>
  </CastReceiverApplications>
@nielsvanvelzen commented on GitHub (May 5, 2024): If you've installed 10.9 it should have migrated the cast configuration. Can you check if you see this in your `config/system.xml` file (in the jellyfin data folder) ```xml <CastReceiverApplications> <CastReceiverApplication> <Id>F007D354</Id> <Name>Stable</Name> </CastReceiverApplication> <CastReceiverApplication> <Id>6F511C87</Id> <Name>Unstable</Name> </CastReceiverApplication> </CastReceiverApplications> ```
Author
Owner

@thornbill commented on GitHub (May 5, 2024):

I can confirm that is present in my system.xml file and my user configuration is not returning any receiver applications.

@thornbill commented on GitHub (May 5, 2024): I can confirm that is present in my `system.xml` file and my user configuration is not returning any receiver applications.
Author
Owner

@nielsvanvelzen commented on GitHub (May 5, 2024):

Ok weird, if the system.xml contains the configuration it should at least show the entries in the settings page. I've tried different things, like corrupting my system.xml file, creating new users, creating a fresh server. But I'm unable to reproduce this behavior.

@nielsvanvelzen commented on GitHub (May 5, 2024): Ok weird, if the system.xml contains the configuration it should at least show the entries in the settings page. I've tried different things, like corrupting my system.xml file, creating new users, creating a fresh server. But I'm unable to reproduce this behavior.
Author
Owner

@soultaco83 commented on GitHub (May 5, 2024):

That is blank in my config

  <ParallelImageEncodingLimit>0</ParallelImageEncodingLimit>
  <CastReceiverApplications />
  <TrickplayOptions>

system.json

Changed file type for upload purposes

@soultaco83 commented on GitHub (May 5, 2024): That is blank in my config ``` <ParallelImageEncodingLimit>0</ParallelImageEncodingLimit> <CastReceiverApplications /> <TrickplayOptions> ``` [system.json](https://github.com/jellyfin/jellyfin-web/files/15212423/system.json) Changed file type for upload purposes
Author
Owner

@nielsvanvelzen commented on GitHub (May 5, 2024):

In your case it looks like the migration somehow failed or was overwritten. I've written a quick script that should correct it.

  1. Open the Jellyfin web interface
  2. Press F12 to open developer tools
  3. Go to the "console" tab
  4. Paste the code snippet from below and press enter
  5. Wait a few seconds
  6. Refresh the web interface
const patch = {	CastReceiverApplications: [{ Id: 'F007D354', Name: 'Stable' }, { Id: '6F511C87', Name: 'Unstable' }]};
ApiClient.getServerConfiguration().then((config) =>	ApiClient.updateServerConfiguration({ ...config, ...patch }));

Alternatively, you can copy the XML I shared in my earlier comment and replace <CastReceiverApplications /> with it, then restart your server.

@nielsvanvelzen commented on GitHub (May 5, 2024): In your case it looks like the migration somehow failed or was overwritten. I've written a quick script that should correct it. 1. Open the Jellyfin web interface 2. Press F12 to open developer tools 3. Go to the "console" tab 4. Paste the code snippet from below and press enter 5. Wait a few seconds 6. Refresh the web interface ```js const patch = { CastReceiverApplications: [{ Id: 'F007D354', Name: 'Stable' }, { Id: '6F511C87', Name: 'Unstable' }]}; ApiClient.getServerConfiguration().then((config) => ApiClient.updateServerConfiguration({ ...config, ...patch })); ``` Alternatively, you can copy the XML I shared in my earlier comment and replace `<CastReceiverApplications />` with it, then restart your server.
Author
Owner

@soultaco83 commented on GitHub (May 6, 2024):

I never touched the system.xml so odd it is missing but added it manually to the config and restarting resolved it. K did a fresh install on a second instance and it is there so not sure what happened. But thank you @nielsvanvelzen

@soultaco83 commented on GitHub (May 6, 2024): I never touched the system.xml so odd it is missing but added it manually to the config and restarting resolved it. K did a fresh install on a second instance and it is there so not sure what happened. But thank you @nielsvanvelzen
Author
Owner

@thornbill commented on GitHub (May 6, 2024):

I can confirm that is present in my system.xml file and my user configuration is not returning any receiver applications.

This might not have been accurate. I checked my unstable server and it is missing in system.xml and from the user configuration. My local dev environment does have the values and they are now populating in the user configuration. It is possible that I was on the wrong tab when I tried testing my dev environment previously. 😅

It seems like maybe there is an issue with the migration? I am going to re-open this and move it to the server repo.

@thornbill commented on GitHub (May 6, 2024): > I can confirm that is present in my `system.xml` file and my user configuration is not returning any receiver applications. This might not have been accurate. I checked my unstable server and it is missing in `system.xml` and from the user configuration. My local dev environment does have the values and they are now populating in the user configuration. It is possible that I was on the wrong tab when I tried testing my dev environment previously. :sweat_smile: It seems like maybe there is an issue with the migration? I am going to re-open this and move it to the server repo.
Author
Owner

@davidfdezalcoba commented on GitHub (May 7, 2024):

I can confirm I had this same issue after upgrading to unstable and had to manually add the lines in system.xml file

@davidfdezalcoba commented on GitHub (May 7, 2024): I can confirm I had this same issue after upgrading to unstable and had to manually add the lines in `system.xml` file
Author
Owner

@crobibero commented on GitHub (May 9, 2024):

My unstable server does not have this issue.

For those with the issue, can you check migrations.xml to see if the following migration was applied?

<ValueTupleOfGuidString>
  <Item1>34a1a1c4-5572-418e-a2f8-32cdfe2668e8</Item1>
  <Item2>AddDefaultCastReceivers</Item2>
</ValueTupleOfGuidString>
@crobibero commented on GitHub (May 9, 2024): My unstable server does not have this issue. For those with the issue, can you check `migrations.xml` to see if the following migration was applied? ```xml <ValueTupleOfGuidString> <Item1>34a1a1c4-5572-418e-a2f8-32cdfe2668e8</Item1> <Item2>AddDefaultCastReceivers</Item2> </ValueTupleOfGuidString> ```
Author
Owner

@thornbill commented on GitHub (May 9, 2024):

I do have that entry in my migrations file.

@thornbill commented on GitHub (May 9, 2024): I do have that entry in my migrations file.
Author
Owner

@soultaco83 commented on GitHub (May 11, 2024):

Sorry took a minute. I can confirm I have this in my migrations.xml file as well

@soultaco83 commented on GitHub (May 11, 2024): Sorry took a minute. I can confirm I have this in my migrations.xml file as well
Author
Owner

@nielsvanvelzen commented on GitHub (May 11, 2024):

My best guess is that the server was downgraded to an earlier 10.9 (or 10.8) version after the migration was applied. That would've removed the new configuration options and upgrading afterwards would never execute the migration again.

@nielsvanvelzen commented on GitHub (May 11, 2024): My best guess is that the server was downgraded to an earlier 10.9 (or 10.8) version after the migration was applied. That would've removed the new configuration options and upgrading afterwards would never execute the migration again.
Author
Owner

@joshuaboniface commented on GitHub (May 11, 2024):

Can confirm here at least that mine are properly applied, having upgraded about a month-and-a-half ago from 10.8.13 to 10.9.0 unstables, so I'd definitely agree it's a weird edge case. I think we're OK unless the issue becomes more widespread.

@joshuaboniface commented on GitHub (May 11, 2024): Can confirm here at least that mine are properly applied, having upgraded about a month-and-a-half ago from 10.8.13 to 10.9.0 unstables, so I'd definitely agree it's a weird edge case. I think we're OK unless the issue becomes more widespread.
Author
Owner

@ziogref commented on GitHub (Jun 20, 2024):

I was missing all entries for in my system xml file and added

My system.xml file now looks like

  <ParallelImageEncodingLimit>0</ParallelImageEncodingLimit>
  <CastReceiverApplications>
   <CastReceiverApplication>
     <Id>F007D354</Id>
     <Name>Stable</Name>
   </CastReceiverApplication>
   <CastReceiverApplication>
     <Id>6F511C87</Id>
     <Name>Unstable</Name>
   </CastReceiverApplication>
  </CastReceiverApplications>
  <TrickplayOptions>

Prior I had no Google Cast option, now when clicking Google Cast chrome just crashes.
Chrome version 126 I have tried switching between stable and unstable in the GUI with both version having the same behavior. Nothing in the Jellyfin server logs.
My Jellyfin Server version in 10.9.6

Any suggestions?

@ziogref commented on GitHub (Jun 20, 2024): I was missing all entries for <CastReceiverApplications> in my system xml file and added My system.xml file now looks like ``` <ParallelImageEncodingLimit>0</ParallelImageEncodingLimit> <CastReceiverApplications> <CastReceiverApplication> <Id>F007D354</Id> <Name>Stable</Name> </CastReceiverApplication> <CastReceiverApplication> <Id>6F511C87</Id> <Name>Unstable</Name> </CastReceiverApplication> </CastReceiverApplications> <TrickplayOptions> ``` Prior I had no Google Cast option, now when clicking Google Cast chrome just crashes. Chrome version 126 I have tried switching between stable and unstable in the GUI with both version having the same behavior. Nothing in the Jellyfin server logs. My Jellyfin Server version in 10.9.6 Any suggestions?
Author
Owner

@Ironeck87 commented on GitHub (Jan 5, 2025):

I have the same problem. I have checked system.xml on my server and the code is there, I dont know where the problem is.

@Ironeck87 commented on GitHub (Jan 5, 2025): I have the same problem. I have checked system.xml on my server and the code is there, I dont know where the problem is.
Author
Owner

@Malvachiaro commented on GitHub (Apr 6, 2025):

Same problem. The code is there. My chromecast devices are not listed. I tried to install the DLNA plugin but the smart TVs appear but not the chromecast devices. From the android app chromecast devices appears but if I try to cast a movie from the android app the text "ready to cast" remains but nothing happens. No logs. No network problem, no firewall.
PS A month ago it was casting perfectly from android app, now it doesn't work. But I haven't updated anything on the server and the android app hasn't been updated for months... I update everything but nothing changed. has something changed in the chromecast firmware?

@Malvachiaro commented on GitHub (Apr 6, 2025): Same problem. The code is there. My chromecast devices are not listed. I tried to install the DLNA plugin but the smart TVs appear but not the chromecast devices. From the android app chromecast devices appears but if I try to cast a movie from the android app the text "ready to cast" remains but nothing happens. No logs. No network problem, no firewall. PS A month ago it was casting perfectly from android app, now it doesn't work. But I haven't updated anything on the server and the android app hasn't been updated for months... I update everything but nothing changed. has something changed in the chromecast firmware?
Author
Owner

@QuinveY commented on GitHub (Jul 31, 2025):

I too have faced this issue now (@ server v10.10.7). I had been casting from my android app (from the play store) for over a year, and since last week suddenly no chromecast ready devices showed up anymore.
I checked the code in system.xml, and it was just the <CastReceiverApplications />. So I replaced it with the code like nielsvanvelzen wrote. And after this it works again! (Thanks Niels!)
I have no clue if this was somehow removed from the system.xml file, and why. I have faced random setting-changes before.

Allthough that seems to be off topic here, I would like to know if other people have faced random settings changes. (Like my libraries are sometimes just not set up anymore...)

@QuinveY commented on GitHub (Jul 31, 2025): I too have faced this issue now (@ server v10.10.7). I had been casting from my android app (from the play store) for over a year, and since last week suddenly no chromecast ready devices showed up anymore. I checked the code in `system.xml`, and it was just the `<CastReceiverApplications />`. So I replaced it with the code like nielsvanvelzen wrote. And after this it works again! (Thanks Niels!) I have no clue if this was somehow removed from the `system.xml` file, and why. I have faced random setting-changes before. Allthough that seems to be off topic here, I would like to know if other people have faced random settings changes. (Like my libraries are sometimes just not set up anymore...)
Author
Owner

@spencerrecneps commented on GitHub (Dec 15, 2025):

I seem to be having this issue too as of the last few weeks. I've confirmed is present in my system.xml as described above. I'm not seeing my chromecast on my Android app, or via web browser on multiple computers.
No log data whatsoever apart from routine ForceKeepAlive messages.

edit: I am able to use the Chromecast with no problem from other apps (VLC) and websites.

@spencerrecneps commented on GitHub (Dec 15, 2025): I seem to be having this issue too as of the last few weeks. I've confirmed <CastReceiverApplications> is present in my system.xml as described above. I'm not seeing my chromecast on my Android app, or via web browser on multiple computers. No log data whatsoever apart from routine ForceKeepAlive messages. edit: I am able to use the Chromecast with no problem from other apps (VLC) and websites.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#5663
No description provided.