diff --git a/qml/pages/RadioPlayerPage.qml b/qml/pages/RadioPlayerPage.qml index f7e3f1e..03f034b 100644 --- a/qml/pages/RadioPlayerPage.qml +++ b/qml/pages/RadioPlayerPage.qml @@ -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 diff --git a/qml/pages/SearchStationsPage.qml b/qml/pages/SearchStationsPage.qml index b11f7be..d032fb7 100644 --- a/qml/pages/SearchStationsPage.qml +++ b/qml/pages/SearchStationsPage.qml @@ -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)