Commit Graph

55 Commits

Author SHA1 Message Date
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
Craig Drummond
2a3a7cf969 Re-enable single char search
#702
2015-07-22 09:30:54 +01:00
Craig Drummond
26b922c174 - 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
68ceb5977f Add albums index
#702
2015-07-20 20:58:38 +01:00
Craig Drummond
94859b2a42 Search for all words 2015-07-17 23:58:52 +01:00
Craig Drummond
18077a8072 Artist index for Jamendo 2015-07-16 22:08:08 +01:00
Craig Drummond
677e9f7905 Fix album/artist sort of "The ???" entries 2015-07-16 22:02:44 +01:00
Craig Drummond
95e3301281 Only create fts table if it does not already exist. 2015-07-09 20:18:16 +01:00
Craig Drummond
0a4a37596b Get rid of double not (!!) !!!!!!!
#687
2015-07-09 20:12:57 +01:00
Craig Drummond
b78660c9ba If unicode61 tokenizer fails, try with simple tokenizer.
#687
2015-07-09 19:56:03 +01:00
Craig Drummond
a763a2a217 Add some debug info if FTS creation fails 2015-07-09 19:17:45 +01:00
Craig Drummond
6f61b3997e Add more debug 2015-07-07 23:47:00 +01:00
Craig Drummond
a1cb4acbe2 - Fix index creation
- Create index (artistId, albumId) to speed up albums listing
2015-06-28 08:21:24 +01:00
Craig Drummond
1c6361086a Implement sorting of albums by last modified 2015-06-27 17:34:05 +01:00
Craig Drummond
5fe2db6319 Move view settings into menu button for each view 2015-06-27 17:06:14 +01:00
Craig Drummond
3d26523151 Sore last-modified, so that can be used for later sort 2015-06-26 21:45:06 +01:00
Craig Drummond
0cf56fae6e Use idx paramter! 2015-06-26 21:22:27 +01:00
Craig Drummond
9b13de6c2f 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
7a5f1fe1c6 Check db is valid 2015-06-20 18:54:42 +01:00
Craig Drummond
6804f35824 Add function to clear songs 2015-06-20 18:51:32 +01:00
Craig Drummond
7253bcb56b Empty songs_fts when empty songs 2015-06-20 18:46:07 +01:00
Craig Drummond
6d52512c46 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
d29e685863 Implement getXXXIndex functions 2015-06-08 23:05:15 +01:00
Craig Drummond
c18e48a60b Album/artist sorting 2015-06-08 20:54:44 +01:00
Craig Drummond
23be42719f Re-implement songExists 2015-06-08 20:36:20 +01:00
Craig Drummond
5750efe823 Re-implement tag editing, etc, from folders view. 2015-06-08 20:08:49 +01:00
Craig Drummond
d734f3a4bb Implement getDetails() for SQL backend - to supply set of artists, albums, etc for tag editor, dynamic rules, etc. 2015-06-08 19:55:47 +01:00
Craig Drummond
1d558fe2eb Set, and use, dbName! 2015-06-08 18:57:05 +01:00
Craig Drummond
66e66d9c7e ifdef indent 2015-06-08 18:53:38 +01:00