Commit Graph

114 Commits

Author SHA1 Message Date
Craig Drummond
b6bd94c236 Update (c) year 2022-01-08 21:24:07 +00:00
Craig Drummond
b65b182629 Misc fixes - taken from https://github.com/fenuks/cantata 2021-12-27 17:05:24 +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
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
Craig Drummond
07f6361974 Format changes 2021-05-11 12:07:45 +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
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
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
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
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
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
a688c9291c Revert attempt to support abstract sockets - can't seem to get these to
work.
Closes #1486
2019-05-19 21:55:26 +01:00
Craig Drummond
d949a15f08 If local socket name starts with @, replace with \0 for abstract socket
Issue #1486
2019-05-18 22:02:59 +01:00
Craig Drummond
986bdf4f10 Another check for @ 2019-05-16 17:10:27 +01:00
Craig Drummond
9d9089c67f MPRIS seeks command specifies an offset from current position.
Closes #1417
2018-12-09 20:38:21 +00:00
Craig Drummond
a21827b102 Fix MPD cover art retreival 2018-11-12 19:38:53 +00:00
Craig Drummond
31a561284c Fix MPD albumart reading 2018-11-11 09:17:16 +00:00
Craig Drummond
06cf4c4e3d For MPD>=21, use its albumart protocol to fetch covers. 2018-11-10 18:37:37 +00:00
Craig Drummond
3e7a0132a9 Don't stop library scan just because of failure in 1 directory.
Closes #1389
2018-10-18 19:29:22 +01:00
Craig Drummond
7d989d609a Fix smart playlists with a rating range and no song include/exclude rules. 2018-06-24 16:18:27 +01:00
Craig Drummond
0bf0cb841a Use 32-bit unsigned int to store output IDs.
Closes #1316
2018-06-23 09:24:32 +01:00
Craig Drummond
c29481cb04 Fix segfault...
Closes #1294
2018-05-29 07:19:38 +01:00
Craig Drummond
a2350ec740 Ensure local playback enbled for user mpd
Issue #1293
2018-05-28 22:11:02 +01:00
Craig Drummond
7f91b22e76 Don't report errors when listing playlists, as MPD reports error if user has disabled these.
Closes #1284
2018-05-19 16:01:43 +01:00
Craig Drummond
861d517f11 When searching on 'any', do a second search on 'file' and combine results.
Looks as if MPD does not search filenames/paths when using 'any.'
Issue #1264
2018-05-03 17:11:37 +01:00
Craig Drummond
eff0e66d39 Use AUTOMOC 2018-03-07 19:04:14 +00:00
Craig Drummond
fc152a5d1b Remove debug! 2018-02-06 20:48:34 +00:00
Craig Drummond
2d168e3afb Fix reading priority for cantata streams 2018-02-06 20:48:01 +00:00
Craig Drummond
8d88754508 Support playlists in local browse 2018-02-06 19:38:25 +00:00
Craig Drummond
211ef07cb7 Make track links in context view work with CUE files.
Closes #1179
2018-01-31 18:42:21 +00:00
Craig Drummond
eb9ad2c8e2 Only use lsinfo response parsing to detect non-MPD servers. If this
fails, assume MPD
2018-01-17 23:13:56 +00:00
padertux
4f26eb686e Refactor code to use C++11 nullptr 2018-01-08 23:01:25 +01:00
Craig Drummond
2139d3dbb8 Update (c) year 2018-01-01 10:11:39 +00:00
Craig Drummond
6e100a5ef5 Use for(var: list) and not foreach(var, list) 2017-11-27 22:36:53 +00:00