Craig Drummond
680a4a8398
Stop user MPD instance from GUI thread when terminating, to ensure state can be saved.
...
Closes #1761
2022-01-11 12:08:14 +00:00
Craig Drummond
b6bd94c236
Update (c) year
2022-01-08 21:24:07 +00:00
Craig Drummond
737cddfd13
extraFields needs to be quint32
2021-12-28 07:54:54 +00:00
Craig Drummond
dbdc211da2
Use QCollator to compare strings.
2021-12-27 20:39:51 +00:00
Craig Drummond
f4e4a6ed33
Add Grouping tag support to playlists and queue.
2021-12-27 19:58:47 +00:00
Craig Drummond
b65b182629
Misc fixes - taken from https://github.com/fenuks/cantata
2021-12-27 17:05:24 +00:00
Craig Drummond
aa376c3cc6
Fix getting dir
2021-12-23 17:08:09 +00:00
Craig Drummond
9debed56ae
Fix build
2021-12-23 16:46:15 +00:00
Craig Drummond
e68c4011af
Fix looking for cover-art with MPD's new cue track file listing.
...
Issue #1759
2021-12-23 13:46:09 +00:00
Craig Drummond
49f729d45c
Fix more deprecation warnings
2021-08-11 18:14:02 +01:00
Craig Drummond
059aceb95d
Fix build issues due to previous change. #1727
2021-07-29 12:13:42 +01:00
Craig Drummond
31b8a6d9b9
Revert "Revert "Merge pull request #1727 from jprjr/fix-deprecated-warnings""
...
This reverts commit be9c1e74e0 .
2021-07-29 12:00:04 +01:00
Craig Drummond
be9c1e74e0
Revert "Merge pull request #1727 from jprjr/fix-deprecated-warnings"
...
This reverts commit cb18837d11 , reversing
changes made to b296cf7113 .
2021-07-28 19:44:57 +01:00
John Regan
300fbadc85
windows: use sscanf_s to prevent sscanf warning
2021-07-20 15:25:21 -04:00
John Regan
6e0c25f59b
fix deprecation: concat QByteArray with QString obsolete
2021-07-20 08:50:36 -04:00
John Regan
d374459571
fix deprecation: QDateTime(QDate) obsolete, use startOfDay
2021-07-20 08:49:10 -04:00
John Regan
48f38762d3
fix deprecation: canonicalUrl obsolete
2021-07-20 08:48:29 -04:00
John Regan
0037676553
fix deprecation: QSet::fromList, use a listToSet template
2021-07-20 08:40:24 -04:00
John Regan
cc0d116986
fix deprecation: QString::SkipEmptyParts is now Qt::SkipEmptyParts
2021-07-19 15:00:32 -04:00
David Hoyes
e4ecab77a2
Fix serverType becoming undetermined on waking from suspend
2021-05-18 21:26:04 +01:00
Ramon Cahenzli
d59b2fae8f
Fix possessive 'its'
2021-05-13 08:02:12 +02:00
Craig Drummond
07f6361974
Format changes
2021-05-11 12:07:45 +01:00
Craig Drummond
4539377701
Partitions requires MPD>=0.22
2021-05-11 12:06:35 +01:00
Craig Drummond
501a75c16e
camelCase
2021-05-11 12:05:45 +01:00
David Hoyes
e67194ddc9
Skip redundant queue updates when the ID hasn't changed
2021-05-10 20:45:06 +01:00
David Hoyes
111d790968
Add controls for moving outputs between partitions
2021-05-10 20:45:06 +01:00
David Hoyes
aebc4af1e3
Add support for MPD partitions
...
MPD allows clients to create named "partitions", each with its own
queue, player and outputs. This commit adds controls to allow the user
to create, delete, and switch between partitions.
2021-05-10 20:45:06 +01:00
David Hoyes
9b4f273841
Trim trailing whitespace
2021-05-10 20:36:43 +01:00
Craig Drummond
e5bbcc6d32
When stopping Cantata controlled MPD instance, wait up to 2 seconds for MPD to gracefully terminate (so config can be saved) before killing process.
...
Issue #1710
2021-05-07 12:03:49 +01:00
Craig Drummond
11bb7571c9
Update (c) year
2021-01-01 10:06:43 +00:00
Craig Drummond
ea0610ba9c
Filter out CUE source tracks before they enter DB.
...
Issue #1652
2020-11-17 18:45:06 +00:00
Craig Drummond
82a6798c83
- Better handling of CUE tracks when MPD is set to list as directory.
...
- Disable CUE parsing in cantata by default, as MPD handles this better now.
Issues #1650 and #1652
2020-11-17 12:06:04 +00:00
Thomas Uhle
b43c93655a
Avoid prepending song's file path with MPD's music directory
...
if it is empty, a stream URL or an absolute path.
2020-06-09 22:55:43 +02:00
Thomas Uhle
f346016a58
Guard MPD command 'next' to prevent it from reporting errors
...
if there is no next song in the play queue that can be played.
2020-05-30 15:30:42 +02:00
Thomas Uhle
4263744926
Avoid unknown song durations and duplicate updates of MPRIS' song details
...
- Move call to Mpris::updateCurrentSong() downwards to pick up the potential
update of current song's duration from MPD's total time value (introduced
by commit 1a38e468b7 ) and to avoid duplicate
notifications (cf. commit bba9cfd880 ).
- Update MPRIS status value CanSeek when MPD's total time changes.
- Set MPDStatusValues::timeElapsed and MPDStatusValues::timeTotal to 0
instead of -1 by default because the latter yields 65535 as these
variables are 16 bit unsigned integer.
2020-05-15 12:44:55 +02:00
Thomas Uhle
99113880c0
When checking if songs are different, compare track and disc numbers too
2020-05-15 12:12:07 +02:00
Thomas Uhle
d406c01694
Fix getting song details from Cantata stream URLs
...
- always get song.time from decoded stream URL
- always set song.file to local file path from decoded stream URL to have
song.decodedPath() return the correct path
- move song.setLocalPath() out of if branch to always have song.localPath()
return the correct path
- only update mod.priority if all song detailss are taken from decoded
stream URL
2020-05-05 18:05:33 +02:00
Craig Drummond
72729bb424
- Correctly handle changing 'Basic' mode music folder.
...
- When stopping 'Basic' mode MPD instance, send SIGKILL.
Closes #1575
2020-02-29 08:26:57 +00:00
Craig Drummond
b8645d1358
Fix most, but not all, deprecation warnings.
2020-02-16 09:51:37 +00:00
Craig Drummond
d7b3965b9b
Update (c) year
2020-01-01 11:51:13 +00:00
Craig Drummond
2d8566d743
- Show podcast coves in toolbar, queue, and info view.
...
- Show podcast description in info view.
- Only show cover in toolbar cover tooltip.
Issue #1556
2019-12-05 16:01:39 +00:00
Craig Drummond
1d0ee7cf98
Sanitise hash usage
...
Closes #1549
2019-11-04 16:05:32 +00:00
Craig Drummond
b283429fa1
Use &<Name> or &StreamName:<Name> if URL already has #
...
Issue #1548
2019-11-03 17:35:40 +00:00
Craig Drummond
a05d81fb03
When adding a stream to the play queue, encode name using #StreamName:name and not just #name - as MPD 0.22 uses this for #icy-metadata
...
Closes #1547
2019-11-02 10:29:08 +00:00
Craig Drummond
cb9efe205f
Update (c) year
2019-09-15 15:56:58 +01:00
Craig Drummond
8c28cadc26
Add 'albumartistsort,artistsort,albumsort" to Cantata local mpd config.
...
Issue #1529
2019-09-02 12:08:59 +01:00
Craig Drummond
599ea8e542
Add a checkbox controlling whether Cantata should apply its replaygain
...
setting each time it connects to MPD.
Issue #1531
2019-09-01 09:26:32 +01:00
Craig Drummond
e0752a81d5
Alter behavour of 'previous' button; if played 5 seconds or more, then go to start of track, else go to previous track.
...
Closes #1509
2019-07-03 13:43:19 +01:00
Craig Drummond
d1411da71b
AlumbumKey should use albumArtistOrComposer
...
Issue #1496
2019-05-25 15:41:57 +01:00
Craig Drummond
238b2b38ad
Fix some metadata inconsistencies
...
Issue #1496
2019-05-25 15:26:57 +01:00