Commit Graph

57 Commits

Author SHA1 Message Date
Sumner Evans
0d8c27504f Add virtual buffer to make the GTK tests work 2020-05-30 01:05:44 -06:00
Sumner Evans
ee8fd84782 Added some tests for the common UI code 2020-05-28 11:42:23 -06:00
Sumner Evans
66b5f0c95d Fixed a couple of linter errors and got rid of a test that doesn't matter 2020-05-27 23:25:39 -06:00
Sumner Evans
1bba10b37c Refactor can-prefixed properties 2020-05-27 00:08:00 -06:00
Sumner Evans
209491204f Play queue enabled/disabled depending on cache state 2020-05-24 21:28:32 -06:00
Sumner Evans
844a3c17cc Fixing mypy errors 2020-05-22 19:19:02 -06:00
Sumner Evans
25db066345 Bug fixes for getting similar artists working 2020-05-21 12:20:25 -06:00
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
00516581dc Closes #192 Play queue resume is non-modal
Also added infrastructure for showing other non-modal notifications
2020-05-16 23:08:16 -06:00
Sumner Evans
8c765b5cd7 Fixed some issues with search 2020-05-15 22:34:49 -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
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