Commit Graph

306 Commits

Author SHA1 Message Date
3f66223328 Fix import statement for index_definition in redis_cache.py and radio_util.py (dependency upgrade related-- redis module) 2025-10-15 12:13:03 -04:00
c493f2aabf Increase rate limit for lighting state requests and enhance error handling for Cync device operations. Improve lyric search processing by splitting lyrics based on line breaks and cleaning special characters (bugfix for subsearch/seek). 2025-10-15 10:10:56 -04:00
0029a9ec19 . 2025-10-07 12:07:45 -04:00
90c3efbb8b Remove .gitignore file, radio database restructuring 2025-10-07 12:07:13 -04:00
a61970d298 . 2025-10-03 11:34:48 -04:00
fb94750b46 - Removed unnecessary/unrelated files
- Added Scalar
2025-10-03 11:34:33 -04:00
ae419a2cbf Update README.md 2025-10-02 13:40:01 -04:00
60a5ed981f Update README.md 2025-10-02 13:37:07 -04:00
eae490ddde minor/formatting 2025-10-02 10:45:30 -04:00
fa3c8e8861 Add lighting endpoint with Cync integration and state management 2025-10-02 10:40:11 -04:00
a442972571 radio: refactor LRC fetching to directly use asyncio for backgrounding, and add null check for album art in RadioUtil 2025-09-30 10:01:57 -04:00
6f016c7917 minor: formatting 2025-09-27 09:29:53 -04:00
0bd2b6b4f3 Refactor LRC fetching logic to use BackgroundTasks directly and encapsulate in a new async method 2025-09-27 09:28:47 -04:00
566f1f6692 Add connection check to Redis methods and refactor index creation logic 2025-09-27 09:22:56 -04:00
061aed296f Enhance LRC and SR duration matching logic by increasing tolerance from 5 seconds to 10 seconds + improve LRC websocket broadcasting logic 2025-09-27 09:17:24 -04:00
00614326a4 Clear LRC cache on track change and improve LRC fetching logic 2025-09-26 13:45:39 -04:00
47089cc7cb Add LRC caching mechanism to optimize fetching and broadcasting of lyrics 2025-09-26 12:36:20 -04:00
e08e25a3b8 Remove file path information from track data in WebSocket responses (low/no-risk) 2025-09-26 12:30:23 -04:00
8f59326c82 Add duration parameter to LRCLib search method and create init files for endpoints and utils packages 2025-09-26 12:10:17 -04:00
66d13ad6e7 Enhance LRC fetching logic by adding source tracking and improving type hints for artist, title, and duration 2025-09-26 11:49:25 -04:00
65e0d3ae7a Implement WebSocket support for real-time radio updates and enhance LRC fetching logic 2025-09-26 11:36:13 -04:00
9b32a8f984 Refactor radio endpoint requests to remove API key requirement and implement user role checks for permissions 2025-09-24 16:30:54 -04:00
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
e1194475b3 misc 2025-09-18 08:13:21 -04:00
3b74333b96 misc 2025-09-12 22:39:59 -04:00
f6d4ed57f3 misc 2025-09-09 15:50:13 -04:00
a57173b90a TRip: change file naming, use pigz for faster tarball creation 2025-08-29 10:23:06 -04:00
a11748775e TRip: capitalize RQ job statuses in related endpoints, order job list, other: minor/typing 2025-08-23 08:20:32 -04:00
a8d089c0fe minor 2025-08-21 15:35:10 -04:00
dd8d07b2f0 formatting 2025-08-21 15:08:13 -04:00
22eaa2260e another commit without a list of specific changes! (misc) 2025-08-21 15:06:56 -04:00
e0f64f6773 misc 2025-08-20 15:58:07 -04:00
81f79dea1e misc 2025-08-20 07:32:57 -04:00
3cebe14674 misc / TRip: folder structure / tar naming 2025-08-15 14:58:06 -04:00
27fa1f78ed misc 2025-08-15 14:15:13 -04:00
0cd4a71db2 formatting / RQ tuning 2025-08-15 13:39:27 -04:00
93050ec6cf misc / RQ bulk downloads for TRip 2025-08-15 13:31:15 -04:00
72a7734152 minor 2025-08-11 15:06:58 -04:00
4cbd0fb934 docstrings 2025-08-11 14:06:42 -04:00
0fc78b08e4 oops 2025-08-11 14:05:20 -04:00
f1401ee6bf oops 2025-08-11 14:04:22 -04:00
e5dc72ea1b change TRip to use StreamRip rather than Hifi-Tui due to bugs 2025-08-11 14:03:43 -04:00
957e2f1f08 Add CORS allowed origin: https://status.boatson.boats 2025-08-09 07:54:19 -04:00
b7433239a5 rm copypasta comment 2025-08-09 07:50:54 -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
c42ebbfe53 same/prior; method call missing data.station, added 2025-07-20 08:03:31 -04:00