Commit Graph

15 Commits

Author SHA1 Message Date
d6658512d8 retire lastfm endpoints/minor formatting 2025-09-23 13:44:54 -04:00
19afb287cd docstrings / formatting 2025-09-23 13:17:34 -04:00
c2044711fb - Changed API key validation from if not _key in self.constants.API_KEYS to if _key not in self.constants.API_KEYS for better readability.
Enhance RadioUtil playlist handling and deduplication

- Added checks to ensure playlists are initialized and not empty.
- Improved deduplication logic to prevent modifying the original playlist during iteration.
- Added logging for duplicate removal and playlist population.

Add cover art handling in rip_background.py

- Implemented functionality to attach album art if provided in metadata.
- Added error handling for cover art download failures.

Introduce unique filename handling in rip_background.py

- Added `ensure_unique_filename_in_dir` function to prevent overwriting files with the same name.

Refactor SRUtil for improved error handling and metadata fetching

- Introduced `MetadataFetchError` for better error management during metadata retrieval.
- Implemented `_safe_api_call` for resilient API calls with retry logic.
- Enhanced `get_artists_by_name` to optionally group results by artist name.
- Updated various methods to utilize the new error handling and retry mechanisms.
2025-09-22 11:08:48 -04:00
6c88c23a4d radio_util: open tracks SQLite DB in readonly mode; black: reformat files 2025-04-17 07:28:05 -04:00
39d1ddaffa cleanup 2025-02-15 21:09:33 -05:00
32009c9a99 radio changes/progress 2025-02-10 20:29:57 -05:00
3ce937ac8e misc/add radio endpoint to repo, prev gitignore'd, WIP 2025-02-09 20:34:11 -05:00
38dbddd297 changes include: allow GET endpoints, redirect to codey.lol instead of returning status 422, clean junk from ai endpoint, add misc endpoint, add methods to lyric_search_new.sources.cache, other misc/cleanup 2025-01-21 19:16:23 -05:00
3c57f13557 cleanup 2025-01-11 20:59:10 -05:00
f20a325a1f CAH plugin ------ initial work/to be refactored, working through implementation bits 2024-09-19 20:58:33 -04:00
da674e0ef9 stale/uncommitted 2024-08-27 20:47:29 -04:00
2d22b90fbd XC progress 2024-08-19 11:42:23 -04:00
56ae0071fa cleanup 2024-08-14 22:47:48 -04:00
ebc9460b8d Resolves #15, addl unrelated changes 2024-08-14 22:43:20 -04:00
db73abf647 test 2024-08-10 22:49:00 -04:00