Commit Graph

94 Commits

Author SHA1 Message Date
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
Wolfgang Scherer
243235cefa forked-daapd does not generate valid play queue IDs 2017-11-20 06:30:36 +01:00
Wolfgang Scherer
cccfb92d12 Do not use the prefix for member variables 2017-11-20 00:40:50 +01:00
Wolfgang Scherer
13e27e56c9 serverInfo.detect() moved to setDetails() 2017-11-19 18:27:14 +01:00
Wolfgang Scherer
70bad36bbd Server feature detection 2017-11-19 16:49:01 +01:00
Wolfgang Scherer
e97ecf1609 Option to suppress update command after manipulating files 2017-11-12 07:02:26 +01:00
Wolfgang Scherer
6f7f19dff2 Detect forked-daapd server 2017-11-10 23:51:27 +01:00
Craig Drummond
790a3830b4 Remember last loaded/saved playlist name - and use this as the default
name when saving.

Closes #1116
2017-11-05 15:58:47 +00:00
Craig Drummond
0e2be1a96e Set allowLocalStreaming to false by default 2017-10-15 18:17:29 +01:00
Craig Drummond
55cf1221e2 Remove some debug 2017-10-07 12:30:32 +01:00
Craig Drummond
a33b275702 Fix getting all songs 2017-08-22 21:42:03 +01:00
Craig Drummond
fc88de90bc Initial implementation of smart playlists. NOT complete!!! 2017-08-18 22:45:18 +01:00
Craig Drummond
994020ce70 Fix build error - not sure why my gcc does not complain!
Issue #1067
2017-08-17 16:58:49 +01:00
Craig Drummond
221ba54596 Don't try to seek if no song loaded. 2017-08-17 16:57:55 +01:00
Craig Drummond
839b5983d1 If the initial start-up connection fails, try again every .5 second for
a few seconds.
Issue #1037
2017-08-16 20:15:49 +01:00
Craig Drummond
8ace3ccc8c Emit correct state
Dont log error if "stop" fails due to not connected
Issue #1037
2017-08-16 16:55:03 +01:00
Craig Drummond
4ab6ee771d If initial connection fails, inform ui
Issue #1037
2017-08-16 16:38:20 +01:00
Craig Drummond
ace619aa2c When adding items with a custom priority, or updating a custom priority,
add option to have this priority decrease with each item.

Issue #1054
2017-08-14 19:42:11 +01:00
Craig Drummond
7ef78f4095 Fix some macOS warnings 2017-07-10 22:31:33 +01:00
Craig Drummond
22d091d058 Store replaygain settings in Cantata's config file, as it appears MPD
does not persist changes.
Issue #1041
2017-07-10 20:32:54 +01:00
Craig Drummond
a8ab94b480 Increase socket timeouts
Issue #986
2017-05-07 21:12:26 +01:00