Commit Graph

60 Commits

Author SHA1 Message Date
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
Craig Drummond
03ed9e5970 Re-enable single char search
#702
2015-07-22 09:30:54 +01:00
Craig Drummond
25ff471d3b - Speed up album loading and searching. Use single query to get track
details - and use this to build listing.
- Reduce space of db slightly - by not storing album and albumId if
these are the same.
- Remove indexes, as these were incorrect anyway.
#702
2015-07-21 21:58:41 +01:00
Craig Drummond
6a45059c5a Add albums index
#702
2015-07-20 20:58:38 +01:00
Craig Drummond
db784df443 Search for all words 2015-07-17 23:58:52 +01:00
Craig Drummond
e89b4ca413 Artist index for Jamendo 2015-07-16 22:08:08 +01:00
Craig Drummond
ba89f8c879 Fix album/artist sort of "The ???" entries 2015-07-16 22:02:44 +01:00
Craig Drummond
99c1228f19 Only create fts table if it does not already exist. 2015-07-09 20:18:16 +01:00
Craig Drummond
2db8e6f1f6 Get rid of double not (!!) !!!!!!!
#687
2015-07-09 20:12:57 +01:00
Craig Drummond
498d361edd If unicode61 tokenizer fails, try with simple tokenizer.
#687
2015-07-09 19:56:03 +01:00
Craig Drummond
7e0536f239 Add some debug info if FTS creation fails 2015-07-09 19:17:45 +01:00
Craig Drummond
c15bb123c5 Add more debug 2015-07-07 23:47:00 +01:00
Craig Drummond
dd5a8bf2ef - Fix index creation
- Create index (artistId, albumId) to speed up albums listing
2015-06-28 08:21:24 +01:00
Craig Drummond
11e9161d60 Implement sorting of albums by last modified 2015-06-27 17:34:05 +01:00
Craig Drummond
487fd0f3c0 Move view settings into menu button for each view 2015-06-27 17:06:14 +01:00
Craig Drummond
a73d66bdba Sore last-modified, so that can be used for later sort 2015-06-26 21:45:06 +01:00
Craig Drummond
bebc0e0b11 Use idx paramter! 2015-06-26 21:22:27 +01:00
Craig Drummond
ecc3321f30 Add genre/artistId index for Jamendo/Magnatune slows ingest down a
little, but speeds up loading
2015-06-21 11:17:16 +01:00
Craig Drummond
529f0bb738 Check db is valid 2015-06-20 18:54:42 +01:00
Craig Drummond
42a514054d Add function to clear songs 2015-06-20 18:51:32 +01:00
Craig Drummond
cd4f16ddc8 Empty songs_fts when empty songs 2015-06-20 18:46:07 +01:00
Craig Drummond
54f615cc77 Re-work online services so that Jamendo and Magantune use SQL backend.
This is NO WHERE NEAR COMPLETE! There are *lots* of missing features,
etc.
2015-06-19 21:39:56 +01:00
Craig Drummond
dc594559b5 Implement getXXXIndex functions 2015-06-08 23:05:15 +01:00
Craig Drummond
5e4103d97c Album/artist sorting 2015-06-08 20:54:44 +01:00