Compare commits

..

No commits in common. "master" and "AllRadio2" have entirely different histories.

7 changed files with 5 additions and 11 deletions

View File

@ -1,3 +1,3 @@
# AllRadio2
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.
A new version of AllRadio (An internet radio player)

View File

@ -14,8 +14,6 @@ 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: Qt.application.version
property string _version: "2.0.21"
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 = Qt.resolvedUrl(_url_resolved)
source = _url_resolved
play()
isPlaying = true
isPaused = false

View File

@ -9,7 +9,7 @@ Column {
anchors.centerIn: parent
Timer {
id: spTimer
interval: 5000; running: visible ? true : false; repeat: false
interval: 10000; 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.22
Version: 2.0.21
Release: 1
Group: Qt/Qt
License: GPLv2

View File

@ -2,7 +2,6 @@
#include <QtQuick>
#endif
#include <sailfishapp.h>
#include <QGuiApplication>
int main(int argc, char *argv[])
{
@ -19,8 +18,5 @@ 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);
}