aboutsummaryrefslogtreecommitdiff
path: root/utils/api/tmdb
AgeCommit message (Collapse)AuthorFilesLines
2026-02-25Refactor anime update logic and task managementBobby1-29/+14
- Simplified title retrieval in AnimeUpdate and updateAnime functions. - Updated next airing checks to use new fields directly. - Removed unnecessary nil checks for titles in various functions. - Enhanced task management by eliminating redundant LastRun updates. - Improved dependency handling in triggerDependentTasks for better clarity and performance. - Streamlined Jikan API response structure by merging related fields. - Added StopRateLimiters function to rate limiter utilities for better control. - Refined episode title handling in TMDB and TVDB enrichment functions. - Introduced Stop method in MultiLimiter for graceful shutdown of rate limiters.
2026-02-06Refactor TMDB and TVDB API integrationBobby2-420/+281
- Removed redundant struct definitions in TMDB types.go for cleaner code. - Introduced a client struct in both TMDB and TVDB to manage HTTP client and authentication tokens. - Updated TVDB authentication logic to use a single client instance with improved error handling. - Refactored episode fetching and processing functions in TVDB to enhance readability and maintainability. - Simplified episode ID generation logic by consolidating it into a single function. - Improved logging for better debugging and tracking of API interactions.
2026-01-20Add TVDB integration for episode retrieval and configuration setupBobby2-0/+230
2025-05-09increased max retries for TMDB dataBobby1-6/+11
2025-05-09updated tmdb for simple retryingBobby1-76/+99
2025-05-09refactored typesBobby2-0/+552