Commit Graph

31 Commits

Author SHA1 Message Date
Sumner Evans
f8b1ed1ad3 Prefetching a lot more stuff to reduce the number of SQL queries 2020-05-19 09:51:28 -06:00
Sumner Evans
d312046307 Fixed a bunch of perf issues; handled null album/artist IDs; sort directories & albums in artist view & genres
Closes #181
2020-05-18 20:57:03 -06:00
Sumner Evans
0817282628 Fixed ordering of albums out of the cache 2020-05-15 21:31:52 -06:00
Sumner Evans
eb59fa4adf Data invalidation/cache/delete functions now just take a single argument instead of a parameter hash which is slow 2020-05-15 16:59:10 -06:00
Sumner Evans
8ed07e79bc Songs get cached in directory structure unless they are malformed 2020-05-15 14:47:43 -06:00
Sumner Evans
1b980534f6 A bunch of cleanup 2020-05-15 09:05:57 -06:00
Sumner Evans
8017aac704 Got browse caching working 2020-05-14 22:49:30 -06:00
Sumner Evans
d54dcdbd8b Migrate get_directory to Adapter system 2020-05-13 21:55:41 -06:00
Sumner Evans
2fba26c766 Move get_album to adapter manager; invalidation cascade 2020-05-12 03:08:26 -06:00
Sumner Evans
3d629be640 Convert get_artist to AdapterManager; improve get_artists 2020-05-11 17:43:49 -06:00
Sumner Evans
6c123c7488 Convert get_artists to AdapterManager 2020-05-11 10:20:51 -06:00
Sumner Evans
105ef817b4 Added framework for versioning 2020-05-10 21:35:22 -06:00
Sumner Evans
5a5fd1ac13 Made Artist and Directory x-reffed objects 2020-05-10 20:51:00 -06:00
Sumner Evans
598fbbb6c1 Get/save play queue. Made Album a sub-object 2020-05-10 17:27:15 -06:00
Sumner Evans
1b7ed14d76 Made genres a subobject 2020-05-10 12:48:59 -06:00
Sumner Evans
c29caf8356 Fixed the rest of the flake8 errors 2020-05-10 11:23:00 -06:00
Sumner Evans
0ec1d1450f Fixed some annoying bugs 2020-05-10 00:11:04 -06:00
Sumner Evans
f5492b82f2 Get Genres support in adapters 2020-05-09 19:31:54 -06:00
Sumner Evans
0e8d2ca68b Batch download songs; add tests for song invalidation and deletion 2020-05-09 05:27:02 -06:00
Sumner Evans
e0449bccb3 Add tests for invalidate and delete methods in filesystem adapter 2020-05-09 02:34:34 -06:00
Sumner Evans
592373e76e Migrate playlist cover art caching to adapter system 2020-05-09 00:25:42 -06:00
Sumner Evans
dbc250bf36 Started working on create|update|delete playlists 2020-05-08 11:30:24 -06:00
Sumner Evans
0ed2c266d8 Run black on entire project 2020-05-08 11:30:23 -06:00
Sumner Evans
bb26068ac6 Refactor sqlite extensions out to separate module 2020-05-08 11:30:23 -06:00
Sumner Evans
d28c389bb2 Use a deterministic hash 2020-05-08 11:30:22 -06:00
Sumner Evans
a36aac26e9 Reduce linter errors 2020-05-08 11:30:22 -06:00
Sumner Evans
b6327a6535 Allow cache misses to include partial data 2020-05-08 11:30:22 -06:00
Sumner Evans
01e8e3c5dd Caching playlist detail retrieval 2020-05-08 11:30:22 -06:00
Sumner Evans
934eff06c5 Cache songs on get playlist details 2020-05-08 11:30:22 -06:00
Sumner Evans
c90b52f493 Added tests for the filesystem adapter 2020-05-08 11:30:21 -06:00
Sumner Evans
2863570e5b Added a hack to make testing the filesystem adapter tests working 2020-05-08 11:30:21 -06:00