Commit Graph

240 Commits

Author SHA1 Message Date
Sumner Evans
0ed2c266d8 Run black on entire project 2020-05-08 11:30:23 -06:00
Sumner Evans
e5b3e659ff Move MPRIS specs to dbus directory 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
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
bee5c6d51f Started trying to integrate use of partial data 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
bd22954c96 Good riddance jedi and rope 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
6bda8eeca4 Working on moving playlist details over to AdapterManager 2020-05-08 11:30:20 -06:00
Sumner Evans
b7f5543339 More documentation! 2020-05-08 11:30:20 -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
5206f55115 Added all of the Subsonic API specs 2020-05-08 11:30:19 -06:00
Sumner Evans
faf33f7426 WIP: making API Objects dataclasses 2020-05-08 11:30:19 -06:00
Sumner Evans
a6066da532 Fixed some tests 2020-05-08 11:30:19 -06:00
Sumner Evans
a695be3340 Got some more things refactored so they actually work 2020-05-08 11:30:19 -06:00
Sumner Evans
bd7336c96f Got to where all I have to do is hook up the cache manager 2020-05-08 11:30:19 -06:00
Sumner Evans
8b9098b217 A bunch more refactoring 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
Sumner Evans
874ad430b9 Formatting in the server module 2020-05-08 11:30:18 -06:00
Sumner Evans
76edb0bcc0 Fixed some mypy errors 2020-05-08 11:30:18 -06:00
Sumner Evans
697332d140 Add Optional[] around things that are optional in the API object classes 2020-05-08 11:30:18 -06:00
Sumner Evans
fa85d42296 Update CHANGELOG for v0.9.2 2020-05-08 11:14:50 -06:00
Sumner Evans
b3aae14bd5 Put an import guard around importing keyring 2020-05-06 23:02:52 -06:00
Sumner Evans
a52e019bac Fix linter error 2020-05-06 22:37:08 -06:00
Sumner Evans
2163adf8d7 Update changelog for v0.9.1 2020-04-26 21:59:02 -06:00
sentriz
8b1a6d6892 use total_seconds() when calculating search change diff
as tested like:

    $ python -c "from datetime import datetime; import time; a = datetime.now(); time.sleep(0.5); b = datetime.now(); print((b-a).seconds)"
    0
    $ python -c "from datetime import datetime; import time; a = datetime.now(); time.sleep(0.5); b = datetime.now(); print((b-a).total_seconds())"
    0.50064
2020-04-20 20:57:37 +01:00
Sumner Evans
e4ef06c960 Update CHANGELOG; fix some bugs with playlists 2020-04-14 11:47:30 -06:00
Sumner Evans
0a9313de11 Closes #152: Make Artist/Playlist info scroll with the song/album lists 2020-04-13 10:47:37 -06:00
Sumner Evans
9449046fe1 Handle when Navidrome returns placholder image 2020-04-11 17:54:43 -06:00
Sumner Evans
7c8bb87d39 Playlists list could be None when coming from Navidrome 2020-04-11 14:35:55 -06:00
Sumner Evans
8a55d9b27a Fixed small bug with search results 2020-04-04 22:25:50 -06:00
Sumner Evans
0f13be6afc Closes #81: prompt to confirm deletion of playlist 2020-04-04 14:21:52 -06:00
Sumner Evans
422f080913 Don't pass song ID when song download state changes 2020-04-04 14:00:11 -06:00
Sumner Evans
cc2148568c Fixed issue where after hotswap, the song would just stop 2020-04-01 22:25:47 -06:00
Sumner Evans
d3b673fd9b fixed bug where the play progress of the last song sometimes was carried over to the next one 2020-03-28 22:55:24 -06:00
Sumner Evans
c9f181a84f made the liter happy 2020-03-28 22:41:28 -06:00
Sumner Evans
bd48e7667e Got very rudimentary notifications working 2020-03-28 22:41:28 -06:00
Sumner Evans
3985908020 Fixed bug on non-darwin environments 2020-03-28 22:10:30 -06:00