Commit Graph

11 Commits

Author SHA1 Message Date
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
e1194475b3 misc 2025-09-18 08:13:21 -04:00
3b74333b96 misc 2025-09-12 22:39:59 -04:00
fb1d48ab58 formatting / CORS changes 2025-08-09 07:48:07 -04:00
9e9748076b misc / tRIP - beginnings/work in progress 2025-08-07 11:47:57 -04:00
8603b11438 playlists have been stored to redis for faster retrieval; additional work needed (playlist management, typeahead, etc- to move away from SQLite) 2025-07-20 15:50:25 -04:00
a1f82036ff misc 2025-07-15 11:39:12 -04:00
4cdd6d0c99 misc/migration related 2025-06-08 08:53:18 -04:00
6c88c23a4d radio_util: open tracks SQLite DB in readonly mode; black: reformat files 2025-04-17 07:28:05 -04:00
6ef38f17a7 update sfm stream url, add album to webhook np message 2025-03-10 10:00:23 -04:00
a023868671 add gitignores 2025-02-26 21:07:05 -05:00