Commit Graph

16 Commits

Author SHA1 Message Date
Sebastian Mohr
c71ac00f00 Fix auth URL not printed in environments without a
configured browser
2026-06-20 14:01:44 +02:00
Šarūnas Nejus
648f24cbc2 Enable and fix flake8-builtins 2026-06-09 00:14:06 +01:00
Sebastian Mohr
adfb73b66d Run ruff format 2026-05-20 16:53:06 +02:00
Sebastian Mohr
aa18e2e4e8 Auth flow should open browser if possible. 2026-04-20 20:55:47 +02:00
Sebastian Mohr
7509fca2ca Moved beets ui import to top. 2026-04-20 20:55:47 +02:00
Sebastian Mohr
55da1cb5a5 Use get_json where applicable and simplified iso 8601 parsing. 2026-04-20 20:55:47 +02:00
Sebastian Mohr
830c14a5bb Added retry logic to TidalSession and added RequestHandler abstraction
to api layer.
2026-04-20 20:55:47 +02:00
Sebastian Mohr
2afa774126 Move auth flow to use requests-oauth. 2026-04-20 20:55:47 +02:00
Sebastian Mohr
2c24b93ca7 Another subset of review comments from @snejus:
- Renamed _extract_* methods to _parse_*
- Renamed release to date_parts
- Using .get instead of .request("GET"...)
2026-04-20 20:55:47 +02:00
Sebastian Mohr
ad79dc2047 super requests already raises. 2026-04-20 20:55:47 +02:00
Sebastian Mohr
a585df514b Added batching for max filter size. 2026-04-20 20:55:47 +02:00
Sebastian Mohr
996d2eaf36 First iteration of reviews:
- too strict ids
- typos and docstring improvements
2026-04-20 20:55:47 +02:00
Sebastian Mohr
1569810427 Added candidate method implementations methods: Required a slight
amount of refactoring but im more happy with the abstraction now.
2026-04-20 20:55:47 +02:00
Sebastian Mohr
b77bc1ac94 Fixed a few typing issues and a small bug around how responses are handled
in the session.
2026-04-20 20:55:47 +02:00
Sebastian Mohr
b55c8602cb Added small typing wrapper for api layer. Not enterly needed but it makes
working with the api response data so much easier.
2026-04-20 20:55:47 +02:00
Sebastian Mohr
cc943c3ccc Scafolded tidal source plugin:
- plugin functions currently unimplemented
- added authentication flow (pcke)
- added api layer to abstract communication with tidal (similar to spotify)
- added a general Request RateLimiter as I have seen that tidal will penalize
you pretty rough if you make more requests than expected.
2026-04-20 20:55:47 +02:00