MM5 loses connection with Google Home and goes to sleep [#18017]

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: MM5 loses connection with Google Home and goes to sleep [#18017]

Re: MM5 loses connection with Google Home and goes to sleep [#18017]

by CraigG » Wed Jun 16, 2021 4:09 pm

Awesome - What was happening?

Re: MM5 loses connection with Google Home and goes to sleep [#18017]

by Ludek » Wed Jun 16, 2021 5:48 am

CraigG wrote: Tue Jun 15, 2021 10:59 pm Hey - new debug file: https://1drv.ms/u/s!AoM1UrOaoKUMkeESw6F ... w?e=SEUWB9
Thanks for the log!
I see the reason for the issue now, will be fixed in 2417 as https://www.ventismedia.com/mantis/view.php?id=18017

Re: MM5 loses connection with Google Home and goes to sleep [#18017]

by CraigG » Tue Jun 15, 2021 10:59 pm

Re: MM5 loses connection with Google Home and goes to sleep [#18017]

by CraigG » Sun Jun 13, 2021 3:44 pm

Hey - Usually I just double click on a track and it plays that track and shuffles to the next. In the example above, there was a huge playlist with plenty to move onto. But MM stopped after the first track.

I have upgraded and will keep an eye on this issue.

Re: MM5 loses connection with Google Home and goes to sleep

by Ludek » Fri Jun 11, 2021 9:54 am

And as for your second issue:
The one with (2) may also show a regular issue with MM. I click a tune expecting it to shuffle all the tracks in the playlist but it stops playing after playing the clicked track.
I see in the log that once the track has ended then there was no "current" track in the player. That's unexpected and I wonder how you clicked the track for shuffling all the tracks?
Do you mean right-clicking a track > Play shuffled > Play now ?
Can you elaborate which exact steps you are doing so that I could try to replicate for an easier understanding how this could happen?

Thanks!

EDIT: And as for your first issue (the logs without (2) appendix): Could you please upgrade to 2415 : https://www.mediamonkey.com/beta/MediaM ... _Debug.exe
and generate one more debug log of this issue, but be sure that the DbgView app is started prior to MM5 start? This is important so that the log includes all debug messages.

Thanks again!

Re: MM5 loses connection with Google Home and goes to sleep

by Ludek » Fri Jun 11, 2021 9:22 am

Thanks for the logs, I am analyzing the logs and entered the issue as https://www.ventismedia.com/mantis/view.php?id=18017

Re: MM5 loses connection with Google Home and goes to sleep

by CraigG » Fri Jun 11, 2021 12:09 am

Hi Ludek

It happened again now. My sleep setting is set to 15 minutes. New debug in the same folder above as well as a screen shot of two error messages.

There are two debug files. The one with (2) may also show a regular issue with MM. I click a tune expecting it to shuffle all the tracks in the playlist but it stops playing after playing the clicked track. I then double click another tune and it plays that track and consecutive ones after that, as expected.

Re: MM5 loses connection with Google Home and goes to sleep

by Ludek » Thu Jun 10, 2021 12:10 pm

OK, so it looks that this issue was not related to sleep settings, but rather random connection failure, are you still able to replicate this issue -- or it was a one time issue?

Re: MM5 loses connection with Google Home and goes to sleep

by CraigG » Wed Jun 09, 2021 10:14 pm

Hey - I changed the sleep to 1 min and let MM play and it didn't cut off after 5-10 minutes.

https://1drv.ms/u/s!AoM1UrOaoKUMkeESw6F ... w?e=ZWcryf

Re: MM5 loses connection with Google Home and goes to sleep

by CraigG » Mon Jun 07, 2021 3:44 pm

Hey - I turned the 'sleep' function off on the laptop, as per your request. Does Google Audio Cast have its own sleep timer? I can't see anything like that in the preferences.

I probably had the laptop set to 10 minutes on my original debug report.

I'll set it to 1 minute but i am away from home for a week so i'll have to come back to you.

Re: MM5 loses connection with Google Home and goes to sleep

by Ludek » Mon Jun 07, 2021 4:40 am

Hi,
this sounds like issue https://www.ventismedia.com/mantis/view.php?id=15089

But I was re-analyzing your debug log again now and seeing that it played for 33 minutes and that during that time we were correctly preventing PC from going to sleep by calling SetThreadExecutionState with ES_CONTINUOUS and ES_SYSTEM_REQUIRED every 30 seconds until the "Living Room speaker" stopped replying with MEDIA_STATUS and started replying with just PING.
So from the log it looks that the "PC sleep" was initiated after the device stopped sending its MEDIA_STATUS.

Did you (in your previous test when the log was generated) used also 10 minutes as the "sleep timeout" ?
Can you try to set sleep timeout just to 1 minute and try whether the PC goes to sleep despite casting to the "Living Room speaker" ? If yes, could you catch this in another log?

Thanks!

Re: MM5 loses connection with Google Home and goes to sleep

by CraigG » Fri Jun 04, 2021 11:26 pm

Doesn't seem likely. As mentioned, this issue only arose 2-3 versions of MM5 ago.

https://1drv.ms/u/s!AoM1UrOaoKUMkeBAXpH ... Q?e=QUYMBf

Re: MM5 loses connection with Google Home and goes to sleep

by Peke » Fri Jun 04, 2021 1:40 pm

Hi,
Windows 10 2004 introduced something called Deep Sleep which is sort half hibernate, half sleep eg. PC is shutdown, but due the sake of quick boot some portions are still in memory, maybe you are experiencing this. Can you please make screenshot of your windows power options?

Re: MM5 loses connection with Google Home and goes to sleep

by CraigG » Thu Jun 03, 2021 6:44 pm

Hi there

I disabled the sleep function on the laptop and have twice left MM to play. It didn't stop playback either time.

So, it seems the Windows sleep function is ignoring MM or MM is allowing the system to go to sleep sleep?

Re: MM5 loses connection with Google Home and goes to sleep

by Ludek » Thu Jun 03, 2021 3:09 am

Hi,
could you please do one more test with PC configured not to go to sleep at all?

I would like to know whether the reason for the lost connection is the Windows going to sleep or whether Windows goes to sleep as consequence of the lost conenction.

Thx.

Top