More cleaning
This commit is contained in:
parent
c44e84eb55
commit
57b978c4ec
qml/items
@ -39,7 +39,6 @@ Item {
|
|||||||
// ---------------------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------------------
|
||||||
|
|
||||||
onOnlineChanged: {
|
onOnlineChanged: {
|
||||||
console.log(" *** serverUrl: "+serverUrl)
|
|
||||||
if (online && serverUrl.length > 7) {
|
if (online && serverUrl.length > 7) {
|
||||||
countriesModel.source = serverUrl + "/xml/countrycodes?hidebroken=true"
|
countriesModel.source = serverUrl + "/xml/countrycodes?hidebroken=true"
|
||||||
} else getRandom()
|
} else getRandom()
|
||||||
|
@ -55,10 +55,7 @@ MediaPlayer {
|
|||||||
|
|
||||||
onPlaying: if (!playerPageOpen) pageStack.push("../pages/RadioPlayerPage.qml")
|
onPlaying: if (!playerPageOpen) pageStack.push("../pages/RadioPlayerPage.qml")
|
||||||
|
|
||||||
on_CcChanged: console.log(_cc)
|
|
||||||
|
|
||||||
onMetaInfoChanged: {
|
onMetaInfoChanged: {
|
||||||
console.log( " *** MetaInfo")
|
|
||||||
if (metaInfo.search(" - ") > -1) {
|
if (metaInfo.search(" - ") > -1) {
|
||||||
var res = metaInfo.split(" - ")
|
var res = metaInfo.split(" - ")
|
||||||
radioArtist = res[0]
|
radioArtist = res[0]
|
||||||
@ -70,7 +67,6 @@ MediaPlayer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onStationOkChanged: {
|
onStationOkChanged: {
|
||||||
console.log(" *** StationOk "+stationOk)
|
|
||||||
if (stationOk === 1) {
|
if (stationOk === 1) {
|
||||||
setStationClick()
|
setStationClick()
|
||||||
getStationFavorite(_stationuuid)
|
getStationFavorite(_stationuuid)
|
||||||
@ -82,7 +78,6 @@ MediaPlayer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
on_StationuuidChanged: {
|
on_StationuuidChanged: {
|
||||||
console.log(" *** StationuuidChanged: "+_cc)
|
|
||||||
radioCountryName = radioBrowser.getCountryName(_cc)
|
radioCountryName = radioBrowser.getCountryName(_cc)
|
||||||
stop()
|
stop()
|
||||||
source = ""
|
source = ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user