daksh2k / Spicetify-stuff

Some spicetify extensions!
https://daksh2k.me/Spicetify-stuff/
MIT License
204 stars 24 forks source link

[Feature Request]: The ability to keep the screen on when it's full screen #139

Open korjnghyn opened 9 months ago

korjnghyn commented 9 months ago

Choose the extension for feature request.

Full Screen Mode

📝 Provide a description of the new feature

I'm really enjoying your extension! I usually wash dishes and do other things while listening to Spotify, but since I got to know your extension, I've tried to use your full screen mode and keep the screen on. However, the screen automatically turned off after about a minute, just as the normal Windows. I know I can adjust the screen off time in the window settings, of course, but I don't want to, because that's going to apply to all other programs as well. What I want is just for the spotify full screen, the screen keeps turned on just like when a video is playing in windows.

➕ Additional Information

No response

SIMULATAN commented 9 months ago

Hi @korjnghyn, you can use the windows software Caffeine to prevent windows from going to sleep while the program is running. Take a look at -watchwindow - you could probably use it to automatically enable caffeine only when Spotify is open. One problem I found with this though is that, at least on my Linux system, the Spotify window is renamed to "Artist - Song", with no indication of Spotify in sight. If this doesn't resolve your problem, we'll have to ask daksh for assistance and how to proceed, I'm uncertain if this is still within the scope of the extension though.

daksh2k commented 9 months ago

I looked into it, it is possible using the wakelock api, but not sure when I'll get the time to implement it into the extension, have been a little busy.

Till then @korjnghyn you can try out @SIMULATAN solution.