Added autoplay function (can be changed in settings)
This commit is contained in:
@@ -229,6 +229,7 @@ MediaPlayer {
|
||||
isPaused = false
|
||||
qdTimer.start()
|
||||
if (_favorite) Favorites.setSetting("playlistIndex",playlistIndex)
|
||||
//appStartPlay = false
|
||||
}
|
||||
|
||||
function tryagain() {
|
||||
|
||||
+13
-9
@@ -6,7 +6,6 @@ import QtGraphicalEffects 1.0
|
||||
Column {
|
||||
id: column
|
||||
spacing: Theme.paddingMedium
|
||||
//property alias busy: busyIndicator.running
|
||||
anchors.centerIn: parent
|
||||
|
||||
Image {
|
||||
@@ -21,27 +20,32 @@ Column {
|
||||
source: parent
|
||||
color: Theme.highlightColor
|
||||
}
|
||||
// BusyIndicator {
|
||||
// size: BusyIndicatorSize.Large
|
||||
// anchors.centerIn: parent
|
||||
// running: parent.visible
|
||||
// }
|
||||
}
|
||||
|
||||
Label {
|
||||
text: radioBrowser.serversModel.count > 0 ? qsTr("Found")+": "+radioBrowser.serversModel.count + " "+qsTr("servers") : qsTr("Searching for servers...")
|
||||
BusyLabel {
|
||||
text: radioBrowser.serversModel.count > 0 ? qsTr("Found")+": "+radioBrowser.serversModel.count + " "+qsTr("servers") : qsTr("Searching servers")
|
||||
running: radioBrowser.serversModel.count < 1
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
}
|
||||
Label {
|
||||
BusyLabel {
|
||||
visible: radioBrowser.serversModel.count > 0
|
||||
running: visible
|
||||
text: qsTr("Connecting to:")
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
}
|
||||
Label {
|
||||
visible: radioBrowser.serversModel.count > 0
|
||||
text: radioBrowser.server
|
||||
font.pixelSize: Theme.fontSizeSmall
|
||||
color: Theme.highlightColor
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
}
|
||||
Button {
|
||||
visible: radioBrowser.serversModel.count > 1
|
||||
anchors.topMargin: Theme.paddingLarge
|
||||
text: "Try another server"
|
||||
onClicked: radioBrowser.getRandom()
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user