Commit Graph

55 Commits

Author SHA1 Message Date
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
Craig Drummond
a04307d8e1 Dynamically load folder view. (No nonger use listall :-) ) 2015-10-08 21:42:35 +01:00
Craig Drummond
77ae58a9d0 Set HTTP server to listen on all addresses, but use IP address of socket
connected to MPD for HTTP URLs.
2015-08-14 18:57:15 +01:00
Craig Drummond
9533f12881 Update (c) year 2015-08-13 21:12:34 +01:00
Craig Drummond
8a0ccf092c New options to add songs to play queue - 'add and play', 'append and
play', and 'insert after current'
#680
2015-08-10 18:00:44 +01:00
Craig Drummond
b4018e2b8d Don't show an error if [Radio Streams] playlist does not exist
#697
2015-07-11 13:37:28 +01:00
Craig Drummond
87cbabe13e Always use lsinfo 2015-07-03 23:56:29 +01:00
Craig Drummond
67507362d5 Always build support for Dynamic, Online, and Streams 2015-06-26 21:18:25 +01:00
Craig Drummond
e2c2f41e20 Add (untested!) option to group tracks within configured folder as 'Various Artists / Single Tracks' 2015-06-08 18:46:39 +01:00
Craig Drummond
4a713c7ec9 Initial work on using SQL for MPD cache. Not 100% functional. Eventually
will also use SQL for Jamendo and Magantune...
2015-06-07 22:18:19 +01:00
Craig Drummond
5579f10ecd Re-add code to parse cue files, and add playlists to listing. Needs
testing!
2015-06-02 20:21:12 +01:00