aboutsummaryrefslogtreecommitdiff
path: root/types/tvdb.go
AgeCommit message (Collapse)AuthorFilesLines
2026-02-06Refactor TVDBAuthResponse to use TMDBAuthData for token management; remove ↵Bobby1-4/+6
Task and TaskStatus types
2026-02-06Refactor TMDB and TVDB API integrationBobby1-0/+39
- 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.