Commit Graph

102 Commits

Author SHA1 Message Date
Craig Drummond
c3bb3a50fc Fix getting all songs 2017-08-22 21:42:03 +01:00
Craig Drummond
5933000d46 Add file age to sorts, and add option for ascending or descending 2017-08-22 21:31:46 +01:00
Craig Drummond
9ffba0a564 Use em-dash where appropriate
Issue #1064
2017-08-18 22:54:24 +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
3ef49aa27d Revert "Use em-dash where appropriate"
This reverts commit aa41876e0c.
2017-08-15 23:00:26 +01:00
Craig Drummond
aa41876e0c Use em-dash where appropriate
Issue #1064
2017-08-15 22:57:07 +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
Tobias C. Berner
6376d0a1fb 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
a60e461c08 Include ctime for time_t 2017-07-31 23:25:29 +02: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
09cc68dbd6 Add musicbrainz_albumid to metadata_to_use
Issue #1031
2017-06-24 18:51:40 +01:00
Craig Drummond
f7fc9fbe8d 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
9f4a1e7ae2 Use album name + year to group if no musicbrainz album id
Issue #1031
2017-06-19 18:14:47 +01:00
rezodlub
7cc1c378aa 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
95c50c296b Increase socket timeouts
Issue #986
2017-05-07 21:12:26 +01:00
Craig Drummond
1a94d81a5a Add support for OriginalDate tag.
Issue #1012
2017-04-28 17:41:45 +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
168c2495bc Always use external helper for tags 2017-04-09 00:31:44 +01:00
Craig Drummond
4f7357c5bd Reduce number of advanced config items - there was just too many. 2017-04-08 19:27:18 +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
3a1491df7d 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
a2f007a2b7 Update (c) year 2017-04-02 18:45:30 +01:00
Craig Drummond
18e2fb6dcf Remove Qt4 support 2017-04-02 18:43:34 +01:00
Craig Drummond
e60bdafa11 Remove KDE4 and Ubuntu Touch support 2017-04-01 22:55:27 +01:00
Craig Drummond
6fe86a5160 Use 32-bit int for bitrate and samplerate staus values.
Issue #983
2017-04-01 17:28:39 +01:00
Craig Drummond
5601cbe02c Fix display of artist when showing composer albums 2017-03-13 18:52:24 +00: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
5009b82228 Support disc number in CUE files.
Issue #929
2016-12-16 21:45:42 +00:00
Craig Drummond
d545b3687b 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
c578309523 Fix duration of last track for split CUE files.
Issue #901
2016-10-29 09:55:46 +01:00
Craig Drummond
2f6c820597 Fix setting of track fields
Issue #900
2016-10-25 20:24:55 +01:00
Craig Drummond
2315479911 Attempt to fix scrobbling if album set to Unknown
Issue #900
2016-10-25 19:20:27 +01:00
Craig Drummond
98936e0504 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
800d986661 Fix compilation if -DENABLE_SIMPLE_MPD_SUPPORT=OFF (#892) 2016-09-16 18:25:35 +01:00
Craig Drummond
5d76efa6c0 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
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
97484356b1 Use Pulse Audio for 'Personal' MPD instance. 2016-06-26 09:28:01 +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