Commit Graph

83 Commits

Author SHA1 Message Date
Craig Drummond
c5e7fa9c0d Use AUTOMOC 2018-03-07 19:04:14 +00:00
Craig Drummond
2eef756266 Don't add year to album name, leads to duplicated year 2018-02-05 20:47:20 +00:00
Craig Drummond
3684f3b26d Add option to use 'Original Year' to display and sort albums.
Issue #1177
2018-02-01 19:36:27 +00:00
padertux
d01f915b4a Refactor code to use C++11 nullptr 2018-01-08 23:01:25 +01:00
Craig Drummond
e97fb3d5c0 Sort single tracks by title, track artist, then track number, etc.
Issue #1155
2018-01-02 13:29:56 +00:00
Craig Drummond
a42ef608e5 Remove debug line 2018-01-02 11:02:03 +00:00
Craig Drummond
5ff2238fb7 Don't show year for 'Single Tracks' 2018-01-02 00:05:35 +00:00
Craig Drummond
445d1497ac Update (c) year 2018-01-01 10:11:39 +00:00
Craig Drummond
f82b984a70 Log track count 2017-12-17 18:46:36 +00:00
Craig Drummond
d1f6a9faec Close DB when reset 2017-12-17 18:45:14 +00:00
Craig Drummond
1cbeee7ce7 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
4da7a9128f Create QSqlQuery, then call prepare
Issue #1130
2017-11-28 22:37:01 +00:00
Craig Drummond
948026d73b Use for(var: list) and not foreach(var, list) 2017-11-27 22:36:53 +00:00
Craig Drummond
2903d7c43b 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
1a445b08c9 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
cc0f9912f6 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
1a94d81a5a Add support for OriginalDate tag.
Issue #1012
2017-04-28 17:41:45 +01:00
Craig Drummond
eba39853cb Fix line 2017-04-20 20:53:06 +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
a2f007a2b7 Update (c) year 2017-04-02 18:45:30 +01:00
Craig Drummond
e60bdafa11 Remove KDE4 and Ubuntu Touch support 2017-04-01 22:55:27 +01:00
Craig Drummond
5601cbe02c Fix display of artist when showing composer albums 2017-03-13 18:52:24 +00:00
Craig Drummond
27b85b92c8 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
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
0c26906188 Cache up to 4 genres in SQL db. (Issue #882) 2016-08-11 16:54:49 +01:00
Craig Drummond
492d961d64 Show error, but don't terminate (unless showing wizard) on Qt DB driver error 2016-07-12 23:13:11 +01:00
Craig Drummond
a82180f963 Check DB is valid too 2016-07-12 20:20:50 +01:00
Craig Drummond
77b0df9677 If can't load SQLite db, then show error and terminate. 2016-07-12 20:18:14 +01:00
Craig Drummond
0ce800b68b 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
b3f7cf2973 Re-add all album sorts from Cantata 1.x 2016-01-27 19:41:32 +00:00
Craig Drummond
05647dca0f Update (c) year 2016-01-08 18:55:13 +00:00
Craig Drummond
d60f297391 Ensure currentVersion is reset when changing DBs 2015-12-20 16:03:10 +00:00
Craig Drummond
45e3e2d37e When grouping albums, we need to group with artistId - either supplied, or from db. 2015-12-16 22:54:44 +00:00
Craig Drummond
b312cec741 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
b33458f7af 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
ec533fb15b Ignore 'The' (if configured) when sorting play queue.
#752
2015-10-28 21:45:01 +00:00
Craig Drummond
2bba373836 Enable a little more debug 2015-09-19 15:26:08 +01:00
Craig Drummond
69c56e26c2 Add more debug 2015-09-18 23:47:43 +01:00
Craig Drummond
a61436872a Fix searching for artists, etc, with hyphen - e.g. AC-DC 2015-09-18 22:57:13 +01:00
Craig Drummond
d84c7506c7 Add 'Append Random Album' option to library, jamendo, and magnatune
pages.
#732
2015-09-13 12:54:50 +01:00
Craig Drummond
9f554eca62 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
a49b27a67d Add some safet checks around db pointer
#720
2015-08-08 22:39:55 +01:00
Craig Drummond
586393b3b1 If refresh MPD, then remove SQL cache so that its recreated. 2015-08-05 19:19:28 +01:00
Craig Drummond
e2c5d73011 Store title as is in DB - fixes odd looking title for "Single Tracks" 2015-08-05 18:23:57 +01:00
Craig Drummond
af33673d03 Use text for string rows - otherwise '+44' is converted to '44'
#717
2015-08-02 15:10:13 +01:00
Craig Drummond
77a059d139 Surround query strings in quotes
#712
2015-07-30 22:52:46 +01:00
Craig Drummond
ef47c09b26 Sledgehammer. If schema version changes, delete SQL file to force
re-load.
2015-07-30 21:02:41 +01:00
Craig Drummond
ea3424cd39 Set version to 0 if schema changed - causes a reload 2015-07-30 20:53:35 +01:00
Craig Drummond
fcc8418a48 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
e33d41066e Add option to set prefixes to ignore when sorting (e.g. 'The')
#706
2015-07-25 17:38:56 +01:00