Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
763326bad4 | |||
ee810d0b71 | |||
![]() |
17ae2ed74e | ||
![]() |
171966f50e | ||
![]() |
2a6f417fb7 | ||
![]() |
321de98d61 |
@ -1,3 +1,3 @@
|
|||||||
# AllRadio2
|
# 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
|
CONFIG += sailfishapp
|
||||||
|
|
||||||
|
DEFINES += APP_VERSION=\"\\\"$${VERSION}\\\"\"
|
||||||
|
|
||||||
SOURCES += src/harbour-allradio.cpp
|
SOURCES += src/harbour-allradio.cpp
|
||||||
|
|
||||||
DISTFILES += qml/harbour-allradio.qml \
|
DISTFILES += qml/harbour-allradio.qml \
|
||||||
|
@ -9,7 +9,7 @@ import "helpers"
|
|||||||
ApplicationWindow
|
ApplicationWindow
|
||||||
{
|
{
|
||||||
id: allRadio
|
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 _language: Qt.locale().name.slice(0,2)
|
||||||
property string _country: Qt.locale().name.slice(-2)
|
property string _country: Qt.locale().name.slice(-2)
|
||||||
property int sleepTime: 0
|
property int sleepTime: 0
|
||||||
|
@ -224,7 +224,7 @@ MediaPlayer {
|
|||||||
|
|
||||||
function playStream() {
|
function playStream() {
|
||||||
//console.log(" ********** URL : "+_url_resolved)
|
//console.log(" ********** URL : "+_url_resolved)
|
||||||
source = _url_resolved
|
source = Qt.resolvedUrl(_url_resolved)
|
||||||
play()
|
play()
|
||||||
isPlaying = true
|
isPlaying = true
|
||||||
isPaused = false
|
isPaused = false
|
||||||
|
@ -9,7 +9,7 @@ Column {
|
|||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
Timer {
|
Timer {
|
||||||
id: spTimer
|
id: spTimer
|
||||||
interval: 10000; running: visible ? true : false; repeat: false
|
interval: 5000; running: visible ? true : false; repeat: false
|
||||||
onTriggered: radioBrowser.getRandom(radioBrowser.serverUrl)
|
onTriggered: radioBrowser.getRandom(radioBrowser.serverUrl)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Name: harbour-allradio
|
Name: harbour-allradio
|
||||||
|
|
||||||
Summary: AllRadio
|
Summary: AllRadio
|
||||||
Version: 2.0.21
|
Version: 2.0.22
|
||||||
Release: 1
|
Release: 1
|
||||||
Group: Qt/Qt
|
Group: Qt/Qt
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
#include <QtQuick>
|
#include <QtQuick>
|
||||||
#endif
|
#endif
|
||||||
#include <sailfishapp.h>
|
#include <sailfishapp.h>
|
||||||
|
#include <QGuiApplication>
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
@ -18,5 +19,8 @@ int main(int argc, char *argv[])
|
|||||||
//QScopedPointer<QGuiApplication> app(SailfishApp::application(argc,argv));
|
//QScopedPointer<QGuiApplication> app(SailfishApp::application(argc,argv));
|
||||||
//app->setApplicationVersion(QString(APP_VERSION));
|
//app->setApplicationVersion(QString(APP_VERSION));
|
||||||
|
|
||||||
|
QScopedPointer<QGuiApplication> app(SailfishApp::application(argc,argv));
|
||||||
|
app->setApplicationVersion(QString(APP_VERSION));
|
||||||
|
|
||||||
return SailfishApp::main(argc, argv);
|
return SailfishApp::main(argc, argv);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user