Commit Graph

65 Commits

Author SHA1 Message Date
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
Craig Drummond
943c5873c0 If seek backwards would be past start of song, just seek to start 2017-04-22 11:12:13 +01:00
Craig Drummond
c16be990aa When adding files to playqueue, and in btaches of up to 2000 files. 2017-04-21 18:43:40 +01:00
Craig Drummond
f76407816e 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
b63c6fbe26 Use Qt5's translation framework - ts files, not po files. 2017-04-08 10:35:31 +01:00
Craig Drummond
0a73215867 Update (c) year 2017-04-02 18:45:30 +01:00
Craig Drummond
a517bf4f17 Remove KDE4 and Ubuntu Touch support 2017-04-01 22:55:27 +01:00
Craig Drummond
8bf4f28360 Supress mopdiy errors due to missing replaygain and crossfade support 2017-01-10 23:13:42 +00:00
Craig Drummond
123e84bbd2 Improve Mopidy support.
Issue #949
2017-01-10 22:37:07 +00:00
Craig Drummond
9a8af94028 Fix compilation if -DENABLE_SIMPLE_MPD_SUPPORT=OFF (#892) 2016-09-16 18:25:35 +01:00
Craig Drummond
e2c2685bfa If playlist length does not match number of IDs, then refresh (Issue #868) 2016-08-11 20:47:12 +01:00
Craig Drummond
65cca3fdda Clear playueue ids, etc, when disconnect (#868) 2016-07-23 10:58:08 +01:00
Craig Drummond
3e96492c96 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
d310ecb035 Fix various issues with 'Personal' MPD instance. 2016-06-18 16:21:38 +01:00
Craig Drummond
af4b311901 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
cfba8f3e18 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
4b163a7080 Fix drag'n'drop of non-loaded playlists. 2016-04-26 19:47:00 +01:00
Craig Drummond
705648420a Update (c) year 2016-01-08 18:55:13 +00:00
Craig Drummond
c2ee7f399e Add debug as to what folder is being listed. 2016-01-02 09:35:46 +00:00
Craig Drummond
ff3d2cca44 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
Craig Drummond
2b6f9a0587 Allow to specify a list of folders for 'Single Tracks' UI strings not updated, as already sent for translation. 2015-12-19 22:18:49 +00:00
Craig Drummond
e0a3051352 Spelling 2015-12-03 21:51:39 +00:00
Craig Drummond
45ce4ac749 - Add tooltip for 'last modified' search
- only access YYYY/MM/DD  for search
#767
2015-11-29 22:34:45 +00:00
Craig Drummond
4e6834df4d - Send songs from MPD thread to GUI thread in batches of 200
- Call processEvents() during music listing
- Dont attempt to load library whilst loading library!
#763
2015-11-20 21:30:17 +00:00
Craig Drummond
96d24ffa02 Fix adding folders to playlists 2015-11-14 14:22:30 +00:00
Craig Drummond
2181773dea If "list genre" returns empty, then also check "list artist". If both
are empty, then we can assume backend is upnp
2015-10-16 22:41:55 +01:00
Craig Drummond
7242297fa3 Remove 'Use library' setting. Instead, check for return of "list genre".
If this is empty, then assume we cannot populate library via "lsinfo"
2015-10-11 19:59:14 +01:00
Craig Drummond
7a48379c61 Fix insert-after current, and drag'n'drop of folders
- NEed to expand list of files before adding
2015-10-09 21:33:22 +01:00
Craig Drummond
12df353bdf Show non-top-level playlists in folders page 2015-10-08 22:34:45 +01:00
Craig Drummond
69020f3d94 Instead of setting MPD top level folder, add option to disable library
page population for an MPD server. This is required in the case where a
UPnP backend is used - in this case there could be duplicated tracks.
This is what the top-level setting was designed to work-around, however
there could be multiple UPnP servers - in which case this would break.
2015-10-08 22:22:54 +01:00