1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-02-02 12:26:48 +01:00

8220 Commits

Author SHA1 Message Date
Clementine Buildbot
4acfdae740 Automatic merge of translations from Transifex 1.4.0rc1-677-g4acfdae74 2021-07-09 02:43:48 +00:00
kentsangkm
6b2918ee92 Generate compile_commands.json 1.4.0rc1-676-g6b2918ee9 2021-07-08 21:33:19 +01:00
Jim Broadus
a5e84bbe98 internet: Add common InternetService::ConfigRequired() method.
This will allow some common handling of unconfigured services.
1.4.0rc1-675-ga5e84bbe9
2021-07-07 10:47:01 +01:00
Clementine Buildbot
7cb5f5c804 Automatic merge of translations from Transifex 1.4.0rc1-674-g7cb5f5c80 2021-07-06 02:43:44 +00:00
Clementine Buildbot
db8de64abb Automatic merge of translations from Transifex 1.4.0rc1-673-gdb8de64ab 2021-07-03 02:40:42 +00:00
Jim Broadus
a5fd484a61 internet: Consolidate ShowConfig methods.
InternetService::ShowConfig() and ShowSettingsPage() were used to show
the settings page for a service.
1.4.0rc1-672-ga5fd484a6
2021-07-02 11:54:21 +01:00
Adolfo Jayme Barrientos
25b537cf26 De-duplicate my translator credit 1.4.0rc1-671-g25b537cf2 2021-07-02 10:29:17 +01:00
Clementine Buildbot
8c660e278c Automatic merge of translations from Transifex 1.4.0rc1-670-g8c660e278 2021-07-01 02:44:35 +00:00
John Maguire
67aa154182 Explicitly tap liblastfm homebrew dependency 1.4.0rc1-669-g67aa15418 2021-06-30 22:30:38 +01:00
kentsangkm
f35a640ce3 clang-format 1.4.0rc1-668-gf35a640ce 2021-06-30 22:05:18 +01:00
kentsangkm
cbe384d142 Add override 2021-06-30 22:05:18 +01:00
Clementine Buildbot
4a83f8c817 Automatic merge of translations from Transifex 1.4.0rc1-666-g4a83f8c81 2021-06-30 02:47:46 +00:00
Clementine Buildbot
67a947f116 Automatic merge of translations from Transifex 1.4.0rc1-665-g67a947f11 2021-06-29 02:46:23 +00:00
Clementine Buildbot
1db1e3231f Automatic merge of translations from Transifex 1.4.0rc1-664-g1db1e3231 2021-06-28 02:47:35 +00:00
Jim Broadus
f9854e564d transcoder: Add options avenc_aac element.
Initially adding encoder and bitrate settings, but the gstreamer
element exposes a lot of ffmpeg options that can be added as needed.

Reference: https://gstreamer.freedesktop.org/documentation/libav/avenc_aac.html
1.4.0rc1-663-gf9854e564
2021-06-27 15:56:50 +01:00
Clementine Buildbot
5ab81fd8bc Automatic merge of translations from Transifex 1.4.0rc1-662-g5ab81fd8b 2021-06-25 02:47:39 +00:00
Clementine Buildbot
62cb889a3f Automatic merge of translations from Transifex 1.4.0rc1-661-g62cb889a3 2021-06-24 02:42:11 +00:00
Clementine Buildbot
e46503d0c3 Automatic merge of translations from Transifex 1.4.0rc1-660-ge46503d0c 2021-06-23 02:46:40 +00:00
Clementine Buildbot
54be35f528 Automatic merge of translations from Transifex 1.4.0rc1-659-g54be35f52 2021-06-22 02:51:35 +00: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.
1.4.0rc1-658-g6240fd3d0
2021-06-21 12:52:25 +01:00
Lukas Prediger
57b5911f13 Fixes from code review for PR #7037 1.4.0rc1-657-g57b5911f1 2021-06-21 12:51:44 +01:00
Lukas Prediger
6fa9cbcc65 Removing watch_for_disc_changes in CddaDevice constructor 2021-06-21 12:51:44 +01:00
Lukas Prediger
83b6bf28f3 No exceptions for error handling! ConnectedDevice::Init now returns bool, indicating success or failure.
As decreed by @hatstand.
2021-06-21 12:51:44 +01:00
Lukas Prediger
a4ad507704 Removed some unused includes. 2021-06-21 12:51:44 +01:00
Lukas Prediger
d2240ec0ae Device change watchdog timer no longer freezes main thread while CddaSongLoader is active. 2021-06-21 12:51:44 +01:00
Lukas Prediger
2dd566653f Dealing with cdio_open failures in CddaDevice constructor 2021-06-21 12:51:44 +01:00
Lukas Prediger
e35e4195c2 Not using std::make_unique 2021-06-21 12:51:44 +01:00
Lukas Prediger
6ea20336c2 CddaSongLoader: Only run one song loading thread at once.
- CddaSongLoader destructor waits for thread to end.
- Added flag to interrupt LoadSongsFromCdda
- Only start song loading if not already running
- Removed (now obsolete) mutex
2021-06-21 12:51:44 +01:00
Lukas Prediger
ae9824e26a RipCDDialog no longer needs to LoadSongs on show. 2021-06-21 12:51:44 +01:00
Lukas Prediger
63953e1045 RipCDDialog now allows selecting the CD drive 2021-06-21 12:51:44 +01:00
Lukas Prediger
b68734c761 Fix: Missing include guard for cddadevice in mainwindow.cpp 2021-06-21 12:51:44 +01:00
Lukas Prediger
95799a911d Removing ConnectedDevice::Refresh altogether 2021-06-21 12:51:44 +01:00
Lukas Prediger
639b918557 Removing CddaDevice::Refresh 2021-06-21 12:51:44 +01:00
Lukas Prediger
3c06b92b24 Ripper now works with a cdio instance passed into constructor
which comes from a CddaDevice corresponding to the device
2021-06-21 12:51:44 +01:00
Lukas Prediger
ae3037984c RipCDDialog now uses CddaSongLoader from passed in CddaDevice 2021-06-21 12:51:44 +01:00
Lukas Prediger
14d5c25d37 Integrated cddevice back into cddadevice 2021-06-21 12:51:44 +01:00
Lukas Prediger
9ca75ae357 RipCDDialog now relies on CddaDevice to be notified about disc changes 2021-06-21 12:51:44 +01:00
Lukas Prediger
d2c636ab46 Introducing CdDevice, simple wrapper for cdio that watches disc changes.
CddaDevice now relies on this to update song list. CddaDevice::Refresh is now a no-op.
2021-06-21 12:51:44 +01:00
Clementine Buildbot
11bd0db03b Automatic merge of translations from Transifex 1.4.0rc1-639-g11bd0db03 2021-06-21 02:54:22 +00:00
Clementine Buildbot
c3c77aef19 Automatic merge of translations from Transifex 1.4.0rc1-638-gc3c77aef1 2021-06-16 02:55:57 +00:00
Jim Broadus
ffdaeba09f cueparser: Be more lenient when parsing indexes.
Most specs have mm:ss:ff as the index time format, but cue files have
been found with single digit minutes. e.g. 0:00:00 instead of 00:00:00

Reference: https://www.gnu.org/software/ccd2cue/manual/html_node/CUE-sheet-format.html
1.4.0rc1-637-gffdaeba09
2021-06-15 14:14:00 +01:00
Clementine Buildbot
2bf8f1388b Automatic merge of translations from Transifex 1.4.0rc1-636-g2bf8f1388 2021-06-15 02:57:02 +00:00
Clementine Buildbot
418a366931 Automatic merge of translations from Transifex 1.4.0rc1-635-g418a36693 2021-06-14 02:55:24 +00:00
Clementine Buildbot
4aa4f4fce3 Automatic merge of translations from Transifex 1.4.0rc1-634-g4aa4f4fce 2021-06-13 02:54:58 +00:00
Jim Broadus
3a00403ad0 build: Add patch for libgpod mac build.
Store patch file in repository rather than relying on strawberry's file
server.

Reference: 27955cc441
1.4.0rc1-633-g3a00403ad
2021-06-12 15:14:44 +01:00
Clementine Buildbot
7fb387b967 Automatic merge of translations from Transifex 2021-06-12 02:54:18 +00:00
Jim Broadus
4e4fccc07a playlistparser: Add error mechanism for parsers.
Add a new Error signal to parser implementations. Display an error when
user tries to use the unimplemented CueParser::Save.
1.4.0rc1-631-g4e4fccc07
2021-06-11 10:17:20 +01:00
Jim Broadus
f4108b5a0c playlistparser: Display errors on failures.
Add an Error signal to PlayListParser and connect that to the
PlayListManager::Error signal. This is eventually connected to the
Application::AddError. Add error messages in some cases where
PlayListParser can fail silently.
2021-06-11 10:17:20 +01:00
Clementine Buildbot
612767c878 Automatic merge of translations from Transifex 1.4.0rc1-629-g612767c87 2021-06-09 03:12:09 +00:00
Clementine Buildbot
b09ab3ff37 Automatic merge of translations from Transifex 1.4.0rc1-628-gb09ab3ff3 2021-06-04 04:25:11 +00:00