Compare commits

...

6 Commits

Author SHA1 Message Date
763326bad4 Update README.md 2025-07-14 17:16:45 +02:00
ee810d0b71 Update README.md 2025-07-14 17:12:46 +02:00
Niels
17ae2ed74e Change timeout for serversearch 2025-06-26 17:59:20 +02:00
Niels
171966f50e Readded version function. 2025-06-21 11:33:46 +02:00
Niels
2a6f417fb7 Version 2.0.22 2025-06-21 11:01:13 +02:00
Niels
321de98d61 test url_resolved 2025-06-20 21:49:09 +02:00
7 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,3 @@
# AllRadio2
A new version of AllRadio (An internet radio player)
Changed to new repository ( ![harbour-allradio2](https://gitea.nesnomis.nu/nesnomis/harbour-allradio2) ) because of naming confusion. This is building on the old name of AllRadio.

View File

@ -14,6 +14,8 @@ TARGET = harbour-allradio
CONFIG += sailfishapp
DEFINES += APP_VERSION=\"\\\"$${VERSION}\\\"\"
SOURCES += src/harbour-allradio.cpp
DISTFILES += qml/harbour-allradio.qml \

View File

@ -9,7 +9,7 @@ import "helpers"
ApplicationWindow
{
id: allRadio
property string _version: "2.0.21"
property string _version: Qt.application.version
property string _language: Qt.locale().name.slice(0,2)
property string _country: Qt.locale().name.slice(-2)
property int sleepTime: 0

View File

@ -224,7 +224,7 @@ MediaPlayer {
function playStream() {
//console.log(" ********** URL : "+_url_resolved)
source = _url_resolved
source = Qt.resolvedUrl(_url_resolved)
play()
isPlaying = true
isPaused = false

View File

@ -9,7 +9,7 @@ Column {
anchors.centerIn: parent
Timer {
id: spTimer
interval: 10000; running: visible ? true : false; repeat: false
interval: 5000; running: visible ? true : false; repeat: false
onTriggered: radioBrowser.getRandom(radioBrowser.serverUrl)
}

View File

@ -1,7 +1,7 @@
Name: harbour-allradio
Summary: AllRadio
Version: 2.0.21
Version: 2.0.22
Release: 1
Group: Qt/Qt
License: GPLv2

View File

@ -2,6 +2,7 @@
#include <QtQuick>
#endif
#include <sailfishapp.h>
#include <QGuiApplication>
int main(int argc, char *argv[])
{
@ -18,5 +19,8 @@ int main(int argc, char *argv[])
//QScopedPointer<QGuiApplication> app(SailfishApp::application(argc,argv));
//app->setApplicationVersion(QString(APP_VERSION));
QScopedPointer<QGuiApplication> app(SailfishApp::application(argc,argv));
app->setApplicationVersion(QString(APP_VERSION));
return SailfishApp::main(argc, argv);
}