Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
763326bad4 | |||
ee810d0b71 | |||
![]() |
17ae2ed74e | ||
![]() |
171966f50e | ||
![]() |
2a6f417fb7 | ||
![]() |
321de98d61 |
@ -1,3 +1,3 @@
|
||||
# AllRadio2
|
||||
|
||||
A new version of AllRadio (An internet radio player)
|
||||
Changed to new repository (  ) because of naming confusion. This is building on the old name of AllRadio.
|
@ -14,6 +14,8 @@ TARGET = harbour-allradio
|
||||
|
||||
CONFIG += sailfishapp
|
||||
|
||||
DEFINES += APP_VERSION=\"\\\"$${VERSION}\\\"\"
|
||||
|
||||
SOURCES += src/harbour-allradio.cpp
|
||||
|
||||
DISTFILES += qml/harbour-allradio.qml \
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
Name: harbour-allradio
|
||||
|
||||
Summary: AllRadio
|
||||
Version: 2.0.21
|
||||
Version: 2.0.22
|
||||
Release: 1
|
||||
Group: Qt/Qt
|
||||
License: GPLv2
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user