Commit Graph

213 Commits

Author SHA1 Message Date
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
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
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
f6d4ed57f3 misc 2025-09-09 15:50:13 -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
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
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
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
3fc4dd4072 bugfix: forgot to add data.station to datatables_search call, only the main station's queue was searched 2025-07-19 22:21:09 -04:00
9ce16ba923 rewrite pending; for now, additional support for multi-station 2025-07-19 21:57:21 -04:00
85182b7d8c WIP: additional radio stations 2025-07-17 06:55:16 -04:00
fd300743c8 minor 2025-07-15 13:48:51 -04:00
a1f82036ff misc 2025-07-15 11:39:12 -04:00
1d7589ffbd misc/formatting ++ resolve #33 (restructured radio DBs, combined genre into track_file_map, revised query w/ INNER JOIN) 2025-07-01 13:02:53 -04:00
c3f753a4f0 add basic rate limiting 2025-07-01 11:38:38 -04:00
1991e5b31b small improvements re: #33 2025-07-01 10:34:03 -04:00
0fe081597e base: add allowed CORS origins for localhost:4321 (dev purposes); lyric_search: change typeahead to return a maximum of 10 results, prev. 100 2025-06-22 07:54:32 -04:00
a6128c7647 constructor reversion - related commit @8f3d4bf181 2025-06-09 07:52:13 -04:00
8f3d4bf181 revert radio queue behavior 2025-06-09 07:15:57 -04:00
4cdd6d0c99 misc/migration related 2025-06-08 08:53:18 -04:00
68408c4796 share 2025-05-27 16:48:28 -04:00