jmshrv / finamp

A Jellyfin music client for mobile
Mozilla Public License 2.0
1.67k stars 117 forks source link

Screen does not stay on #781

Open texneus opened 1 week ago

texneus commented 1 week ago

0.9.7 beta - The screen always seems to timeout on me. There are instances when I want it to stay on, such as when I'm listening at my desk so I can see what's playing and to use the transport controls. How about a user toggle to keep the screen on/prevent the screen from sleeping while Finamp is playing? I don't see a way to keep it alive (if there is an option for this, I can't find it).

Chaphasilor commented 1 week ago

Hmm, I've simply used an Android quick settings tile that prevents the screen from sleeping. Didn't ever think about adding that to Finamp, since the main content isn't visual. It's probably doable, but I'm not sure. Which platform are you on?

Also, where exactly would you want the screen to stay on? Everywhere, or just in specific scenarios?

texneus commented 1 week ago

I'm on Android 12 (I think). Quick settings in Android 12 became a mess. There are way too many options now so 99% of them are so buried it's easier to go through system settings. I never thought of that route, but I don't seem to have a quick setting to keep the screen on anyhow. Odd.

In anycase, if it just stays on when playing and the "now playing" screen is showing, that would satisfy me. If doable - I think it would be wise if when playback stops or if playing AND the phone switches to battery the screen sleeps as normal.

Chaphasilor commented 1 week ago

I use an app aptly named "Keep screen on"/which changes the screen timeout using a quick settings toggle.

Okay, so conditions would be:

?