MediaMonkey Woke Laptop from Standby and Started Playing [#21304]

Post a reply

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

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

Topic review
   

Expand view Topic review: MediaMonkey Woke Laptop from Standby and Started Playing [#21304]

Re: MediaMonkey Woke Laptop from Standby and Started Playing [#21304]

by MattTown » Sun Mar 30, 2025 11:52 pm

Rusty,
Sorry for the delay in reply. I don't frequently have my machine in standby from playing, but as it stands I haven't had a reoccurrence since the initial reports.
Cheers
Matt

Re: MediaMonkey Woke Laptop from Standby and Started Playing [#21304]

by rusty » Fri Feb 28, 2025 11:11 am

I see that this issue was marked as closed in 2024.1.3103. Can you confirm that this is no longer occurring for you with the latest RC?

Thanks!

-Rusty

Re: MediaMonkey Woke Laptop from Standby and Started Playing

by MattTown » Sat Oct 26, 2024 7:15 pm

CrashMonkey wrote: Sat Oct 26, 2024 8:55 am You can upload the file to: https://www.mediafire.com/ and share a link. (Or any other file sharing site)
Here it is: https://www.mediafire.com/file/yt1han8j ... s.txt/file
Thanks
Matt

Re: MediaMonkey Woke Laptop from Standby and Started Playing

by CrashMonkey » Sat Oct 26, 2024 8:55 am

You can upload the file to: https://www.mediafire.com/ and share a link. (Or any other file sharing site)

Re: MediaMonkey Woke Laptop from Standby and Started Playing

by MattTown » Wed Oct 23, 2024 7:34 pm

MattTown wrote: Wed Oct 09, 2024 7:22 pm
CrashMonkey wrote: Tue Oct 08, 2024 12:58 pm Can you also do this?

Open start menu, type cmd.exe right click item open as administrator
copy and paste line below and press enter:
powercfg /QH >"%UserProfile%\Desktop\PowerPlanSettings.txt"

On your desktop is a file created with all your power settings, please copy paste the text here, so we can see how your pc is setup exactly for sleep/power settings.
Tried it but got the error message "The system cannot find the path specified", suggestions?

Matt
Got there in the end, had to google CMD syntax and ended up using C:\windows\temp. But the file is 64K of text, hundreds of lines. I figured that you didn't that simply pasted in here, so if there is a way of attaching a non-image file I'd use that.

Re: MediaMonkey Woke Laptop from Standby and Started Playing

by Yerushalmi » Thu Oct 10, 2024 4:34 pm

I will if I can get it to reproduce reliably enough to catch it in the act... (though I'm fairly certain I opened a ticket on this some years ago).

Re: MediaMonkey Woke Laptop from Standby and Started Playing

by Peke » Thu Oct 10, 2024 3:07 pm

Yerushalmi wrote: Thu Oct 10, 2024 2:41 pm That's not my ticket - I'm the other guy in the conversation
Then open your own Ticket ;)

Re: MediaMonkey Woke Laptop from Standby and Started Playing

by Yerushalmi » Thu Oct 10, 2024 2:41 pm

Ludek wrote: Thu Oct 10, 2024 11:44 am
Yerushalmi wrote: Wed Oct 09, 2024 2:56 pm At least in my case, the issue happened all the time even if MediaMonkey was not playing.
Are you sure? Because in your log attached to ticket # 7688 I saw that MediaMonkey was playing once you initiated the sleep, this corresponds to the line:
00284515 42367.41015625 [13472] MM5 [13540](R) Player: Stored state, bookmark=8422, playing=true, paused=false

and later it woke up and the player state restored, line:
00284588 49643.45312500 [13472] MM5 [13540](R) Player: Restoring state, bookmark=8422, playing=true, paused=false

i.e. two hours later..
That's not my ticket - I'm the other guy in the conversation :)

Re: MediaMonkey Woke Laptop from Standby and Started Playing

by Ludek » Thu Oct 10, 2024 11:44 am

Yerushalmi wrote: Wed Oct 09, 2024 2:56 pm At least in my case, the issue happened all the time even if MediaMonkey was not playing.
Are you sure? Because in your log attached to ticket # 7688 I saw that MediaMonkey was playing once you initiated the sleep, this corresponds to the line:
00284515 42367.41015625 [13472] MM5 [13540](R) Player: Stored state, bookmark=8422, playing=true, paused=false

and later it woke up and the player state restored, line:
00284588 49643.45312500 [13472] MM5 [13540](R) Player: Restoring state, bookmark=8422, playing=true, paused=false

i.e. two hours later..

Something else that may be related: I have noticed that sometimes if MediaMonkey is idling in the background, and I plug in or unplug my headphones, it'll start playing in reaction to that as well.

Could it be that there's a bug in that it interprets a change in the audio out device as a command to start playing, which also activates when the computer wakes up from sleep?
Could you attach debug log of this to the ticket # 7688 ?
Ideally also describe at which times/debug lines you (un)pluged the headphones..

Re: MediaMonkey Woke Laptop from Standby and Started Playing

by Yerushalmi » Thu Oct 10, 2024 7:34 am

Something else that may be related: I have noticed that sometimes if MediaMonkey is idling in the background, and I plug in or unplug my headphones, it'll start playing in reaction to that as well.

Could it be that there's a bug in that it interprets a change in the audio out device as a command to start playing, which also activates when the computer wakes up from sleep?

Re: MediaMonkey Woke Laptop from Standby and Started Playing

by CrashMonkey » Thu Oct 10, 2024 7:21 am

Try this, and change, YOURWINUSERNAME with your username
powercfg /qh > "C:\Users\YOURWINUSERNAME\Desktop\PowerPlanSettings.txt"

Can you also run: and copy past output here. from a terminal with admin rights:
powercfg -waketimers

Also look at the Exact times it displays, and see if that is at the time you laptop woke up, perhaps something else woke up the laptop, and mm started playing as a result of that:

And the wake timers are not in control panel, i think there part of Scheduled Tasks.

Re: MediaMonkey Woke Laptop from Standby and Started Playing

by MattTown » Wed Oct 09, 2024 7:22 pm

CrashMonkey wrote: Tue Oct 08, 2024 12:58 pm Can you also do this?

Open start menu, type cmd.exe right click item open as administrator
copy and paste line below and press enter:
powercfg /QH >"%UserProfile%\Desktop\PowerPlanSettings.txt"

On your desktop is a file created with all your power settings, please copy paste the text here, so we can see how your pc is setup exactly for sleep/power settings.
Tried it but got the error message "The system cannot find the path specified", suggestions?

Matt

Re: MediaMonkey Woke Laptop from Standby and Started Playing

by MattTown » Wed Oct 09, 2024 7:16 pm

Rusty,
a) Yes I understand that if MM was playing when sleep occurred then the natural behavour would be for it to resume playing when sleep was terminated, no problem with that.
b) My recollection of my latest instance was that I did have MM paused (ie a song had been playing but was paused) when it went to sleep, so one problem could be that MM doesn't respect the paused play status on wake, as observed by Yerushalmi.
c) I don't see any startup options in Tools>Options, what is the user interaction path to get to the startup options?

Ludek,
Thanks for the link to a MS description of the Windows OS messages but that didn't help much (I'm not an OS system engineer) but it did lead on to a search for Wake Timers. Unfortuantely my Win10 control panel doesn't offer me the option to control Wake Timers, so my lesson is to terminate MM before putting the laptop to sleep.

Cheers
Matt

Re: MediaMonkey Woke Laptop from Standby and Started Playing

by Yerushalmi » Wed Oct 09, 2024 2:56 pm

At least in my case, the issue happened all the time even if MediaMonkey was not playing.

MediaMonkey would be open but not in use, paused, for hours upon hours on end. Then I put my computer to sleep. Then it would turn itself on and start playing whatever track happened to be loaded at the time.

I can't be 100% sure it's MM turning the computer back on, though, because the same thing would happen when I turned the computer on myself. MM would be paused, I'd put the computer to sleep, I'd wake it up, and then MM would start playing by itself - sometimes after a few minutes' delay.

So it's possible that something else unrelated to MM is waking up the computer, and the only bug is that MM starts playing in those cases even if it shouldn't.

Re: MediaMonkey Woke Laptop from Standby and Started Playing

by rusty » Wed Oct 09, 2024 2:43 pm

If the issue is that the PC went to sleep with MM playing and then resumes playback on wake (even when the PC wakes at unexpected hours), there are a couple of possible approaches:
a) leave things as is -- most people expect playback to resume on Wake
b) STOP playback just before the PC goes to sleep, since it's annoying for it to start automatically on Wake especially when the PC wakes unexpectedly
c) add an option along the following lines:
On startup: Stop | Pause at last position | Resume playback

Any thoughts?

Thanks!

-Rusty

EDIT: tracked at https://www.ventismedia.com/mantis/view.php?id=21304

Top