Screenblank fix (only keep screen on when video)
This commit is contained in:
parent
69be0689d6
commit
e3ca64391d
@ -7,7 +7,7 @@ import "../helpers/jsFunctions.js" as JSfunctions
|
||||
|
||||
Page {
|
||||
id: page
|
||||
property bool keepScreenOn: Qt.application.active && radioPlayer.isPlaying ? true : false
|
||||
property bool keepScreenOn: Qt.application.active && radioPlayer.isPlaying && radioPlayer.radioVideo ? true : false
|
||||
|
||||
allowedOrientations: radioPlayer.isPlaying && radioPlayer.radioVideo ? Orientation.All : Orientation.Portrait
|
||||
|
||||
|
@ -197,7 +197,7 @@ Page {
|
||||
if (model.url_resolved !== radioPlayer._url_resolved) {
|
||||
radioPlayer._favicon = model.favicon
|
||||
radioPlayer._name = model.name
|
||||
radioPlayer._countrycode = model.countrycode
|
||||
radioPlayer._cc = model.countrycode
|
||||
radioPlayer._tags = model.tags
|
||||
radioPlayer._codec = model.codec//getCodec(model.codec)
|
||||
radioPlayer._bitrate = model.bitrate //getBitrate(model.bitrate)
|
||||
|
Loading…
x
Reference in New Issue
Block a user