MediaMonkey Woke Laptop from Standby and Started Playing [#21304]
Moderator: Gurus
MediaMonkey Woke Laptop from Standby and Started Playing [#21304]
Hi,
Strange problem the other night.
I had downloaded and installed 3034 debug around midday, no problem. Later that night I stopped my editing session by simply closing the lid of the laptop, for which the laptop is configured to go to standby. The state of MM when I closed the lid was maximised with debugview running in the background and with a song partway through playing but (I think) with the playing stopped.
The problem was that, for the first time ever, Mediamonkey started playing at about 4 AM. I have nothing configured to have the machine automatically wake up, and this is the first time that such has happened. Even stranger was that the lid of the laptop was still closed when it stated playing - bizarre. I ended up shutting down the laptop entirely to stop the noise.
Given that I enjoy my sleep I'm not keen to try to replicate this in the early hours, but will experiment a bit with MM-up-Lid-close-standby during the day.
Cheers
Matt
Strange problem the other night.
I had downloaded and installed 3034 debug around midday, no problem. Later that night I stopped my editing session by simply closing the lid of the laptop, for which the laptop is configured to go to standby. The state of MM when I closed the lid was maximised with debugview running in the background and with a song partway through playing but (I think) with the playing stopped.
The problem was that, for the first time ever, Mediamonkey started playing at about 4 AM. I have nothing configured to have the machine automatically wake up, and this is the first time that such has happened. Even stranger was that the lid of the laptop was still closed when it stated playing - bizarre. I ended up shutting down the laptop entirely to stop the noise.
Given that I enjoy my sleep I'm not keen to try to replicate this in the early hours, but will experiment a bit with MM-up-Lid-close-standby during the day.
Cheers
Matt
MM 2024.1.0.3103 non-debug (WEF 21 Jan 2025, Portable Mode), Gold lifetime license, user since 2009.
Currently 28K files. Library and music files are on a separate partition (E:\) on external USB drive.
Windows Surface Book (Original), i5, 8GB RAM, 250GB SSD.
Win10 Pro 64 bit, update: 22H2 19045.5131
MMA 2.0.1.1214, Android 13 on Nokia XR20, music files on SD card.
Currently 28K files. Library and music files are on a separate partition (E:\) on external USB drive.
Windows Surface Book (Original), i5, 8GB RAM, 250GB SSD.
Win10 Pro 64 bit, update: 22H2 19045.5131
MMA 2.0.1.1214, Android 13 on Nokia XR20, music files on SD card.
Re: MediaMonkey Woke Laptop from Standby and Started Playing


I regularly use MM with the laptop closed and have never seen this. I'll try to replicate though.
I guess debugview was no longer running when this happened?
Thanks!
-Rusty
Re: MediaMonkey Woke Laptop from Standby and Started Playing
Thanks Rusty,
The laptop is configured to go into standby mode when the lid is closed, so Windows, MM and DebugView should have been in memory, but in a static state. So, DebugView wasn't running, but wasn't closed down, it should have been in Standby.
I don't have that machine configured to wake on events (as far as I know) so I don't know how MM could have caused it to wake. Unless some aspect of MM prevented the standby process from completing in the first place when I shut the lid.
Cheers
Matt
The laptop is configured to go into standby mode when the lid is closed, so Windows, MM and DebugView should have been in memory, but in a static state. So, DebugView wasn't running, but wasn't closed down, it should have been in Standby.
I don't have that machine configured to wake on events (as far as I know) so I don't know how MM could have caused it to wake. Unless some aspect of MM prevented the standby process from completing in the first place when I shut the lid.
Cheers
Matt
MM 2024.1.0.3103 non-debug (WEF 21 Jan 2025, Portable Mode), Gold lifetime license, user since 2009.
Currently 28K files. Library and music files are on a separate partition (E:\) on external USB drive.
Windows Surface Book (Original), i5, 8GB RAM, 250GB SSD.
Win10 Pro 64 bit, update: 22H2 19045.5131
MMA 2.0.1.1214, Android 13 on Nokia XR20, music files on SD card.
Currently 28K files. Library and music files are on a separate partition (E:\) on external USB drive.
Windows Surface Book (Original), i5, 8GB RAM, 250GB SSD.
Win10 Pro 64 bit, update: 22H2 19045.5131
MMA 2.0.1.1214, Android 13 on Nokia XR20, music files on SD card.
-
- Posts: 223
- Joined: Sat Oct 21, 2023 10:34 am
Re: MediaMonkey Woke Laptop from Standby and Started Playing
Happend to me a few times as well, but not only from MediaMonkey:
To find out what is triggering the wake up, use this:
Win10: https://www.tenforums.com/tutorials/631 ... -10-a.html
Win11: https://www.elevenforum.com/t/find-wake ... uter.7007/
To find out what is triggering the wake up, use this:
Win10: https://www.tenforums.com/tutorials/631 ... -10-a.html
Win11: https://www.elevenforum.com/t/find-wake ... uter.7007/
I am using MediaMonkey on my Retro Systems, using the latest Beta build on Windows 11. Managing ~54k files
Re: MediaMonkey Woke Laptop from Standby and Started Playing
Crashmonkey,
Thanks for that. Followed the link to the tutorial and found the wake event, but the device was listed as unknown.
As per the tutorial I have turned off the wake options for the network adapters.
If it happens again my best bet will be to close down MM before putting the laptop into standby.
Cheers
Matt
Thanks for that. Followed the link to the tutorial and found the wake event, but the device was listed as unknown.
As per the tutorial I have turned off the wake options for the network adapters.
If it happens again my best bet will be to close down MM before putting the laptop into standby.
Cheers
Matt
MM 2024.1.0.3103 non-debug (WEF 21 Jan 2025, Portable Mode), Gold lifetime license, user since 2009.
Currently 28K files. Library and music files are on a separate partition (E:\) on external USB drive.
Windows Surface Book (Original), i5, 8GB RAM, 250GB SSD.
Win10 Pro 64 bit, update: 22H2 19045.5131
MMA 2.0.1.1214, Android 13 on Nokia XR20, music files on SD card.
Currently 28K files. Library and music files are on a separate partition (E:\) on external USB drive.
Windows Surface Book (Original), i5, 8GB RAM, 250GB SSD.
Win10 Pro 64 bit, update: 22H2 19045.5131
MMA 2.0.1.1214, Android 13 on Nokia XR20, music files on SD card.
-
- Posts: 81
- Joined: Sun Apr 11, 2010 5:12 am
Re: MediaMonkey Woke Laptop from Standby and Started Playing
I have had this problem with MediaMonkey for years; I've just learned never to leave it running when I put the computer to sleep.
Re: MediaMonkey Woke Laptop from Standby and Started Playing
Happened again, ticket #7688 submitted with DbgView log.
Cheers
Cheers
MM 2024.1.0.3103 non-debug (WEF 21 Jan 2025, Portable Mode), Gold lifetime license, user since 2009.
Currently 28K files. Library and music files are on a separate partition (E:\) on external USB drive.
Windows Surface Book (Original), i5, 8GB RAM, 250GB SSD.
Win10 Pro 64 bit, update: 22H2 19045.5131
MMA 2.0.1.1214, Android 13 on Nokia XR20, music files on SD card.
Currently 28K files. Library and music files are on a separate partition (E:\) on external USB drive.
Windows Surface Book (Original), i5, 8GB RAM, 250GB SSD.
Win10 Pro 64 bit, update: 22H2 19045.5131
MMA 2.0.1.1214, Android 13 on Nokia XR20, music files on SD card.
Re: MediaMonkey Woke Laptop from Standby and Started Playing
How things are seen differently from one user to another

We hope that both logs can help us. Thank you for patience, we will get to bottom of it.
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying



How to attach PICTURE/SCREENSHOTS to forum posts
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying



How to attach PICTURE/SCREENSHOTS to forum posts
-
- Posts: 223
- Joined: Sat Oct 21, 2023 10:34 am
Re: MediaMonkey Woke Laptop from Standby and Started Playing
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.
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.
I am using MediaMonkey on my Retro Systems, using the latest Beta build on Windows 11. Managing ~54k files
Re: MediaMonkey Woke Laptop from Standby and Started Playing
Hi,
Just to say that Hybrid Sleep and Screen off is not same, only UWP apps can continue playing on Hybrid Sleep (S5 mode I think)
Just to say that Hybrid Sleep and Screen off is not same, only UWP apps can continue playing on Hybrid Sleep (S5 mode I think)
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying



How to attach PICTURE/SCREENSHOTS to forum posts
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying



How to attach PICTURE/SCREENSHOTS to forum posts
Re: MediaMonkey Woke Laptop from Standby and Started Playing
Hi,
the log is really huge and it includes almost 14 hours of logging,
I don't know what was 4 AM in the log, but supposing that it was the last playback start then
I can confirm that it was not user inituated, but playback was initiated by receiving
WM_POWERBROADCAST message with PBT_APMRESUMEAUTOMATIC
https://learn.microsoft.com/en-us/windo ... eautomatic
This message notifies applications that the system is resuming from sleep or hibernation. This event is delivered every time the system resumes and does not indicate whether a user is present.
So it looks like on your system the message is sent even if the computer is not resuming from sleep?
Re: MediaMonkey Woke Laptop from Standby and Started Playing
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
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
-
- Posts: 81
- Joined: Sun Apr 11, 2010 5:12 am
Re: MediaMonkey Woke Laptop from Standby and Started Playing
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.
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
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
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
Last edited by MattTown on Wed Oct 09, 2024 7:24 pm, edited 3 times in total.
MM 2024.1.0.3103 non-debug (WEF 21 Jan 2025, Portable Mode), Gold lifetime license, user since 2009.
Currently 28K files. Library and music files are on a separate partition (E:\) on external USB drive.
Windows Surface Book (Original), i5, 8GB RAM, 250GB SSD.
Win10 Pro 64 bit, update: 22H2 19045.5131
MMA 2.0.1.1214, Android 13 on Nokia XR20, music files on SD card.
Currently 28K files. Library and music files are on a separate partition (E:\) on external USB drive.
Windows Surface Book (Original), i5, 8GB RAM, 250GB SSD.
Win10 Pro 64 bit, update: 22H2 19045.5131
MMA 2.0.1.1214, Android 13 on Nokia XR20, music files on SD card.
Re: MediaMonkey Woke Laptop from Standby and Started Playing
Tried it but got the error message "The system cannot find the path specified", suggestions?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.
Matt
MM 2024.1.0.3103 non-debug (WEF 21 Jan 2025, Portable Mode), Gold lifetime license, user since 2009.
Currently 28K files. Library and music files are on a separate partition (E:\) on external USB drive.
Windows Surface Book (Original), i5, 8GB RAM, 250GB SSD.
Win10 Pro 64 bit, update: 22H2 19045.5131
MMA 2.0.1.1214, Android 13 on Nokia XR20, music files on SD card.
Currently 28K files. Library and music files are on a separate partition (E:\) on external USB drive.
Windows Surface Book (Original), i5, 8GB RAM, 250GB SSD.
Win10 Pro 64 bit, update: 22H2 19045.5131
MMA 2.0.1.1214, Android 13 on Nokia XR20, music files on SD card.