Page 1 of 1
Chromecast Audio [#9036]
Posted: Mon Mar 27, 2017 3:27 am
by wippie
Hi, is the Chromecast functionality supposed to be working? I can see my Chromecast devices from MM5, but when one is selected, MM5 refuses to play a song.
Re: Chromecast Audio
Posted: Mon Mar 27, 2017 6:40 am
by Ludek
Yes, it is supposed to work.
Are you able to cast from the same PC using e.g. Chrome?
Could you please generate and share debug log (item 4b here:
http://www.mediamonkey.com/forum/viewto ... ?f=6&t=341 )
Thanks!
Re: Chromecast Audio
Posted: Mon Mar 27, 2017 7:30 am
by wippie
No problem casting from Chrome.
Internal Player MM5 works well. When I choose a chromecast, it is not just that I do not hear sound, MM5 refuses to play (without message), the song stays at 00:00:00. There are no messages, errors, crashes, freezes or anything else happening.
Debug (tested on chromecast named: Only The Living Room), this is what's shown when MM5 tries to play song:
[19736] Waiting for IpcRecv failed to read 8 bytes with error code 258
[21736] MM5 [18652](R) TChromecastPlayer.InvokeAction(GetTransportInfo, , ) on Only The Living Room
[21736] MM5 [18652](R) TChromecastPlayer.InvokeAction(GetTransportInfo, , ) on Only The Living Room
[19736] Waiting for IpcRecv failed to read 8 bytes with error code 258
[21736] MM5 [18652](R) TChromecastPlayer.InvokeAction(GetTransportInfo, , ) on Only The Living Room
[19736] Waiting for IpcRecv failed to read 8 bytes with error code 258
[21736] MM5 [18652](R) TChromecastPlayer.InvokeAction(GetTransportInfo, , ) on Only The Living Room
[19736] Waiting for IpcRecv failed to read 8 bytes with error code 258
[21736] MM5 [18652](R) TChromecastPlayer.InvokeAction(GetTransportInfo, , ) on Only The Living Room
[19736] Waiting for IpcRecv failed to read 8 bytes with error code 258
[19736] Waiting for IpcRecv failed to read 8 bytes with error code 258
[21736] MM5 [18652](R) TChromecastPlayer.InvokeAction(GetTransportInfo, , ) on Only The Living Room
[19736] Waiting for IpcRecv failed to read 8 bytes with error code 258
[21736] MM5 [18652](R) TChromecastPlayer.InvokeAction(GetTransportInfo, , ) on Only The Living Room
[19736] Waiting for IpcRecv failed to read 8 bytes with error code 258
[21736] MM5 [18652](R) TChromecastPlayer.InvokeAction(GetTransportInfo, , ) on Only The Living Room
[19736] Waiting for IpcRecv failed to read 8 bytes with error code 258
[19736] Waiting for IpcRecv failed to read 8 bytes with error code 258
[21736] MM5 [18652](R) TChromecastPlayer.InvokeAction(GetTransportInfo, , ) on Only The Living Room
[19736] Waiting for IpcRecv failed to read 8 bytes with error code 258
[21736] MM5 [18652](R) TChromecastPlayer.InvokeAction(GetTransportInfo, , ) on Only The Living Room
[19736] Waiting for IpcRecv failed to read 8 bytes with error code 258
[21736] MM5 [18652](R) TChromecastPlayer.InvokeAction(GetTransportInfo, , ) on Only The Living Room
[19736] Waiting for IpcRecv failed to read 8 bytes with error code 258
[19736] Waiting for IpcRecv failed to read 8 bytes with error code 258
[21736] MM5 [18652](R) TChromecastPlayer.InvokeAction(GetTransportInfo, , ) on Only The Living Room
[19736] Waiting for IpcRecv failed to read 8 bytes with error code 258
[19736] Waiting for IpcRecv failed to read 8 bytes with error code 258
[21736] MM5 [18652](R) TChromecastPlayer.InvokeAction(GetTransportInfo, , ) on Only The Living Room
[19736] Waiting for IpcRecv failed to read 8 bytes with error code 258
[21736] MM5 [18652](R) TChromecastPlayer.InvokeAction(GetTransportInfo, , ) on Only The Living Room
[21736] MM5 [18652](R) TChromecastPlayer.InvokeAction(GetTransportInfo, , ) on Only The Living Room
[19736] Waiting for IpcRecv failed to read 8 bytes with error code 258
[21736] MM5 [18652](R) TChromecastPlayer.InvokeAction(GetTransportInfo, , ) on Only The Living Room
[19736] Waiting for IpcRecv failed to read 8 bytes with error code 258
[21736] MM5 [18652](R) TChromecastPlayer.InvokeAction(GetTransportInfo, , ) on Only The Living Room
[19736] Waiting for IpcRecv failed to read 8 bytes with error code 258
[21736] MM5 [18652](R) TChromecastPlayer.InvokeAction(GetTransportInfo, , ) on Only The Living Room
[21736] MM5 [18652](R) TChromecastPlayer.InvokeAction(GetTransportInfo, , ) on Only The Living Room
[19736] Waiting for IpcRecv failed to read 8 bytes with error code 258
[19736] Waiting for IpcRecv failed to read 8 bytes with error code 258
[21736] MM5 [18652](R) TChromecastPlayer.InvokeAction(GetTransportInfo, , ) on Only The Living Room
[19736] Waiting for IpcRecv failed to read 8 bytes with error code 258
[21736] MM5 [18652](R) TChromecastPlayer.InvokeAction(GetTransportInfo, , ) on Only The Living Room
Re: Chromecast Audio
Posted: Mon Mar 27, 2017 8:04 am
by wippie
Yep, no problem casting from Chrome. MM5 on the other hand does not give any error, message, freeze or whatever, it just does not play song, song stays at 00:00:00. Internal player works well.
Using version 5.0.0.2062 Alpha on Windows 7 (64).
Debug gives me (when MM5 tries to play song):
00000001 0.00000000 [19736] Waiting for IpcRecv failed to read 8 bytes with error code 258
00000002 0.04793520 [21736] MM5 [18652](R) TChromecastPlayer.InvokeAction(GetTransportInfo, , ) on Only The Living Room
00000003 0.20012398 [19736] Waiting for IpcRecv failed to read 8 bytes with error code 258
00000004 0.29623386 [21736] MM5 [18652](R) TChromecastPlayer.InvokeAction(GetTransportInfo, , ) on Only The Living Room
etc. etc.
Re: Chromecast Audio
Posted: Tue Mar 28, 2017 7:44 am
by Ludek
Could you please share whole the log file? e.g. upload it to DropBox and share the link here?
They are some important messages like
Code: Select all
TChromeCastHandler.SendCastMessage: sender: sender-0, receiver: receiver-0, namespace: urn:x-cast:com.google.cast.tp.connection , JSON: {"type":"CONNECT"}
TChromeCastHandler.SendCastMessage: sender: sender-0, receiver: receiver-0, namespace: urn:x-cast:com.google.cast.tp.heartbeat , JSON: {"type":"PING"}
TChromeCastHandler.SendCastMessage: sender: sender-0, receiver: receiver-0, namespace: urn:x-cast:com.google.cast.receiver , JSON: {"type":"LAUNCH","appId":"CC1AD845","requestId":1}
TChromeCastHandler.OnCastMessage: {"type":"PONG"}
prepending the
Code: Select all
TChromecastPlayer.InvokeAction(GetTransportInfo
Thanks!
Re: Chromecast Audio
Posted: Tue Mar 28, 2017 10:47 am
by wippie
So I rebooted computer, ran debug, started up MM5 (with chromecast already selected as streaming option), gave it a moment, then pressed play, pause, play on same song. Here is the log file:
https://www.dropbox.com/s/t5y9fulyb1vai ... 4.LOG?dl=0
I don't think your important messages are in the log file.
Name of the Chromecast I used: Only The Living Room.
I'm running MM5 "out-of-the-box", meaning I did not change parameters except for selecting the chromecast, nor did I install extensions, etc.
Re: Chromecast Audio
Posted: Tue Mar 28, 2017 11:12 am
by Ludek
Hi,
thanks for the log, I see.
This looks like
http://www.ventismedia.com/mantis/view.php?id=13665 (to be fixed)
Workaround for you is to add the tracks into library at first (before playing).
Re: Chromecast Audio
Posted: Tue Mar 28, 2017 12:45 pm
by wippie
Yes!!!, that works, thanks Ludek!
Re: Chromecast Audio
Posted: Wed Mar 29, 2017 2:31 am
by wippie
So it works, but I can only select 1 Chromecast at a time. The Chromecast group I created (which works from Google Chrome) consisting of my 2 Chromecasts is not visible in the selection box.
Re: Chromecast Audio
Posted: Wed Mar 29, 2017 4:21 am
by Ludek
Re: Chromecast Audio
Posted: Wed Mar 29, 2017 5:29 am
by wippie
I searched the renderers without success under Tools-Options-Streaming-Multizone. Thanks to your link I could select them under Play-PlayTo.
However, even though the first song plays correctly to my 2 selected Chromecasts, when MM starts the second song, I loose one of the Chromecasts, eventhough they are still both selected in MM. Same thing happens when I change volume in MM when playing a song.
In MM, they are still both selected, but the second item selected is no longer streamed to.
When I restart MM, and play a song, it is streamed correctly again to both Chromecasts, until next song or volume change.
Re: Chromecast Audio
Posted: Wed Mar 29, 2017 5:37 am
by Ludek
OK, thanks for reporting, tracking as item m) here
http://www.ventismedia.com/mantis/view. ... 036#c47669 and will look into it.