Chromecast hangs while trying to connect [#13277]

Help improve MediaMonkey 5 by testing the latest pre-release builds, and reporting bugs and feature requests.

Moderator: Gurus

happynumbernine
Posts: 13
Joined: Mon Jul 16, 2018 9:23 pm

Re: Chromecast hangs while trying to connect [#13277]

Post by happynumbernine »

Good morning, Ludek. I went to take the screenshot as you requested, and found that I had added the rule, but the checkbox to enable it was not checked. I checked the box and restarted MM5, and the box still was not checked. So I checked it again and rebooted the PC, and then found that the checkbox did remain checked - and the audio worked!!!

I will add the rule for my other Chromecast devices and groups. I'll let you know if I have any further problems.

If I understand your messages correctly, you will be fixing this issue in future updates to MM5.

Once again, I very much appreciate your help and especially your patience in working through this with me!!

Best wishes, and stay healthy!!
Harrison
Ludek
Posts: 4947
Joined: Fri Mar 09, 2007 9:00 am

Re: Chromecast hangs while trying to connect [#13277]

Post by Ludek »

Hi,
I am glad that it works finally for you.

Ohtherwise yes -- based on your tests I added this rule to the default Chromecast profile in build 2240: https://www.ventismedia.com/mantis/view ... 277#c57505
So any new Chromecast (or all your Chromecasts on fresh MM5 install) will get this rules automatically so you won't need to configure anything.

Stay safe too!
CraigG
Posts: 71
Joined: Thu Sep 13, 2018 12:02 am

Re: Chromecast hangs while trying to connect [#13277]

Post by CraigG »

My casting doesn't hang but MM does crash aftger 10-15 minutes of casting to Google Home. My player shows an odd white line across the screen and everything is frozen/locked. You have to force quit to reset it.

See white line here: https://1drv.ms/u/s!AoM1UrOaoKUMkMMuxfX ... Q?e=whFFYG

If it doesnt do that, it tells me my Google Home is offline or unavailable. That's just not accurate and a quick double click on a tune will bring it all on again.
Lowlander
Posts: 56465
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: Chromecast hangs while trying to connect [#13277]

Post by Lowlander »

Is the connection to the Chromecast stable though? This could be either the PCs or Chromecasts connection to the network.
CraigG
Posts: 71
Joined: Thu Sep 13, 2018 12:02 am

Re: Chromecast hangs while trying to connect [#13277]

Post by CraigG »

Connection is stable. Everything else can cast without issue. This wasn't an issue until about two MM5 releases back. It is definitely an issue with new releases of MM
Lowlander
Posts: 56465
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: Chromecast hangs while trying to connect [#13277]

Post by Lowlander »

I can't reproduce on 2264, it casts without issue here. What exact device are you casting to? Also capture you casting experience in a debug log (step 4b) and attach it to a Support Ticket: https://www.mediamonkey.com/forum/viewt ... 30&t=86643
CraigG
Posts: 71
Joined: Thu Sep 13, 2018 12:02 am

Re: Chromecast hangs while trying to connect [#13277]

Post by CraigG »

Hi

I'm casting to Chromecast Audio. The debug is here: https://1drv.ms/u/s!AoM1UrOaoKUMkZIepeO ... w?e=u5mtlI

And a second one here in case that shows anything different: https://1drv.ms/u/s!AoM1UrOaoKUMkZIiVsv ... Q?e=6bMDUb
Ludek
Posts: 4947
Joined: Fri Mar 09, 2007 9:00 am

Re: Chromecast hangs while trying to connect [#13277]

Post by Ludek »

Hi, I've analyzed your logs, but the logs didn't give me enough info why the issue is happening for you. And I also haven't been able to replicate the issue.
I added more debug masseges though for the next build, so please generate a new debug log once the new build is available.

Thanks!
CraigG
Posts: 71
Joined: Thu Sep 13, 2018 12:02 am

Re: Chromecast hangs while trying to connect [#13277]

Post by CraigG »

Does this one show anything?

The MM stopped. the strange whilte line appeard over the screen and I had to force quit to close it. There is no error message. Just a frozen screen as per the image sent earlier.

https://1drv.ms/u/s!AoM1UrOaoKUMkZlX2FC ... g?e=qJOFoF
Ludek
Posts: 4947
Joined: Fri Mar 09, 2007 9:00 am

Re: Chromecast hangs while trying to connect [#13277]

Post by Ludek »

Still nothing, I added more debug messages to see more once you generate the debug log using 2265, the build should be available shortly.
Please subscribe this thread https://www.mediamonkey.com/forum/viewt ... 25#p471525 to be notified once 2265 is there.
CraigG
Posts: 71
Joined: Thu Sep 13, 2018 12:02 am

Re: Chromecast hangs while trying to connect [#13277]

Post by CraigG »

Hey Ludek

I downloaded the latest MM just now and generated this bug report: https://1drv.ms/u/s!AoM1UrOaoKUMkZoPOia ... g?e=rr17C8

The player stopped streaming. It didn't freeze MM this time which is what is has usually done. I see the report did note an error when the casting stopped. I clicked play again and it cast again fine.

This is an ongoing issue between MM and my Chromecast. The cast constantly falls away. I don't have this issue with any other player (android phone or Google's cast on Chrome).

Hope you can figure it out.
Ludek
Posts: 4947
Joined: Fri Mar 09, 2007 9:00 am

Re: Chromecast hangs while trying to connect [#13277]

Post by Ludek »

Hi,
thanks for the new log!

I see the issue now, your "Lounge" player has not replied its transport status for 4 seconds and MM5 thus considered it as "Turned off or inaccessible" and reported the message per: https://www.ventismedia.com/mantis/view.php?id=16671

i.e. starting from build 2260 if Chromecast is turned off during the playback then MM5 shows "The 'xxx player' is turned off or inaccessible." within 2 seconds, stops the playback and switches to the internal player.

I re-opened the issue to increase the timeout to 10 seconds (which should resolve your issues) and will be fixed in 2266.
So any build higher than 2265 (or lower than 2260) should work for you now.
CraigG
Posts: 71
Joined: Thu Sep 13, 2018 12:02 am

Re: Chromecast hangs while trying to connect [#13277]

Post by CraigG »

Awesome - thanks Ludek! Just to clarify though, my MM isn't successfully reverting to the player, it is actually freezing the player and requiring a forced quit in most curcumstances.

When do you think MM5 will be ready for general release? Must be getting close now?
happynumbernine
Posts: 13
Joined: Mon Jul 16, 2018 9:23 pm

Re: Chromecast hangs while trying to connect [#13277]

Post by happynumbernine »

Good morning. I have a new issue that appears similar to my previous problem. I am using MM 5.0.0.2338. Otherwise, no change to the system specs that I provided before. I was having problems with my MM library on the NAS with duplicates etc., so I reset the NAS and the MM5 library and started fresh.

Now when I try to Chromecast certain files with .aif or m4a extensions, I get the message "Playback failed: [filename] cannot be decoded." The files play ok (although with some distortion) when I play them via the Internal player. The affected files include the same file that we discussed before, which was an ALAC file in m4a format (Rikki Don't Lose That Number). So far, I have not encountered problems with other file formats.

I have checked the conversion rules for the Chromecast devices and have verified that the files are all being converted to MP3 format before casting, per the conversion rules that solved my problem last time..

This may or may not be related/part of the issue: The filename shown in the error message is a uuid://*.m4a. The filename shown in the track properties is http://192.168*.m4a. I don't understand networks or NAS file handling to know whether this is normal or whether I perhaps made an error when I restored the NAS and MM5.

I will try to send a debug file.

Thanks for any help you can provide.
Harrison
Lowlander
Posts: 56465
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: Chromecast hangs while trying to connect [#13277]

Post by Lowlander »

Please update to build 2422 as some bugs in this area have been fixed: viewtopic.php?f=30&t=86639&sd=d

Let us know if the problems persist in which case a debug log (step 4b) would be helpful: viewtopic.php?f=30&t=86643
Post Reply