|
- 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.
|