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

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

Moderator: Gurus

CrashMonkey
Posts: 223
Joined: Sat Oct 21, 2023 10:34 am

Re: MediaMonkey Woke Laptop from Standby and Started Playing

Post by CrashMonkey »

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.
Last edited by CrashMonkey on Thu Oct 10, 2024 7:55 am, edited 1 time in total.
I am using MediaMonkey on my Retro Systems, using the latest Beta build on Windows 11. Managing ~54k files
Yerushalmi
Posts: 81
Joined: Sun Apr 11, 2010 5:12 am

Re: MediaMonkey Woke Laptop from Standby and Started Playing

Post by Yerushalmi »

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?
Ludek
Posts: 5090
Joined: Fri Mar 09, 2007 9:00 am

Re: MediaMonkey Woke Laptop from Standby and Started Playing

Post by Ludek »

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..
Yerushalmi
Posts: 81
Joined: Sun Apr 11, 2010 5:12 am

Re: MediaMonkey Woke Laptop from Standby and Started Playing

Post by Yerushalmi »

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 :)
Peke
Posts: 18231
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: MediaMonkey Woke Laptop from Standby and Started Playing

Post by Peke »

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 ;)
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
Yerushalmi
Posts: 81
Joined: Sun Apr 11, 2010 5:12 am

Re: MediaMonkey Woke Laptop from Standby and Started Playing

Post by Yerushalmi »

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).
MattTown
Posts: 387
Joined: Sun Mar 15, 2009 5:09 pm
Location: Australia

Re: MediaMonkey Woke Laptop from Standby and Started Playing

Post by MattTown »

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.
MM 2024.1.0.3155 debug (WEF 4 Jun 2025, Portable Mode), Gold lifetime license, user since 2009.
Currently 29K 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.6.1251, Android 14 on Nokia XR20, music files on SD card.
CrashMonkey
Posts: 223
Joined: Sat Oct 21, 2023 10:34 am

Re: MediaMonkey Woke Laptop from Standby and Started Playing

Post by CrashMonkey »

You can upload the file to: https://www.mediafire.com/ and share a link. (Or any other file sharing site)
I am using MediaMonkey on my Retro Systems, using the latest Beta build on Windows 11. Managing ~54k files
MattTown
Posts: 387
Joined: Sun Mar 15, 2009 5:09 pm
Location: Australia

Re: MediaMonkey Woke Laptop from Standby and Started Playing

Post by MattTown »

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
MM 2024.1.0.3155 debug (WEF 4 Jun 2025, Portable Mode), Gold lifetime license, user since 2009.
Currently 29K 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.6.1251, Android 14 on Nokia XR20, music files on SD card.
rusty
Posts: 8844
Joined: Tue Apr 29, 2003 3:39 am
Location: Montreal, Canada

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

Post by rusty »

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
MattTown
Posts: 387
Joined: Sun Mar 15, 2009 5:09 pm
Location: Australia

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

Post by MattTown »

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
MM 2024.1.0.3155 debug (WEF 4 Jun 2025, Portable Mode), Gold lifetime license, user since 2009.
Currently 29K 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.6.1251, Android 14 on Nokia XR20, music files on SD card.
Post Reply