Jump to content

Casting music to Chromecast functionality not working recently


Recommended Posts

Posted (edited)

Hi all,

Not sure if this is the right area.

Emby server 4.8.10.0 running on Unraid
Media is stored on a QNAP and mounted via samba.
Android 15 with Emby for Android 3.4.20

I've been using Emby for years for all media.
I constantly cast my music to my chromecast speaker group and the functionality suddenly changed about a week ago.

I can still cast from my mobile (and Fire tablet) to the speaker group, but I can no longer control the playback.
The android media control behaves differently.
Sometimes I can see the media and pause/resume.
Sometimes I can't see what's playing.

I've just realised that this behaviour is dependent on if Emby on my mobile is attached to the session. Although I'm pretty sure that this used to work if I started the session from the Fire tablet.
If I ask google assistant to pause the music, it says it "can't find anything playing right now". This is even if the android media control works.

Sometimes the Emby session on the mobile loses connection and I can no longer control or reconnect to the session.

I've tried to use the Emby API and pause via the SessionService.
This works fine if playing from my android phone, but when I've cast the audio to the Chromecast speaker group, it sees the session (Client: Emby for Chromecast), and the POST command returns a 204, but nothing happens.
I can see the API calls in the log and there are no errors reported.

There's no issues playing videos on my Nvidia shield.

I'm at a loss.
Any assistance would be amazing.

thanks,

Cam

embyserver.txt

Edited by Oldjuju
Added extra information
  • Agree 1
  • 3 weeks later...
Posted

Hi @Oldjujucan you try this again? Are you still having an issue with this?

Posted

Hi Luke, just tried again. This is still an issue.

I played around with the Emby API to play/pause through node-red. It works fine while casting youtube music, but doesn't work with casting Emby.

Posted (edited)

This is an issue for me to. I cannot control playback by the speaker controls, Home App and over the Chromecast implementation in FHEM, IoBroker and Homeassistant. Setting volume does work. Play and pause does not. This worked perfectly until recently. It maybe that it worked before the upate to 4.8.x.. My children always used the button on the JBL Portable to pause and play. I thought the buttons were damaged until I realised that this is a problem with emby. 

I tested jellyfin to test if this is a general problem. But the implementation in jellyfin works fine with chromecast. Spotify, Youtube and other apps also don't habe a problem. I can pause them over Home app, FHEM, ioBroker and Homeassistant and the button also works.

Edited by skippa78
Posted (edited)

I have to correct: It seems that it worked until 4.8.10, 4.8.9 or 4.8.8.

And additionally the play-Status cannot be seen in the Chromecast implementation for HA, FHEM and ioBroker. Even in Android you cannot get the playstatus in the Home app or in the Status. This works perfectly with everey other media App I use (Youtube, Spotify, mutliple Webradio-Apps, Jellyfin (as test) ...).

Edited by skippa78
Posted

Thanks Skippa. (kinda) glad it's not just me.

I took all the other components out of the equation to work out which piece was the problem.

Home Assistant, zigbee buttons with zigbee2mqtt. But using these and just replacing the music source (YTM or jellyfin instead of Emby), every other music source cast to the same speaker group was controllable. Just Emby.
 

  • Agree 1
Posted

Hi, we're looking into this. Thanks for reporting.

  • Thanks 1
Posted

Idem, même symptômes...

Google home ne voit pas la diffusion de la musique sur mes enceintes qui se mettent en veille au bout d'une dizaine de minutes... Les boutons de l' enceinte sont inutilisables, le bluetooth pour contourner le problème mais plus de multiroom... La loose 

Fonctionne bien avec plex, youtube, Deezer.... Mais ni jellyfin, ni navigateur chrome...

Help je l'utilise énormément !

  • 1 month later...
Posted

How are your audio files encoded?  MP3 or something else?

  • 2 weeks later...
Posted
On 30/01/2025 at 21:15, Luke said:

MP3 et autres... Toujours les mêmes symptômes...

  • 2 weeks later...
Posted

Hi, can you try this again? Thanks.

  • 2 months later...
Posted
On 12/13/2024 at 5:07 AM, Luke said:

Hi, we're looking into this. Thanks for reporting.

Is there news about this? Seems that it should not be a big problem hence it worked at a time. Casting is very essential for a toll like emby, at least I would think so. Thanks. 

Posted
37 minutes ago, skippa78 said:

Is there news about this? Seems that it should not be a big problem hence it worked at a time. Casting is very essential for a toll like emby, at least I would think so. Thanks. 

Hi, yes we are still looking at it, thanks.

  • 3 weeks later...
Posted

Hi, please try this again and let us know if your issue is resolved. Thanks.

Posted

Victoire !!! Le problème semble résolu 👍

Le problème devait venir de google...

Merci a vous

  • Thanks 1
skippa78
Posted (edited)

If the problem was with google, I'd really like to know, why of around 15 Mediaplayer-Apps we use, only emby was affected. That seems weird. 

Edited by skippa78
Posted
16 hours ago, skippa78 said:

If the problem was with google, I'd really like to know, why of around 15 Mediaplayer-Apps we use, only emby was affected. That seems weird. 

@skippa78Hi, please try this again and let us know if your issue is resolved. Thanks.

skippa78
Posted

I did and it works, thanks. The question is, what was it now?

Posted
8 hours ago, skippa78 said:

I did and it works, thanks. The question is, what was it now?

It was an issue we identified in our chromecast receiver. Thanks.

skippa78
Posted

Ok. So the stament above from nono56 was not correct as I thought. 

Thank you very much!

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...