Commit Graph

44 Commits

Author SHA1 Message Date
Sumner Evans
10c968ea44 Added tests for cache status detection 2020-05-15 15:12:27 -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
d1812124fa Cache search results 2020-05-12 13:36:37 -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
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
60063a12a9 Fix a few linter errors 2020-05-10 01:18:57 -06:00
Sumner Evans
92b07f0c19 Move get_song_filename_or_stream to AdapterManager 2020-05-09 23:08:33 -06:00
Sumner Evans
a8447c5b05 Started making get_song_details work 2020-05-09 22:25:31 -06:00
Sumner Evans
f5492b82f2 Get Genres support in adapters 2020-05-09 19:31:54 -06:00
Sumner Evans
8c4bfd211f Added some test 2020-05-09 18:17:47 -06:00
Sumner Evans
463d7b526a Fixed a test 2020-05-09 15:55:57 -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
1da4d573aa Add tests for AdapterManager.Result 2020-05-08 11:30:24 -06:00
Sumner Evans
0a9e47557b Moved all of the Playlist functions over to the Adapter Manager 2020-05-08 11:30:24 -06:00
Sumner Evans
dbc250bf36 Started working on create|update|delete playlists 2020-05-08 11:30:24 -06:00
Sumner Evans
c3a94e1e3b Added some documentation; fixed issue with deleting playlists 2020-05-08 11:30:23 -06:00
Sumner Evans
0ed2c266d8 Run black on entire project 2020-05-08 11:30:23 -06:00
Sumner Evans
678fde3b24 Handle duplicates in playlist 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
31ea3a51f8 Fixing bugs with ingesting new song data in playlists 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
Sumner Evans
9d7218afd9 Added tests for get_playlists and get_playlist_details 2020-05-08 11:30:21 -06:00
Sumner Evans
b14d20b4cd Added some tests for the playlist details endpoint 2020-05-08 11:30:21 -06:00
Sumner Evans
b740729ca0 Converted the Sublime Music Adapter API classes to ABCs 2020-05-08 11:30:21 -06:00
Sumner Evans
44bd78db46 Laid a ton of groundwork and got the first AdapterManager function working 2020-05-08 11:30:20 -06:00
Sumner Evans
fdb02a7e76 Got things to a good state that can be built off of 2020-05-08 11:30:20 -06:00
Sumner Evans
0cfe31283d Make the Adapter base class an ABC; started AdapterManager 2020-05-08 11:30:20 -06:00
Sumner Evans
38b29b8909 Getting started in earnest with Adapter API 2020-05-08 11:30:19 -06:00
Sumner Evans
a6066da532 Fixed some tests 2020-05-08 11:30:19 -06:00
Sumner Evans
3798865009 Starting to refactor to use AppConfiguration as top-level 2020-05-08 11:30:18 -06:00