lively
lively copied to clipboard
Sleep not working when video wallpaper with audio is playing (mpv player)
Discussed in https://github.com/rocksdanister/lively/discussions/1107
Originally posted by Kuimera March 8, 2022 Hi,
I'm having issues with sleep/standby, with Lively on my pc wont go to sleep.. I check your solution, and the video is set to mpv as instructed, still, it won't go to sleep.
Any ideas?
Thank you.
This still happening, what I thought it was a fix, it was not, seems it was not using the audio drivers cause the desktop was out of focus, I did test the default wallpapers that comes with Lively, and this issue does not happen, only when I add custom video wallpapers.. The option to mute the wallpaper mutes the sound but it seems the software still using the sound drivers somehow..
Has a possible solution I checked Wallpaper Engine, and they have this in their options that fixes the issue:
Maybe when you got the time, you can do something for Lively? Option to disable the sound altogether would fix this.
Sorry to bother ya with this, really like Lively, just my computer not going to sleep is a problem for me..
Try this and see if sleep is working:
Create the file mpv.conf as follows:
<Lively install location>\plugins\mpv\portable_config\mpv.conf
mpv.conf:
--aid=no
For more information: https://github.com/rocksdanister/lively/wiki/Video-Guide#mpv https://mpv.io/manual/master/#options-aid
Mr. Danister, you are awesome! Works like a charm!
And I just test ti, it went to sleep.
Great, I'll add a settings option later.
This is still an issue a year later. Was this resolved or not? @rocksdanister
I have the Windows Store version, and do not see the directory mentioned to configure the mpv:
Should I install the version from this repo?
For Microsoft Store version of Lively, create the mpv.conf here by creating portable_config
folder:
%LocalAppData%\Packages\12030rocksdanister.LivelyWallpaper_97hta09mmv6hy\LocalCache\Local\Lively Wallpaper\Mpv\portable_config\
https://github.com/rocksdanister/lively/wiki/Video-Guide#mpv
This is still an issue a year later. Was this resolved or not? @rocksdanister
This is marked for v2.1 release milestone, so no. I am going to do disable audio similar to the solution listed here (this only affects some system soundcards.) so you can follow the workaround listed and don't have to wait for fix from my side.
ps. You don't have to ping me, I am subbed to all issues here.
mpv.conf:
--aid=no
For more information: https://github.com/rocksdanister/lively/wiki/Video-Guide#mpv https://mpv.io/manual/master/#options-aid
Do I add this line to a new blank file for mpv.conf
? Sorry, new to this. Otherwise, I'll just wait for the next release. Thanks!
Yes, its mpv player configuration file: https://github.com/mpv-player/mpv/blob/master/etc/mpv.conf
Yes, its mpv player configuration file: https://github.com/mpv-player/mpv/blob/master/etc/mpv.conf
I added this line in the new file, but it won't go to sleep and also won't present the "Lock" screen when stopping the screensaver. Guessing I did something wrong?
Did you verify with powercfg whats causing the problem in the first place?
Did you verify with powercfg whats causing the problem in the first place?
I see this, but the only thing coming up is my backup service. This never effected my screensaver/lock screen from appearing until I used Lively.
This is getting way off topic, what wallpaper are you running when sleep not working?
This is getting way off topic, what wallpaper are you running when sleep not working?
How is this off topic? The screen saver is causing my PC to not go to sleep. Isn't that what this issue is about?
I'm using the Rain wallpaper, but I don't even hear any sound. So what else would it be? I don't want to bother you if that's what I'm doing, but I wanted to find a post that met my issue, instead of opening a new one. Let me know how I can help otherwise. Thanks for your time.
This issue is about video wallpaper using player mpv player.. Rain is web wallpaper.
In your current Windows powerplan change Multimedia Settings > When Sharing Media
to Allow the computer to enter away mode
or Allow the computer to sleep.
This issue is about video wallpaper using player mpv player.. Rain is web wallpaper.
In your current Windows powerplan change
Multimedia Settings > When Sharing Media
toAllow the computer to enter away mode
orAllow the computer to sleep.
Ohhhhh! I never noticed that. It wouldn't surprise me if someone else misses that too. Especially non-technical users. I just changed my power plan settings, that should do it. Thanks! Hopefully this helps someone else too!