Marcus Müller
8e47ab59e5
internet services: consistently use 'override'
...
Signed-off-by: Marcus Müller <marcus_clementine@baseband.digital>
2023-09-17 12:43:13 +01:00
Jason Freidman
72c2336d94
Fix ClassicalRadio.com and ROCKRADIO.com #5616
...
These two audio addict feeds do support premium -- Perhaps they didn't previously. This changes fixes the playlist not loading for me on a local build.
This was changed in https://github.com/clementine-player/Clementine/issues/4582
2022-09-22 12:45:13 +01:00
Jonas Kvinge
f379ad84d4
Fix use of emit
...
Adds missing emits.
QTreeView::collapse and QTreeView::expand are slots, not signals. So
remove emit.
2021-07-14 10:18:47 +01:00
Jim Broadus
a5e84bbe98
internet: Add common InternetService::ConfigRequired() method.
...
This will allow some common handling of unconfigured services.
2021-07-07 10:47:01 +01:00
Jim Broadus
a5fd484a61
internet: Consolidate ShowConfig methods.
...
InternetService::ShowConfig() and ShowSettingsPage() were used to show
the settings page for a service.
2021-07-02 11:54:21 +01:00
Jim Broadus
6240fd3d0a
player: Fix crash on UrlHandler error.
...
In a case where a playlist is composed entirely of unresolvable
internet service URLs and the playlist is set to repeat, playing an
item will result in an infinite (until crash) recursive condition.
HandleLoadResult is called with a NoMoreTracks result. It then calls
NextItem, which calls PlayAt for the next item, which, again, calls
HandleLoadResult.
This can be reproduced by logging into a subsonic server, adding items
to an empty playlist, then signing out.
To solve this, separate the error condition from the NoMoreTracks
result. Handle URL resolution errors the same way that media playback
errors are handled, where an error count is incremented and the player
stops if a limit is reached. The common code also notifies the playlist
of the error and provides user feedback by graying out the item.
2021-06-21 12:52:25 +01:00
Jim Broadus
5ebd6d1e6b
internet/core: Move context_menu_ to base class
...
Every internet service class has a context_menu_ member. Moving this to
the base class will allow the consolidation of common menu functionality.
2021-03-18 11:16:14 +00:00
John Maguire
341dc7326f
Reformat all C++
2020-09-22 14:56:06 +01:00
Jim Broadus
61de3c6e93
Convert remaining QJsonValue::isUndefined usage.
...
Noted previously, using the [] operator on a non-const QJsonObject causes the
creation of the key and does not work for checking existence. Convert the
remaining isUndefined call sites to use QJsonObect::contains.
2020-02-13 11:12:52 +00:00
Jonas Kvinge
f674847431
Use HTTPS
2020-01-27 22:46:38 +01:00
Jonas Kvinge
d4fab4a2ea
Merge remote-tracking branch 'upstream/master' into qt5-update
2018-11-11 22:46:07 +01:00
Amish Naidu
107e945872
Convert uses of QtAlgorithms to std:: algorithms
2018-10-09 19:17:54 +01:00
Chocobozzz
16b4f9a991
Merge remote-tracking branch 'upstream/master' into qt5
2018-05-14 08:25:27 +02:00
Pulfer
ddfa5e63f1
Fix channels loading for DI.fm services after API domain changes ( #6023 )
2018-03-10 18:35:09 +00:00
Chocobozzz
2096b1f268
Merge branch 'master' into qt5
2016-12-13 20:26:19 +01:00
John Maguire
420601f10a
Add support for classicalradio.com
2016-11-07 18:22:06 +00:00
Chocobozzz
e6e189967d
Merge remote-tracking branch 'upstream/master' into qt5
2016-02-29 18:03:02 +01:00
Chocobozzz
ef58ce27e5
show settings dialog for difm when populate streams without a premium account
2016-01-13 19:29:36 +01:00
Chocobozzz
3ab20defce
Disable digitally imported for free user (premium account required)
2016-01-09 16:45:10 +01:00
Chocobozzz
ff7026c9fe
Merge remote-tracking branch 'upstream/master' into qt5
2015-12-13 20:05:12 +01:00
narunlifescience
dd953fd86c
check custom icon location, then system theme & then fallback theme
...
icons added & replaced
2015-10-13 22:35:49 -05:00
Chocobozzz
631a6cdabd
Merge branch 'master' into qt5
2015-09-16 17:40:54 +02:00
Ivan Leontiev
6cf35d150e
Fix Di.fm stations stuck when try them to play without internet.
2015-07-31 15:04:31 +00:00
Chocobozzz
8b226c2171
Update non optionnals sources to qt5
2015-04-11 23:24:07 +02:00
Chocobozzz
5e5738f642
Make format
2015-01-15 19:58:20 +01:00
Chocobozzz
7e9f8d75c6
Change sky.fm to radiotunes.com
2015-01-15 18:48:27 +01:00
Krzysztof Sobiecki
a6322da196
Fix header copyright tags in internet/
2014-12-19 00:47:55 +01:00
Krzysztof Sobiecki
17c35e32e5
Fix header order in internet/
2014-12-19 00:40:30 +01:00
Krzysztof Sobiecki
23ee9170b6
Fix header guards in internet/
2014-12-18 23:54:21 +01:00
Krzysztof Sobiecki
fa9ea6ec5f
Fix compilation with moved files in internet/
2014-12-18 23:35:21 +01:00
Krzysztof Sobiecki
93a286a272
Move files around and make subdirectories inside src/internet, move src/podcasts to src/internet
2014-12-18 00:39:20 +01:00