Commit Graph

95 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
padertux
c2ee7e5ad8 Refactor code to use C++11 overriding 2018-01-08 22:51:48 +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
ff288b8209 Delete albumIdOnlyCoverQuery when changing connection.
Issue #1143
2017-12-17 18:49:57 +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
0bc2809073 Log db filenames 2017-12-17 18:45:05 +00:00
Craig Drummond
5b88776a1c Only bind used values 2017-12-17 17:29:09 +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
21733047c7 Add return statement
Issue #957
2017-02-04 15:03:54 +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
39186dd87f Fix Jamendo and Magnatune covers. 2016-06-17 22:43:49 +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
ef023addd8 Delay creation of Jamendo and Magnatune DBs until required. 2016-01-29 21:27:15 +00: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
08f61c7ab7 Fix 'connect' action from main windo 2016-01-06 21:11:23 +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
edd35d33dc - 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
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
3d0aaf40d6 Check alidity of 'db' in startUpdate 2015-09-19 15:26:39 +01: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