aboutsummaryrefslogtreecommitdiff
path: root/tasks/anisync.task.go
AgeCommit message (Collapse)AuthorFilesLines
2026-02-24feat: Refactor anime and character handlingBobby1-1/+3
- Removed old GetAnimeEpisodes and GetAnimeEpisodesByMALID functions, replaced with a new implementation in episodes.go. - Added GetAnimeCharacters and GetAnimeCharacter functions to handle character retrieval. - Introduced CharacterAnimeAppearance entity to track character appearances in anime. - Updated repositories to manage character data and enrich character details. - Implemented enriched_at timestamp for both anime and characters to track data updates. - Added CharacterSync task to periodically enrich character data from the Jikan API. - Updated router to include new character-related endpoints.
2026-02-24Add anime stub retrieval and enhance anime sync logic with force refresh ↵Bobby1-0/+53
capability
2026-02-06Refactor task management and producer synchronizationBobby1-94/+18
- Updated TaskManager to utilize repositories for database operations, improving separation of concerns. - Enhanced logging functionality by replacing logger.Log with logger.Infof, logger.Warnf, and logger.Errorf for better readability and consistency. - Simplified ProducerSync function by removing unnecessary pagination logic and directly fetching producer data. - Introduced helper functions for calculating progress and managing task statuses. - Added new service for fetching and saving anime data, integrating multiple data sources (Jikan, Anilist, MALsync, TMDB, TVDB, Aniskip). - Created new types for task management and improved overall code organization. - Removed deprecated database calls and replaced them with repository methods for better maintainability.
2026-02-05Refactor Jikan API types: remove unused structures and add HTTP client ↵Bobby1-4/+7
configuration
2026-02-03Implement AniFetch task for fetching anime mappings and trigger AniSync ↵Bobby1-102/+101
after completion
2025-05-09refactored typesBobby1-18/+18
2025-04-06syncing anime lists via fribb mappingsBobby1-0/+143