Commit Graph

102 Commits

Author SHA1 Message Date
Craig Drummond
a33b275702 Fix getting all songs 2017-08-22 21:42:03 +01:00
Craig Drummond
3fb5ee3815 Add file age to sorts, and add option for ascending or descending 2017-08-22 21:31:46 +01:00
Craig Drummond
9b1ef09dea Use em-dash where appropriate
Issue #1064
2017-08-18 22:54:24 +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
32468f7e1e Revert "Use em-dash where appropriate"
This reverts commit aa41876e0c.
2017-08-15 23:00:26 +01:00
Craig Drummond
fd2f7bdbac Use em-dash where appropriate
Issue #1064
2017-08-15 22:57:07 +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
Tobias C. Berner
c573c15507 Fix QtMultimedia include
Don't include <QtMultimedia/QMediaPlayer> if the VLC backend is used.
2017-08-01 13:02:31 +02:00
Tobias C. Berner
e7fa1ce66a Include ctime for time_t 2017-07-31 23:25:29 +02: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
160bb0dbd3 Add musicbrainz_albumid to metadata_to_use
Issue #1031
2017-06-24 18:51:40 +01:00
Craig Drummond
ae34c098f2 Revert 9f4a1e7ae2
Dont group albums on date - causes more issues. Albums with same name
should have different music brainz id (and MPD configured to use this).
Issue #1031
2017-06-21 22:37:49 +01:00
Craig Drummond
c6b2d36699 Use album name + year to group if no musicbrainz album id
Issue #1031
2017-06-19 18:14:47 +01:00
rezodlub
e8cc1ab8ef Fixes:
empty folders on MPD side (crash inserting/removing to/from model)
usage of sys/time.h changed to QTime
no unistd.h in Visual Studio
if QT was build without SSL support, there is no QSslSocket class (at least in 5.6 and 5.8)
missing strncasecmp in Visual Studio
utime.sys is actually sys/utime.h in Visual Studio
2017-06-11 15:31:35 +02:00
Craig Drummond
a8ab94b480 Increase socket timeouts
Issue #986
2017-05-07 21:12:26 +01:00
Craig Drummond
4a1bcd654d Add support for OriginalDate tag.
Issue #1012
2017-04-28 17:41:45 +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
f4c48915d4 Always use external helper for tags 2017-04-09 00:31:44 +01:00
Craig Drummond
b3bc9b456c Reduce number of advanced config items - there was just too many. 2017-04-08 19:27:18 +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
529ab99987 When playing MPD's HTTP output stream, check periodically (for up to 2 seconds) to confirm backend is playing.
Issue #987
2017-04-03 18:46:12 +01:00
Craig Drummond
0a73215867 Update (c) year 2017-04-02 18:45:30 +01:00
Craig Drummond
b0b0140d98 Remove Qt4 support 2017-04-02 18:43:34 +01:00
Craig Drummond
a517bf4f17 Remove KDE4 and Ubuntu Touch support 2017-04-01 22:55:27 +01:00
Craig Drummond
db792ee789 Use 32-bit int for bitrate and samplerate staus values.
Issue #983
2017-04-01 17:28:39 +01:00
Craig Drummond
3f9554c558 Fix display of artist when showing composer albums 2017-03-13 18:52:24 +00: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
7ad9c795f6 Support disc number in CUE files.
Issue #929
2016-12-16 21:45:42 +00:00
Craig Drummond
c47152336e Fix artist and composer image retrieval - disc field is now limited to 5-bits
Issue #915
2016-11-12 20:09:20 +00:00
Craig Drummond
b48d1b4887 Fix duration of last track for split CUE files.
Issue #901
2016-10-29 09:55:46 +01:00
Craig Drummond
0968d45a29 Fix setting of track fields
Issue #900
2016-10-25 20:24:55 +01:00
Craig Drummond
5b5a561b3c Attempt to fix scrobbling if album set to Unknown
Issue #900
2016-10-25 19:20:27 +01:00
Craig Drummond
eaca1f34f3 When listing albums where composer is used for artist grouping, place album artist name after album name if different from composer.
Issue #896
2016-10-16 22:33:41 +01:00
Craig Drummond
9a8af94028 Fix compilation if -DENABLE_SIMPLE_MPD_SUPPORT=OFF (#892) 2016-09-16 18:25:35 +01:00
Craig Drummond
7d3dba4f38 Fix array bounds checking - although no real big issue because if j==length then str[j]=='\0' (Issue #888) 2016-08-28 09:02:01 +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
062a62d3f2 Use Pulse Audio for 'Personal' MPD instance. 2016-06-26 09:28:01 +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