Commit Graph

75 Commits

Author SHA1 Message Date
Craig Drummond
f72947db47 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
4c4afe82d8 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
c5e7fa9c0d Use AUTOMOC 2018-03-07 19:04:14 +00:00
Craig Drummond
be209af3d3 Remove debug! 2018-02-06 20:48:34 +00:00
Craig Drummond
64fa127746 Fix reading priority for cantata streams 2018-02-06 20:48:01 +00:00
Craig Drummond
d0254777a5 Support playlists in local browse 2018-02-06 19:38:25 +00:00
Craig Drummond
a5f5538969 Make track links in context view work with CUE files.
Closes #1179
2018-01-31 18:42:21 +00:00
Craig Drummond
bd75fe23f7 Only use lsinfo response parsing to detect non-MPD servers. If this
fails, assume MPD
2018-01-17 23:13:56 +00:00
padertux
d01f915b4a Refactor code to use C++11 nullptr 2018-01-08 23:01:25 +01:00
Craig Drummond
445d1497ac Update (c) year 2018-01-01 10:11:39 +00:00
Craig Drummond
948026d73b Use for(var: list) and not foreach(var, list) 2017-11-27 22:36:53 +00:00
Wolfgang Scherer
7ff98497c3 forked-daapd does not generate valid play queue IDs 2017-11-20 06:30:36 +01:00
Wolfgang Scherer
967efeedf5 Do not use the prefix for member variables 2017-11-20 00:40:50 +01:00
Wolfgang Scherer
7f6ab8ec3f serverInfo.detect() moved to setDetails() 2017-11-19 18:27:14 +01:00
Wolfgang Scherer
3a631b5f09 Server feature detection 2017-11-19 16:49:01 +01:00
Wolfgang Scherer
3dc1235e1c Option to suppress update command after manipulating files 2017-11-12 07:02:26 +01:00
Wolfgang Scherer
dcf3f0432b Detect forked-daapd server 2017-11-10 23:51:27 +01:00
Craig Drummond
ccc4ae54ec 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
cca99b9c22 Set allowLocalStreaming to false by default 2017-10-15 18:17:29 +01:00
Craig Drummond
3dbac6feb9 Remove some debug 2017-10-07 12:30:32 +01:00
Craig Drummond
c3bb3a50fc Fix getting all songs 2017-08-22 21:42:03 +01:00
Craig Drummond
ab8c33bfeb Initial implementation of smart playlists. NOT complete!!! 2017-08-18 22:45:18 +01:00
Craig Drummond
b381f446aa Fix build error - not sure why my gcc does not complain!
Issue #1067
2017-08-17 16:58:49 +01:00
Craig Drummond
cdf4e4386e Don't try to seek if no song loaded. 2017-08-17 16:57:55 +01:00
Craig Drummond
7432a1d12b 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
dbf7554e67 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
b43c4d689b If initial connection fails, inform ui
Issue #1037
2017-08-16 16:38:20 +01:00
Craig Drummond
0b18f14089 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
1c354da8d5 Fix some macOS warnings 2017-07-10 22:31:33 +01:00
Craig Drummond
f4232001d8 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
95c50c296b Increase socket timeouts
Issue #986
2017-05-07 21:12:26 +01:00
Craig Drummond
8671e5dbfb If seek backwards would be past start of song, just seek to start 2017-04-22 11:12:13 +01:00
Craig Drummond
38b9ba86ff When adding files to playqueue, and in btaches of up to 2000 files. 2017-04-21 18:43:40 +01:00
Craig Drummond
699dbfb721 Add 3 seek levels (5 seconds, 30 seconds, and 60 seconds), with
assignable shortcuts.
Issues #1008 and #1009
2017-04-21 18:35:43 +01:00
Craig Drummond
e67d6e3a23 Use Qt5's translation framework - ts files, not po files. 2017-04-08 10:35:31 +01:00
Craig Drummond
a2f007a2b7 Update (c) year 2017-04-02 18:45:30 +01:00
Craig Drummond
e60bdafa11 Remove KDE4 and Ubuntu Touch support 2017-04-01 22:55:27 +01:00
Craig Drummond
0167bb90e6 Supress mopdiy errors due to missing replaygain and crossfade support 2017-01-10 23:13:42 +00:00
Craig Drummond
5b49071b08 Improve Mopidy support.
Issue #949
2017-01-10 22:37:07 +00:00
Craig Drummond
800d986661 Fix compilation if -DENABLE_SIMPLE_MPD_SUPPORT=OFF (#892) 2016-09-16 18:25:35 +01:00
Craig Drummond
d1a2006f91 If playlist length does not match number of IDs, then refresh (Issue #868) 2016-08-11 20:47:12 +01:00
Craig Drummond
e4e6a86b6d Clear playueue ids, etc, when disconnect (#868) 2016-07-23 10:58:08 +01:00
Craig Drummond
536b076760 Send a message at least once every 5 seconds to MPD, to ensure connection is still valid. (#868) 2016-07-22 16:37:17 +01:00
Craig Drummond
25f1ad7908 Fix various issues with 'Personal' MPD instance. 2016-06-18 16:21:38 +01:00
Craig Drummond
dc064f5e89 If a 'Basic' mode connection fails, re-start spawned MPD instance (and remove any previous pid file). 2016-06-14 20:22:25 +01:00
Craig Drummond
3a2fd3777d When adding tracks from folders view, only add playlists if these have been explicitly selected. 2016-06-09 22:46:42 +01:00
Craig Drummond
6146e89ce8 Fix drag'n'drop of non-loaded playlists. 2016-04-26 19:47:00 +01:00
Craig Drummond
05647dca0f Update (c) year 2016-01-08 18:55:13 +00:00
Craig Drummond
2c17806743 Add debug as to what folder is being listed. 2016-01-02 09:35:46 +00:00
Craig Drummond
20186cc0e6 For timers started in a thread, connect the thread's finished signal to the timer's stop slot, helps with:
QObject::killTimer: Timers cannot be stopped from another thread
2015-12-22 14:30:00 +00:00