More bugfixing

This commit is contained in:
Niels
2025-06-07 18:45:08 +02:00
parent 30b3eb16c0
commit bcaf6006bf
9 changed files with 62 additions and 44 deletions
+1 -11
View File
@@ -1,5 +1,6 @@
import QtQuick 2.0
import Sailfish.Silica 1.0
Page {
Flickable {
id: flick
@@ -35,17 +36,6 @@ Page {
horizontalCenter: parent.horizontalCenter
}
}
Label {
width: parent.width-70
font.pixelSize: Theme.fontSizeSmall
text: qsTr("AllRadio is an internet radio station player")
anchors.horizontalCenter: parent.horizontalCenter
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignHCenter
height: 200
wrapMode: Text.WordWrap
}
}
}
}
+5 -5
View File
@@ -195,7 +195,7 @@ Page {
radioPlayer._stationuuid = model.stationuuid
radioPlayer.getStationFavorite(model.stationuuid)
radioPlayer.playlistIndex = index
}
} else radioPlayer.resumeStream()
}
}
}
@@ -237,7 +237,7 @@ Page {
radioPlayer._homepage = model.homepage
radioPlayer._stationuuid = model.stationuuid
radioPlayer.getStationFavorite(model.stationuuid)
}
} else radioPlayer.resumeStream()
}
}
}
@@ -303,7 +303,7 @@ Page {
radioPlayer._homepage = model.homepage
radioPlayer._stationuuid = model.stationuuid
radioPlayer.getStationFavorite(model.stationuuid)
}
} else radioPlayer.resumeStream()
}
}
}
@@ -344,7 +344,7 @@ Page {
radioPlayer._homepage = model.homepage
radioPlayer._stationuuid = model.stationuuid
radioPlayer.getStationFavorite(model.stationuuid)
}
} else radioPlayer.resumeStream()
}
}
}
@@ -381,7 +381,7 @@ Page {
radioPlayer._homepage = model.homepage
radioPlayer._stationuuid = model.stationuuid
radioPlayer.getStationFavorite(model.stationuuid)
}
} else radioPlayer.resumeStream()
}
}
}
+1 -1
View File
@@ -104,7 +104,7 @@ Page {
console.log("Index: "+index)
}
} else radioPlayer.resumeStream()
}
}
function updateFav() {
+1 -1
View File
@@ -53,7 +53,7 @@ Page {
radioPlayer._favorite = model.favorite ? true : false
radioPlayer.playlistIndex = favoriteView.currentIndex
//pageStack.push("RadioPlayerPage.qml")
}
} else radioPlayer.resumeStream()
}
}
function updateHist() {
+1 -1
View File
@@ -208,7 +208,7 @@ Page {
//radioPlayer._favorite = model.favorite ? true : false
radioPlayer.getStationFavorite(model.stationuuid)
// pageStack.push("RadioPlayerPage.qml")
}
} else radioPlayer.resumeStream()
}
}
}
+17 -1
View File
@@ -1,5 +1,7 @@
import QtQuick 2.0
import Sailfish.Silica 1.0
import "../helpers/db.js" as Favorites
Page {
Flickable {
id: flick
@@ -27,13 +29,27 @@ Page {
Label {
width: parent.width-70
font.pixelSize: Theme.fontSizeSmall
text: qsTr("Working on it.....")
text: qsTr("Working on more settings.....")
anchors.horizontalCenter: parent.horizontalCenter
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignHCenter
height: 200
wrapMode: Text.WordWrap
}
Label {
width: parent.width-70
font.pixelSize: Theme.fontSizeLarge
text: qsTr("WARNING! THis is for debugging or corrupt database. Only delete db if it is not working!!!")
anchors.horizontalCenter: parent.horizontalCenter
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignHCenter
wrapMode: Text.WordWrap
}
Button {
text: qsTr("Delete DB")
onClicked: Favorites.dropTable()
anchors.horizontalCenter: parent.horizontalCenter
}
}
}
}