aboutsummaryrefslogtreecommitdiff
path: root/types
AgeCommit message (Collapse)AuthorFilesLines
2026-02-25Refactor anime update logic and task managementBobby2-20/+15
- 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-24feat: Enhance person handling and synchronization logicBobby1-0/+37
- Introduced new Person entity with detailed attributes - Updated repositories and controllers to support person data retrieval - Implemented PersonSync task for background enrichment of person data - Refactored existing character and voice actor logic to utilize Person entity - Added Jikan API integration for fetching person details
2026-02-24feat: Refactor anime and character handlingBobby1-0/+29
- 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-24Refactor entities and repositories: add AnimeCharacter and ↵Bobby3-16/+18
CharacterVoiceActor types, update character handling in anime, and enhance producer enrichment logic
2026-02-06Refactor task management and producer synchronizationBobby1-0/+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-06Refactor TVDBAuthResponse to use TMDBAuthData for token management; remove ↵Bobby3-333/+6
Task and TaskStatus types
2026-02-06Refactor TMDB and TVDB API integrationBobby5-275/+444
- 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-02-05Refactor MALSync API client: enhance request handling with retry logic and ↵Bobby1-0/+27
error management, and introduce Malsync types for streaming site and anime response
2026-02-05Enhance episode and skip time structures: add EpisodeNumber and ↵Bobby2-12/+18
EpisodeLength fields, introduce Aniskip types, and refactor AniSkipClient for improved request handling
2026-02-05Add repository functions for genre, meta, and producer managementBobby1-0/+246
- Implement CreateOrUpdateGenre function in genre.go for managing genres in the database. - Add CreateOrUpdateSimpleImage, CreateOrUpdateSimpleTitle, and CreateOrUpdateExternalURL functions in meta.go for handling images, titles, and external URLs. - Introduce CreateOrUpdateProducer function in producer.go to manage producer data. - Define Anilist data structures in types/anilist.go for handling API responses. - Refactor Anilist API client in utils/api/anilist/anilist.go to improve request handling with retries and error management. - Remove deprecated JikanClient code and related functions in utils/api/jikan/jikan.go to streamline the codebase.
2026-02-05Refactor Jikan API types: remove unused structures and add HTTP client ↵Bobby7-55/+291
configuration
2026-02-03Add support for manual task triggering: update AnimeSync to run after ↵Bobby1-4/+5
AnimeFetch and enhance task status retrieval
2026-02-03Add genre-based anime retrieval with pagination and related database updatesBobby1-22/+22
2026-01-20Add TVDB integration for episode retrieval and configuration setupBobby1-0/+5
2026-01-15Add episode streaming functionality and cachingBobby1-10/+24
2025-08-25updated routes, added episode ids to each episodePriyansh1-0/+1
2025-05-09removed time until airing from responsesBobby1-3/+2
2025-05-09refactored typesBobby3-551/+78
2025-05-09move anime to services. refactor. add sub dub streaming countsBobby1-15/+30
2025-05-07Airing Schedule and Next Airing Episode in AnimeBobby1-25/+33
2025-05-07Added characters and streaming to animeBobby1-33/+107
2025-05-06additional data and seasonsBobby1-19/+99
2025-05-02malsync + crunchyroll integration; anime logos and episode thumbnails in ↵Bobby1-8/+58
response
2025-04-18basic anime details with episodes; added jikan and anilist as metadata ↵Bobby3-0/+456
fetchers; added tmdb for fetching episode descriptions
2025-04-06added health route for server statsBobby1-0/+22
2025-04-06syncing anime lists via fribb mappingsBobby2-0/+48
2025-04-06initialised project bareboresBobby2-0/+50