Compare commits

...

19 Commits

Author SHA1 Message Date
Niels affe35ef35 Small changes, and fixing for chum repo 2025-06-14 17:29:39 +02:00
Niels c74865f99c License added 2025-06-12 20:11:42 +02:00
Niels a50dda245f Language management 2025-06-12 19:51:55 +02:00
Niels ed8dcd979c Bump version to 2.0.20 2025-06-12 19:51:30 +02:00
Niels 3c7f0bd111 Failower attempt when radio servers are unstable 2025-06-12 19:51:09 +02:00
Niels 483b8da4e8 Translations 2025-06-09 17:33:44 +02:00
Niels f6a2fff0ff Translations 2025-06-09 16:50:23 +02:00
Niels 7113a16dd6 Cleaning, fixing and translation 2025-06-09 16:24:42 +02:00
Niels 61b8e89c31 Version 2.0.19 2025-06-08 21:12:55 +02:00
Niels 828266a1dd Translations 2025-06-08 21:11:41 +02:00
Niels f4fa0b9793 Translations 2025-06-08 20:39:57 +02:00
Niels e3ca64391d Screenblank fix (only keep screen on when video) 2025-06-08 12:32:38 +02:00
Niels 69be0689d6 Added autoplay function (can be changed in settings) 2025-06-08 12:21:38 +02:00
Niels 158b40516a Version 2.0.17 2025-06-07 22:07:05 +02:00
Niels 094b9a237d Corrected wrong string. 2025-06-07 22:05:19 +02:00
Niels a397c0e8ae Fixing (again) :-) 2025-06-07 19:26:46 +02:00
Niels 5bdbecfc74 More bugfixing 2025-06-07 19:22:25 +02:00
Niels 57b978c4ec More cleaning 2025-06-07 19:05:22 +02:00
Niels c44e84eb55 Make shure serverurl is ok! 2025-06-07 19:01:39 +02:00
32 changed files with 14029 additions and 490 deletions
+340
View File
@@ -0,0 +1,340 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
<https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Moe Ghoul>, 1 April 1989
Moe Ghoul, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
+12 -5
View File
@@ -17,6 +17,7 @@ CONFIG += sailfishapp
SOURCES += src/harbour-allradio.cpp
DISTFILES += qml/harbour-allradio.qml \
LICENSE \
qml/cover/CoverPage.qml \
qml/items/HeaderButton.qml \
qml/items/RadioMprisPlayer.qml \
@@ -27,7 +28,6 @@ DISTFILES += qml/harbour-allradio.qml \
qml/pages/FavoritesPage.qml \
qml/pages/HistoryPage.qml \
qml/pages/SearchStationsPage.qml \
qml/pages/SecondPage.qml \
qml/pages/SettingsPage.qml \
qml/pages/TagListPage.qml \
rpm/harbour-allradio.spec \
@@ -41,8 +41,15 @@ SAILFISHAPP_ICONS = 86x86 108x108 128x128 172x172
# following CONFIG line
CONFIG += sailfishapp_i18n
# German translation is enabled as an example. If you aren't
# planning to localize your app, remember to comment out the
# following TRANSLATIONS line. And also do not forget to
# modify the localized app name in the the .desktop file.
# Translation files for the most downloaded countries on openrepos (except danish, i will translate that).
TRANSLATIONS += translations/harbour-allradio-de.ts
TRANSLATIONS += translations/harbour-allradio-sv.ts
TRANSLATIONS += translations/harbour-allradio-da.ts
TRANSLATIONS += translations/harbour-allradio-en.ts
TRANSLATIONS += translations/harbour-allradio-es.ts
TRANSLATIONS += translations/harbour-allradio-fi.ts
TRANSLATIONS += translations/harbour-allradio-fr.ts
TRANSLATIONS += translations/harbour-allradio-it.ts
TRANSLATIONS += translations/harbour-allradio-pl.ts
TRANSLATIONS += translations/harbour-allradio-ru.ts
TRANSLATIONS += translations/harbour-allradio-uk.ts
+1 -1
View File
@@ -9,7 +9,7 @@ import "helpers"
ApplicationWindow
{
id: allRadio
property string _version: "2.0.16"
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
+7 -6
View File
@@ -82,16 +82,17 @@ DockedPanel {
font.bold: true
text: radioPlayer._name
}
Row {
spacing: Theme.paddingMedium
Image {
// Row {
// spacing: Theme.paddingMedium
/* Image {
id: headerLogo
anchors.bottom: rcountry.bottom
height: rcountry.height * 0.8
fillMode: Image.PreserveAspectFit
smooth: true
source: radioPlayer._countrycode === "" ? radioPlayer._countrycode ? "../images/bycountry_t.png" : "" : "../flags/"+radioPlayer._countrycode.toLowerCase()+".png"
}
// source: radioPlayer._cc === "" ? radioPlayer._cc ? "../images/bycountry_t.png" : "" : "../flags/"+radioPlayer._cc.toLowerCase()+".png"
source: "../flags/"+radioPlayer._cc.toLowerCase()+".png"
} */
Label {
id: rcountry
color: Theme.secondaryColor
@@ -99,7 +100,7 @@ DockedPanel {
width: parent.width
elide: Text.ElideRight
text: radioPlayer.radioCountryName
}
// }
}
}
}
+62 -7
View File
@@ -20,8 +20,11 @@ Item {
property string _useragent: "AllRadio/2.0.0 (test) (SailfishOS; Linux) nesnomis@gmail.com"
property int _tags: 0
property int _countries: 0
property int _c: 0
// Properties to be used in application -------------------------------------------------
property ListModel serversModel : ListModel { id: serversModel }
property ListModel serverStatsModel : ListModel { id: serverStatsModel }
property ListModel votedModel : ListModel {id: votedModel}
property CountryListModel countriesModel : CountryListModel {id:countriesModel}
//property TagListModel tagsModel : TagListModel {id:tagsModel}
@@ -34,9 +37,44 @@ Item {
//property int viewTagCount: tagsModel.maxCount
property int countryCount: 0
property bool loading: stationCount !== 0 && tagCount !== 0 && countryCount !== 0 ? false : true
property string lookup: "http://all.api.radio-browser.info/json/servers"
property int serverIndex: 0
property int connectIndex: -1
property string lookup: sModel.get(serverIndex).url //"http://fi2.api.radio-browser.info/json/servers"
// ---------------------------------------------------------------------------------------
Timer {
id: sTimer
interval: 2000; running: false; repeat: false
onTriggered: {
if (serverIndex < sModel.count-1) serverIndex = serverIndex + 1; else serverIndex = 0
getList()
}
}
//onServerIndexChanged: console.log(" ******* LOOKUP ******** ")+serverIndex
ListModel {
id: sModel
ListElement {
name: "all.api.radio-browser.info"
url: "http://all.api.radio-browser.info/json/servers"
}
ListElement {
name: "de1.api.radio-browser.info"
url: "http://de1.api.radio-browser.info/json/servers"
}
ListElement {
name: "de2.api.radio-browser.info"
url: "http://de2.api.radio-browser.info/json/servers"
}
ListElement {
name: "fi1.api.radio-browser.info"
url: "http://fi1.api.radio-browser.info/json/servers"
}
ListElement {
name: "fi3.api.radio-browser.info"
url: "http://fi3.api.radio-browser.info/json/servers"
}
}
onOnlineChanged: {
if (online && serverUrl !== "") {
@@ -53,13 +91,20 @@ Item {
getStats()
} */
function connectServer(index) {
if (serversModel.count > 0) {
server = serversModel.get(index).server
if (serverUrl.length > 7 && url !== serverUrl) {loading=true;serverIndex = index;sTimer.running=false;getStats();} else {loading=true;serverIndex = index;getRandom();}
}
}
// Choose a random server from available servers
function getRandom() {
function getRandom(url) {
if (serversModel.count > 0) {
var random = Math.floor((Math.random() * serversModel.count) + 1) - 1
serverUrl = serversModel.get(random).serverUrl
server = serversModel.get(random).server
getStats()
if (serverUrl.length > 7 && url !== serverUrl) {sTimer.running=false;getStats();serverIndex=random} else getRandom();
}
}
@@ -68,14 +113,24 @@ Item {
var req = new XMLHttpRequest();
req.onreadystatechange = function () {
if (req.readyState === 4 && req.status < 300) {
var obj = JSON.parse(req.responseText)
serversModel.clear()
for (var key in obj) {
addIfNotExist(obj[key])
}
getRandom()
} else if (req.readyState === 4 && req.status > 299) {lookup="http://de2.api.radio-browser.info/json/servers";getList();}
sTimer.running = false
//console.log(" *** lookup *** "+serverIndex+": "+lookup)
getRandom(lookup)
} else if (req.readyState === 4 && req.status > 299) {
if (serverIndex < sModel.count-1) serverIndex=serverIndex+1; else serverIndex=0;
lookup=sModel.get(serverIndex).url
//console.log(" *** lookup *** "+serverIndex+": "+lookup)
getList();
}
};
sTimer.running = true
//console.log(" *** START : "+lookup)
req.open("get", lookup);
req.setRequestHeader('User-Agent',_useragent);
req.send();
@@ -102,7 +157,7 @@ Item {
tagCount = obj.tags
if (obj.status === "OK") {online = true} else {online = false}
}
} else if (req.readyState === 4 && req.status > 299) getRandom()
}
};
req.open("get", serverUrl+"/json/stats");
req.setRequestHeader('User-Agent',_useragent);
+1 -1
View File
@@ -11,7 +11,7 @@ MprisPlayer {
identity: "AllRadio2"
supportedUriSchemes: ["file"]
supportedMimeTypes: ["audio/x-wav", "audio/x-vorbis+ogg", "audio/mpeg", "audio/mp4a-latm", "audio/x-aiff"]
supportedMimeTypes: ["audio/x-wav", "audio/x-vorbis+ogg", "audio/mpeg", "audio/mp4a-latm", "audio/x-aiff", "audio/flac"]
canControl: true
canGoNext: radioPlayer.playlistIndex < radioPlayer.playlist.count -1 && radioPlayer._favorite
+2 -7
View File
@@ -55,10 +55,7 @@ MediaPlayer {
onPlaying: if (!playerPageOpen) pageStack.push("../pages/RadioPlayerPage.qml")
on_CcChanged: console.log(_cc)
onMetaInfoChanged: {
console.log( " *** MetaInfo")
if (metaInfo.search(" - ") > -1) {
var res = metaInfo.split(" - ")
radioArtist = res[0]
@@ -70,7 +67,6 @@ MediaPlayer {
}
onStationOkChanged: {
console.log(" *** StationOk "+stationOk)
if (stationOk === 1) {
setStationClick()
getStationFavorite(_stationuuid)
@@ -82,7 +78,6 @@ MediaPlayer {
}
on_StationuuidChanged: {
console.log(" *** StationuuidChanged: "+_cc)
radioCountryName = radioBrowser.getCountryName(_cc)
stop()
source = ""
@@ -228,12 +223,14 @@ MediaPlayer {
}
function playStream() {
//console.log(" ********** URL : "+_url_resolved)
source = _url_resolved
play()
isPlaying = true
isPaused = false
qdTimer.start()
if (_favorite) Favorites.setSetting("playlistIndex",playlistIndex)
//appStartPlay = false
}
function tryagain() {
@@ -285,7 +282,6 @@ MediaPlayer {
}
function loadRecentPlay(){
if (playHistory.count > 0) {
if (playHistory.get(0).url_resolved) {
_favicon = playHistory.get(0).favicon
_name = playHistory.get(0).name
@@ -305,7 +301,6 @@ MediaPlayer {
// pageStack.push("RadioPlayerPage.qml")
}
}
}
function loadRandomPlay(){
var rnd = Math.floor(Math.random() * playlist.count)
+23 -12
View File
@@ -6,8 +6,12 @@ import QtGraphicalEffects 1.0
Column {
id: column
spacing: Theme.paddingMedium
//property alias busy: busyIndicator.running
anchors.centerIn: parent
Timer {
id: spTimer
interval: 10000; running: visible ? true : false; repeat: false
onTriggered: radioBrowser.getRandom(radioBrowser.serverUrl)
}
Image {
id: logo
@@ -21,27 +25,34 @@ Column {
source: parent
color: Theme.highlightColor
}
// BusyIndicator {
// size: BusyIndicatorSize.Large
// anchors.centerIn: parent
// running: parent.visible
// }
}
Label {
text: radioBrowser.serversModel.count > 0 ? qsTr("Found")+": "+radioBrowser.serversModel.count + " "+qsTr("servers") : qsTr("Searching for servers...")
BusyLabel {
width: parent.width
text: radioBrowser.serversModel.count > 0 ? qsTr("Found")+": "+radioBrowser.serversModel.count + " "+qsTr("servers") : qsTr("Searching servers")
running: radioBrowser.serversModel.count < 1
anchors.horizontalCenter: parent.horizontalCenter
}
BusyLabel {
width: parent.width
visible: radioBrowser.serversModel.count > 0
running: visible
text: qsTr("Connecting")
anchors.horizontalCenter: parent.horizontalCenter
}
Label {
visible: radioBrowser.serversModel.count > 0
text: qsTr("Connecting to:")
anchors.horizontalCenter: parent.horizontalCenter
}
Label {
text: radioBrowser.server
font.pixelSize: Theme.fontSizeSmall
color: Theme.highlightColor
anchors.horizontalCenter: parent.horizontalCenter
}
/* Button {
visible: radioBrowser.serversModel.count > 1 && !spTimer.running
anchors.topMargin: Theme.paddingLarge
text: qsTr("Try another server")
onClicked: radioBrowser.getRandom(radioBrowser.serverUrl)
anchors.horizontalCenter: parent.horizontalCenter
} */
}
+26 -1
View File
@@ -14,6 +14,8 @@ Page {
anchors.fill: parent
anchors.bottomMargin: mediaPlayerPanel.visibleSize
property int _appStart: Favorites.getSetting("appStart",0)
property bool _loading: radioBrowser.loading
property bool stationOk: radioPlayer.stationOk
property bool online: radioBrowser.online
property GetCountryStations getTrending1: GetCountryStations {id: getTrending1}
@@ -28,6 +30,12 @@ Page {
onOnlineChanged: if (online) reloadDbData()
onStationOkChanged: if (stationOk) reloadDbData()
on_LoadingChanged: {
if (!_loading) {
appAutoPlay()
//console.log(" *** AUTOPLAY")
} //else console.log(" *** INTE AUTOPLAY")
}
Splash {
id: splashItem
@@ -272,7 +280,7 @@ Page {
HeaderButton {
visible: radioBrowser.getCountryName(_country) || playedCountries.count > 0 ? true : false
headerText: playedCountries.count > 0 ? qsTr("Trending in")+ " " + radioBrowser.getCountryName(playedCountries.get(0).alpha_2) : qsTr("Trending in") + " " + radioBrowser.getCountryName(_country)
onClicked: pageStack.push("CountryStationsPage.qml",{searchby:"clicktrend",_countrycode: playedCountries.get(0).alpha_2})
onClicked: pageStack.push("CountryStationsPage.qml",{searchby:"clicktrend",_countrycode: playedCountries.count > 0 ? playedCountries.get(0).alpha_2 : _country})
}
GridView {
@@ -388,6 +396,23 @@ Page {
}
}
function appAutoPlay() {
switch (_appStart) {
case 0:
break;
case 1:
radioPlayer.loadRecentPlay()
radioPlayer.playStream()
break;
case 2:
radioPlayer.loadRandomPlay()
radioPlayer.playStream()
break;
default:
break;
}
}
function reloadDbData() {
Favorites.getTagsRecentClicked(playedTags,15)
Favorites.getFavorites(favorites,"myclickcount",15)
+2 -2
View File
@@ -20,12 +20,12 @@ Page {
header: Column {
width: parent.width
PageHeader {title: "Community Radio Browser";description: "Found "+view.count + " countries"}
PageHeader {title: "Community Radio Browser";description: qsTr("Found")+" "+view.count + " " +qsTr("countries")}
SearchField {
id: sfield
width: parent.width
placeholderText: "Search"
placeholderText: qsTr("Search")
text: ""
inputMethodHints: Qt.ImhNoAutoUppercase
EnterKey.iconSource: "image://theme/icon-m-enter-close"
+5 -5
View File
@@ -21,10 +21,10 @@ Page {
onSearchbyChanged: {
switch (searchby){
case "name": sortedby = "Sorted by Name";break;
case "votes": sortedby = "Most likes";break;
case "clicktrend": sortedby = "Trending right now";break;
case "clickcount": sortedby = "Most played";
case "name": sortedby = qsTr("Sorted by Name");break;
case "votes": sortedby = qsTr("Most likes");break;
case "clicktrend": sortedby = qsTr("Trending right now");break;
case "clickcount": sortedby = qsTr("Most played");
}
}
@@ -145,7 +145,7 @@ Page {
ComboBox {
id: searchCombo
label: "Search by:"
label: qsTr("Search by:")
currentIndex: comboIndex
menu: ContextMenu {
MenuItem { text: qsTr("Name") }
+8 -12
View File
@@ -24,8 +24,8 @@ Page {
width: parent.width
spacing: Theme.paddingLarge
PageHeader{
title: "Favorites"
description: "Radio stations: "+view.count
title: qsTr("Favorites")
description: qsTr("Radio stations: ")+view.count
}
Row {
@@ -43,7 +43,7 @@ Page {
fontColor: down ? Theme.secondaryColor : Theme.secondaryColor
iconVisible: false
// icon: "image://theme/icon-m-home" //"image://theme/icon-m-video"
text: "By name"
text: qsTr("By name")
onButtonClick: {showP=0.0;tab = 0;Favorites.getFavorites(favorites,"name",10000)}
}
TabButton {
@@ -55,7 +55,7 @@ Page {
fontColor: down ? Theme.secondaryColor : Theme.secondaryColor
iconVisible: false
// icon: "image://theme/icon-m-search"
text: "Most played"
text: qsTr("Most played")
onButtonClick: {showP=0.0;tab = 1;Favorites.getFavorites(favorites,"myclickcount",10000)}
}
TabButton {
@@ -67,7 +67,7 @@ Page {
fontColor: down ? Theme.secondaryColor : Theme.secondaryColor
iconVisible: false
// icon: "image://theme/icon-m-favorite"
text: "Last played"
text: qsTr("Last played")
onButtonClick: {showP=0.0;tab = 2;Favorites.getFavorites(favorites,"myclicktimestamp",10000);console.log("CLICK")}
}
}
@@ -78,8 +78,8 @@ Page {
ViewPlaceholder {
anchors.centerIn: allRadio.center
enabled: view.count == 0
text: "Favorites"
hintText: "add favorites here"
text: qsTr("Favorites")
hintText: qsTr("add favorites here")
}
VerticalScrollDecorator {}
@@ -89,7 +89,7 @@ Page {
if (model.url_resolved !== radioPlayer._url_resolved) {
radioPlayer._favicon = model.favicon
radioPlayer._name = model.name
radioPlayer._countrycode = model.countrycode
radioPlayer._cc = model.countrycode
radioPlayer._tags = model.tags
radioPlayer._codec = model.codec//getCodec(model.codec)
radioPlayer._bitrate = model.bitrate //getBitrate(model.bitrate)
@@ -99,11 +99,7 @@ Page {
radioPlayer._stationuuid = model.stationuuid
radioPlayer._favorite = model.favorite ? true : false
radioPlayer.fav
//pageStack.push("RadioPlayerPage.qml")
radioPlayer.playlistIndex = index
console.log("Index: "+index)
} else radioPlayer.resumeStream()
}
}
+4 -4
View File
@@ -19,12 +19,12 @@ Page {
ViewPlaceholder {
anchors.centerIn: allRadio.center
enabled: view.count == 0
text: "History"
hintText: "see you play history here"
text: qsTr("History")
hintText: qsTr("see you play history here")
}
VerticalScrollDecorator {}
header: PageHeader{title: "Play history";description: "Radio stations: "+view.count}
header: PageHeader{title: qsTr("Play history");description: qsTr("Radio stations: ")+view.count}
/* onAtYEndChanged: {
@@ -42,7 +42,7 @@ Page {
if (model.url_resolved !== radioPlayer._url_resolved) {
radioPlayer._favicon = model.favicon
radioPlayer._name = model.name
radioPlayer._countrycode = model.countrycode
radioPlayer._cc = model.countrycode
radioPlayer._tags = model.tags
radioPlayer._codec = model.codec//getCodec(model.codec)
radioPlayer._bitrate = model.bitrate //getBitrate(model.bitrate)
+1 -1
View File
@@ -7,7 +7,7 @@ import "../helpers/jsFunctions.js" as JSfunctions
Page {
id: page
property bool keepScreenOn: Qt.application.active && radioPlayer.isPlaying ? true : false
property bool keepScreenOn: Qt.application.active && radioPlayer.isPlaying && radioPlayer.radioVideo ? true : false
allowedOrientations: radioPlayer.isPlaying && radioPlayer.radioVideo ? Orientation.All : Orientation.Portrait
+15 -15
View File
@@ -21,10 +21,10 @@ Page {
onSearchbyChanged: {
// console.log("SEARCHBY: "+searchby)
switch (searchby){
case "name": sortedby = "Sorted by Name";break;
case "votes": sortedby = "Most likes";break;
case "clicktrend": sortedby = "Trending right now";break;
case "clickcount": sortedby = "Most played";
case "name": sortedby = qsTr("By Name");break;
case "votes": sortedby = qsTr("Most likes");break;
case "clicktrend": sortedby = qsTr("Trending right now");break;
case "clickcount": sortedby = qsTr("Most played");
}
}
@@ -48,8 +48,8 @@ Page {
ViewPlaceholder {
anchors.centerIn: parent
enabled: view.count == 0
text: getCountryStations.finished && view.count === 0 ? "Search" : "Please wait"
hintText: getCountryStations.finished && view.count === 0 ? "radio stations" : "getting radio stations"
text: getCountryStations.finished && view.count === 0 ? qsTr("Search") : qsTr("Please wait")
hintText: getCountryStations.finished && view.count === 0 ? qsTr("radio stations") : qsTr("getting radio stations")
}
VerticalScrollDecorator {}
@@ -114,7 +114,7 @@ Page {
width: parent.width
SearchField {
id: sfield
placeholderText: "Search"
placeholderText: qsTr("Search")
inputMethodHints: Qt.ImhNoAutoUppercase //| Qt.ImhNoPredictiveText
EnterKey.iconSource: "image://theme/icon-m-enter-close"
EnterKey.onClicked: focus = false
@@ -150,11 +150,11 @@ Page {
ComboBox {
id: searchCombo
label: "Search by:"
label: qsTr("Search by:")
currentIndex: 0
menu: ContextMenu {
MenuItem { text: "Name" }
MenuItem { text: "Tag" }
MenuItem { text: qsTr("Name") }
MenuItem { text: qsTr("Tag") }
}
onValueChanged: {
switch(currentIndex) {
@@ -173,20 +173,20 @@ Page {
PullDownMenu {
MenuItem {
text: "Name"
text: qsTr("Name")
onClicked: {getCountryStations.order = "name";if (view.count > 0) {getCountryStations.clear=true;getCountryStations.getStations()}}//;xmlModel.running = true}
}
MenuItem {
text: "Most likes"
text: qsTr("Most likes")
onClicked: {getCountryStations.order = "votes";if (view.count > 0) {getCountryStations.clear=true;getCountryStations.getStations()}}//;xmlModel.running = true}
}
MenuItem {
text: "Most played"
text: qsTr("Most played")
onClicked: {getCountryStations.order = "clickcount";if (view.count > 0) {getCountryStations.clear=true;getCountryStations.getStations()}}//xmlModel.running = true}
}
MenuItem {
text: "Trending right now"
text: qsTr("Trending right now")
onClicked: {getCountryStations.order = "clicktrend";if (view.count > 0) {getCountryStations.clear=true;getCountryStations.getStations()}}//xmlModel.running = true}
}
}
@@ -197,7 +197,7 @@ Page {
if (model.url_resolved !== radioPlayer._url_resolved) {
radioPlayer._favicon = model.favicon
radioPlayer._name = model.name
radioPlayer._countrycode = model.countrycode
radioPlayer._cc = model.countrycode
radioPlayer._tags = model.tags
radioPlayer._codec = model.codec//getCodec(model.codec)
radioPlayer._bitrate = model.bitrate //getBitrate(model.bitrate)
-30
View File
@@ -1,30 +0,0 @@
import QtQuick 2.0
import Sailfish.Silica 1.0
Page {
id: page
// The effective value will be restricted by ApplicationWindow.allowedOrientations
allowedOrientations: Orientation.All
SilicaListView {
id: listView
model: 20
anchors.fill: parent
header: PageHeader {
title: qsTr("Nested Page")
}
delegate: BackgroundItem {
id: delegate
Label {
x: Theme.horizontalPageMargin
text: qsTr("Item") + " " + index
anchors.verticalCenter: parent.verticalCenter
color: delegate.highlighted ? Theme.highlightColor : Theme.primaryColor
}
onClicked: console.log("Clicked " + index)
}
VerticalScrollDecorator {}
}
}
+77 -41
View File
@@ -1,55 +1,91 @@
import QtQuick 2.0
import QtQml 2.2
import Sailfish.Silica 1.0
import QtQuick.LocalStorage 2.0
import QtGraphicalEffects 1.0
import "../helpers/db.js" as Favorites
Page {
Flickable {
id: flick
width:parent.width
height: parent.height - Theme.paddingLarge * 3
anchors.top: parent.top
anchors.topMargin: Theme.paddingLarge * 3
contentHeight: column1.height
Dialog {
id: settingsDialog
Column{
id: column1
width: parent.width
spacing: Theme.paddingLarge
Column {
anchors.left: parent.left
anchors.right: parent.right
spacing: Theme.paddingMedium
Image{
source: "../images/community.png"
height: Theme.itemSizeHuge
width: height
fillMode: Image.PreserveAspectFit
anchors {
horizontalCenter: parent.horizontalCenter
}
}
DialogHeader {}
Label {
width: parent.width-70
font.pixelSize: Theme.fontSizeSmall
text: qsTr("Working on more settings.....")
anchors.horizontalCenter: parent.horizontalCenter
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignHCenter
height: 200
wrapMode: Text.WordWrap
}
Label {
width: parent.width-70
anchors.right: parent.right
anchors.rightMargin: Theme.paddingLarge
color: Theme.highlightColor
font.pixelSize: Theme.fontSizeLarge
text: qsTr("WARNING! THis is for debugging or corrupt database. Only delete db if it is not working!!!")
anchors.horizontalCenter: parent.horizontalCenter
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignHCenter
wrapMode: Text.WordWrap
text: qsTr("Player settings")
}
Button {
text: qsTr("Delete DB")
onClicked: Favorites.dropTable()
anchors.horizontalCenter: parent.horizontalCenter
Separator {
anchors.left: parent.left
anchors.right: parent.right
anchors.rightMargin: Theme.paddingMedium
color: Theme.highlightColor
}
ComboBox {
id: appStart
width: parent.width
label: qsTr("Auto play")
anchors.margins: Theme.paddingLarge
description: qsTr("What to do when AllRadio2 starts")
currentIndex: Favorites.getSetting("appStart",0)
menu: ContextMenu {
MenuItem { text: qsTr("Off") }
MenuItem { text: qsTr("Last played") }
MenuItem { text: qsTr("Random favorite") }
}
}
Label {
anchors.right: parent.right
anchors.rightMargin: Theme.paddingLarge
color: Theme.highlightColor
font.pixelSize: Theme.fontSizeLarge
text: qsTr("Server settings")
}
Separator {
anchors.left: parent.left
anchors.right: parent.right
anchors.rightMargin: Theme.paddingMedium
color: Theme.highlightColor
}
ComboBox {
id: serverL
width: parent.width
anchors.margins: Theme.paddingLarge
label: qsTr("Connected to")
description: qsTr("Available servers (just information, won't change server yet!)")
currentIndex: radioBrowser.serverIndex
menu : ContextMenu {
id: contextMenu
Repeater {
model: radioBrowser.serversModel
delegate: MenuItem {
text: server
onClicked: radioBrowser.connectServer(currentIndex)//{radioBrowser.server = serverUrl;radioBrowser.serverIndex=currentIndex;}//console.log("***"+serverUrl)
}
}
}
/* menu: ContextMenu {
MenuItem { text: qsTr("None") }
MenuItem { text: qsTr("Last played") }
MenuItem { text: qsTr("Random favorite") }
}*/
}
}
onAccepted: Favorites.setSetting("appStart",appStart.currentIndex)
}
+1 -1
View File
@@ -15,7 +15,7 @@ Page {
clip: true
anchors.bottomMargin: mediaPlayerPanel.visibleSize
VerticalScrollDecorator {}
PageHeader {title: "Sleep timer";description: ((sleepTime > 0) ? (qsTr("Remaning time: ") + (sleepTime) + qsTr(" minutes")) : qsTr("choose time: ") + minutes.value )}
PageHeader {title: qsTr("Sleep timer");description: ((sleepTime > 0) ? (qsTr("Remaning time: ") + (sleepTime) + qsTr(" minutes")) : qsTr("choose time: ") + minutes.value )}
ValuePicker {
id: minutes
+2 -2
View File
@@ -36,8 +36,8 @@ Page {
width: parent.width
PageHeader {
title: "Played tags"
description: "Found "+playedTags.count
title: qsTr("Played tags")
description: qsTr("Found ")+playedTags.count
}
}
+11 -5
View File
@@ -1,10 +1,10 @@
Name: harbour-allradio
Summary: AllRadio
Version: 2.0.16
Version: 2.0.21
Release: 1
Group: Qt/Qt
License: GPL2
License: GPLv2
URL: https://gitea.nesnomis.nu/nesnomis/harbour-allradio/
Source0: %{name}-%{version}.tar.bz2
Requires: sailfishsilica-qt5 >= 0.10.9
@@ -29,9 +29,15 @@ BuildRequires: pkgconfig(dbus-1)
AllRadio2 is a new version of AllRadio, an internet radio player.
%if "%{?vendor}" == "chum"
PackageName: AllRadio2
Type: desktop-application
PackagerName: Niels Simonsen (nesnomis)
Categories:
- Multimedia
Icon: https://gitea.nesnomis.nu/nesnomis/harbour-allradio/src/branch/master/icons/128x128/harbour-allradio.png
- Radio
- Audio
- Video
- Media
Icon: https://gitea.nesnomis.nu/nesnomis/harbour-allradio/raw/branch/master/icons/128x128/harbour-allradio.png
Screenshots:
- https://gitea.nesnomis.nu/nesnomis/harbour-allradio/wiki/raw/Screenshot_20250522_222021_001.png
- https://gitea.nesnomis.nu/nesnomis/harbour-allradio/wiki/raw/Screenshot_20250522_222038_001.png
@@ -39,7 +45,7 @@ Screenshots:
- https://gitea.nesnomis.nu/nesnomis/harbour-allradio/wiki/raw/Screenshot_20250522_222316_001.png
- https://gitea.nesnomis.nu/nesnomis/harbour-allradio/wiki/raw/Screenshot_20250522_222349_001.png
Url:
Homepage: https://openrepos.net/content/nesnomis/allradio2
Homepage: http://gitea.nesnomis.nu/nesnomis/harbour-allradio
%endif
%prep
File diff suppressed because it is too large Load Diff
+155 -11
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1">
<TS version="2.1" language="de_DE">
<context>
<name>AboutPage</name>
<message>
@@ -51,6 +51,21 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>CountryListPage</name>
<message>
<source>Search</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Found</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>countries</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>CountryNameModel</name>
<message>
@@ -1100,6 +1115,14 @@
<source>Trending right now</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Search by:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sorted by Name</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FavoriteStations</name>
@@ -1121,28 +1144,134 @@
</message>
</context>
<context>
<name>SecondPage</name>
<name>FavoritesPage</name>
<message>
<source>Nested Page</source>
<translation>Unterseite</translation>
<source>Favorites</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Item</source>
<translation>Element</translation>
<source>Radio stations: </source>
<translation type="unfinished"></translation>
</message>
<message>
<source>By name</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Most played</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Last played</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>add favorites here</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>HistoryPage</name>
<message>
<source>History</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>see you play history here</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Play history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Radio stations: </source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SearchStationsPage</name>
<message>
<source>Search</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Please wait</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>radio stations</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>getting radio stations</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Search by:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Name</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Tag</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Most likes</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Most played</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Trending right now</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>By Name</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SettingsPage</name>
<message>
<source>WARNING! THis is for debugging or corrupt database. Only delete db if it is not working!!!</source>
<source>Player settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Working on more settings.....</source>
<source>Auto play</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Delete DB</source>
<source>What to do when AllRadio2 starts</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Off</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Last played</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Random favorite</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Server settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Connected to</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Available servers (just information, won&apos;t change server yet!)</source>
<translation type="unfinished"></translation>
</message>
</context>
@@ -1172,6 +1301,10 @@
<source>Stop</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sleep timer</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SmallTagsDelegate</name>
@@ -1191,11 +1324,11 @@
<translation type="unfinished"></translation>
</message>
<message>
<source>Searching for servers...</source>
<source>Searching servers</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Connecting to:</source>
<source>Connecting</source>
<translation type="unfinished"></translation>
</message>
</context>
@@ -1236,6 +1369,17 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>TagListPage</name>
<message>
<source>Played tags</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Found </source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>jsFunctions</name>
<message>
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+153 -9
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="sv_SE" sourcelanguage="en">
<TS version="2.1">
<context>
<name>AboutPage</name>
<message>
@@ -51,6 +51,21 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>CountryListPage</name>
<message>
<source>Search</source>
<translation type="unfinished">Sök</translation>
</message>
<message>
<source>Found</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>countries</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>CountryNameModel</name>
<message>
@@ -1100,6 +1115,14 @@
<source>Trending right now</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Search by:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sorted by Name</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FavoriteStations</name>
@@ -1121,28 +1144,134 @@
</message>
</context>
<context>
<name>SecondPage</name>
<name>FavoritesPage</name>
<message>
<source>Nested Page</source>
<source>Favorites</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Item</source>
<source>Radio stations: </source>
<translation type="unfinished"></translation>
</message>
<message>
<source>By name</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Most played</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Last played</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>add favorites here</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>HistoryPage</name>
<message>
<source>History</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>see you play history here</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Play history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Radio stations: </source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SearchStationsPage</name>
<message>
<source>Search</source>
<translation type="unfinished">Sök</translation>
</message>
<message>
<source>Please wait</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>radio stations</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>getting radio stations</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Search by:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Name</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Tag</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Most likes</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Most played</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Trending right now</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>By Name</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SettingsPage</name>
<message>
<source>WARNING! THis is for debugging or corrupt database. Only delete db if it is not working!!!</source>
<source>Player settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Working on more settings.....</source>
<source>Auto play</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Delete DB</source>
<source>What to do when AllRadio2 starts</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Off</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Last played</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Random favorite</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Server settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Connected to</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Available servers (just information, won&apos;t change server yet!)</source>
<translation type="unfinished"></translation>
</message>
</context>
@@ -1172,6 +1301,10 @@
<source>Stop</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sleep timer</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SmallTagsDelegate</name>
@@ -1191,11 +1324,11 @@
<translation type="unfinished"></translation>
</message>
<message>
<source>Searching for servers...</source>
<source>Searching servers</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Connecting to:</source>
<source>Connecting</source>
<translation type="unfinished"></translation>
</message>
</context>
@@ -1236,6 +1369,17 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>TagListPage</name>
<message>
<source>Played tags</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Found </source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>jsFunctions</name>
<message>