llelectronics / videoPlayer

Video player for sailfish os
27 stars 19 forks source link

Don't turn of display while playing a video #18

Closed Adurol closed 7 years ago

Adurol commented 7 years ago

Feature Request: Add an option to disable turning off the display while playing a video

When I play a video with the LLs vPlayer, the display will automatically reduce the brightness and then turn off after a given time as set in the Display Settings. It is really cumbersome to wake up the display via tap every time when watching a video. It would be nice to have an option in the settings of the player to turn of the powersaving of the display while playing a video (an re-enable it afterwards).


my Display Settings:

llelectronics commented 7 years ago

This code here disables Screen suspension already: https://github.com/llelectronics/videoPlayer/blob/master/qml/pages/videoPlayer.qml#L793

Maybe you have a general issue with the dbus service. Have you tried restarting your phone. I am unable to reproduce the issue here neither on the Jolla 1, Jolla C or Jolla Tablet.

Adurol commented 7 years ago

Restarting the phone did the trick. Thank you. I'm not sure what it is, but I assume an other app interfered and so it wasn't working (or maybe just some bit flipped 😒).

llelectronics commented 7 years ago

Good to know that it works now :)