Commit Graph

83 Commits

Author SHA1 Message Date
Craig Drummond
eff0e66d39 Use AUTOMOC 2018-03-07 19:04:14 +00:00
Craig Drummond
7738eaeac9 Don't add year to album name, leads to duplicated year 2018-02-05 20:47:20 +00:00
Craig Drummond
d4564d9de4 Add option to use 'Original Year' to display and sort albums.
Issue #1177
2018-02-01 19:36:27 +00:00
padertux
4f26eb686e Refactor code to use C++11 nullptr 2018-01-08 23:01:25 +01:00
Craig Drummond
178a3ad522 Sort single tracks by title, track artist, then track number, etc.
Issue #1155
2018-01-02 13:29:56 +00:00
Craig Drummond
ff6928df85 Remove debug line 2018-01-02 11:02:03 +00:00
Craig Drummond
536015557c Don't show year for 'Single Tracks' 2018-01-02 00:05:35 +00:00
Craig Drummond
2139d3dbb8 Update (c) year 2018-01-01 10:11:39 +00:00
Craig Drummond
12ffebd5ec Log track count 2017-12-17 18:46:36 +00:00
Craig Drummond
1bb234c845 Close DB when reset 2017-12-17 18:45:14 +00:00
Craig Drummond
311fb0c0fe Make it possible to filter on year (or range of years) in library search
field.
Issue #1131
2017-12-01 18:57:31 +00:00
Craig Drummond
f322d43899 Create QSqlQuery, then call prepare
Issue #1130
2017-11-28 22:37:01 +00:00
Craig Drummond
6e100a5ef5 Use for(var: list) and not foreach(var, list) 2017-11-27 22:36:53 +00:00
Craig Drummond
dad279102d Fix extraction of album names from DB - for use in tag editor and
playlist rules dialogs.
2017-08-19 14:49:38 +01:00
Craig Drummond
be28b9e2dd If listing albums not filtered on artist, then if we have a unqique id
for the album use that. This will allow us to grouup albums with
different composers when the composer tweak is set.
Issue #1025
2017-06-13 18:40:12 +01:00
Craig Drummond
23b32d029b If 'composer genre' is set in tweaks, then use composer to sort artists.
Issue #1025
2017-06-11 20:09:37 +01:00
Craig Drummond
4a1bcd654d Add support for OriginalDate tag.
Issue #1012
2017-04-28 17:41:45 +01:00
Craig Drummond
23b7ded461 Fix line 2017-04-20 20:53:06 +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
3f9554c558 Fix display of artist when showing composer albums 2017-03-13 18:52:24 +00:00
Craig Drummond
b125f1a846 Fix reading of multiple genres from db - was reading 1 field too much!
Issue #939
2016-12-23 10:14:14 +00: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
0cf6ba47d8 Cache up to 4 genres in SQL db. (Issue #882) 2016-08-11 16:54:49 +01:00
Craig Drummond
709b5582ee Show error, but don't terminate (unless showing wizard) on Qt DB driver error 2016-07-12 23:13:11 +01:00
Craig Drummond
10e1bc4125 Check DB is valid too 2016-07-12 20:20:50 +01:00
Craig Drummond
b32bc200ef If can't load SQLite db, then show error and terminate. 2016-07-12 20:18:14 +01:00
Craig Drummond
b4c5624eef Re-add genre combo to library view. Only visible if grouping by artist or album 2016-06-10 18:22:23 +01:00
Craig Drummond
9d21ec6761 Re-add all album sorts from Cantata 1.x 2016-01-27 19:41:32 +00:00
Craig Drummond
705648420a Update (c) year 2016-01-08 18:55:13 +00:00
Craig Drummond
4e2e595585 Ensure currentVersion is reset when changing DBs 2015-12-20 16:03:10 +00:00
Craig Drummond
448615377d When grouping albums, we need to group with artistId - either supplied, or from db. 2015-12-16 22:54:44 +00:00
Craig Drummond
c55ea1ea1d When retrieving albums, if album name is empty use albumId. The DB only stores 1 if they are the same. 2015-11-07 09:00:41 +00:00
Craig Drummond
e9b0ef6b7e Add a /slightly/ nicer sync dialog. Check songs from lib/dev to be copie
dto each other, then press sync button. Calls 2 action dialogs to do the
actual copying.
2015-11-01 16:15:55 +00:00
Craig Drummond
c88736999c Ignore 'The' (if configured) when sorting play queue.
#752
2015-10-28 21:45:01 +00:00
Craig Drummond
623ccc83a2 Enable a little more debug 2015-09-19 15:26:08 +01:00
Craig Drummond
3970b62bd7 Add more debug 2015-09-18 23:47:43 +01:00
Craig Drummond
afde673013 Fix searching for artists, etc, with hyphen - e.g. AC-DC 2015-09-18 22:57:13 +01:00
Craig Drummond
bd7750b3a4 Add 'Append Random Album' option to library, jamendo, and magnatune
pages.
#732
2015-09-13 12:54:50 +01:00
Craig Drummond
21b1ab89f7 Fix prefix searches - 'Maid' matches 'Iron Maiden'. SQLite FTS does not
seem to support suffix searches
#726
2015-08-29 17:15:29 +01:00
Craig Drummond
974bab4879 Add some safet checks around db pointer
#720
2015-08-08 22:39:55 +01:00
Craig Drummond
de84b197c0 If refresh MPD, then remove SQL cache so that its recreated. 2015-08-05 19:19:28 +01:00
Craig Drummond
8d71c798f1 Store title as is in DB - fixes odd looking title for "Single Tracks" 2015-08-05 18:23:57 +01:00
Craig Drummond
717abc86c9 Use text for string rows - otherwise '+44' is converted to '44'
#717
2015-08-02 15:10:13 +01:00
Craig Drummond
37d5446f68 Surround query strings in quotes
#712
2015-07-30 22:52:46 +01:00
Craig Drummond
311367d269 Sledgehammer. If schema version changes, delete SQL file to force
re-load.
2015-07-30 21:02:41 +01:00
Craig Drummond
30b16536a0 Set version to 0 if schema changed - causes a reload 2015-07-30 20:53:35 +01:00
Craig Drummond
7a969fe780 Also need to add albumId to fts table, in case album==albumId in which
case album is not stored in songs
#712
2015-07-30 20:40:09 +01:00
Craig Drummond
ecae49c24e Add option to set prefixes to ignore when sorting (e.g. 'The')
#706
2015-07-25 17:38:56 +01:00