Commit Graph

32 Commits

Author SHA1 Message Date
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
Craig Drummond
e73af45d87 Re-implement songExists 2015-06-08 20:36:20 +01:00
Craig Drummond
68f8476caa Re-implement tag editing, etc, from folders view. 2015-06-08 20:08:49 +01:00
Craig Drummond
653b0031c4 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
04c9386b66 Set, and use, dbName! 2015-06-08 18:57:05 +01:00
Craig Drummond
e212a2713e ifdef indent 2015-06-08 18:53:38 +01:00
Craig Drummond
193e432a95 Only update if parsed filter has actually changed. 2015-06-08 18:22:18 +01:00
Craig Drummond
dbd9b12158 Apply filter when obtaining album details. 2015-06-08 18:14:48 +01:00
Craig Drummond
4a713c7ec9 Initial work on using SQL for MPD cache. Not 100% functional. Eventually
will also use SQL for Jamendo and Magantune...
2015-06-07 22:18:19 +01:00
Craig Drummond
5579f10ecd Re-add code to parse cue files, and add playlists to listing. Needs
testing!
2015-06-02 20:21:12 +01:00
Craig Drummond
605af484f7 Initial import of *VERY* incomplete, and not fully functional Cantata
webapp. Mainly used to test SQLite backend for storing MPD db.
2015-06-01 22:57:49 +01:00