aboutsummaryrefslogtreecommitdiff
path: root/services
AgeCommit message (Collapse)AuthorFilesLines
2026-02-25Refactor anime update logic and task managementBobby1-230/+247
- 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-4/+1
- 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/+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 GetAnimeEpisodes endpoint and implement episode retrieval logicBobby1-5/+52
2026-02-24Refactor rate limiter: simplify implementation and improve token managementBobby1-1/+0
2026-02-24Add anime stub retrieval and enhance anime sync logic with force refresh ↵Bobby1-4/+43
capability
2026-02-24Refactor entities and repositories: add AnimeCharacter and ↵Bobby1-18/+28
CharacterVoiceActor types, update character handling in anime, and enhance producer enrichment logic
2026-02-24Refactor entities and repositories: update JSON tags, add season number, and ↵Bobby2-17/+262
implement related anime fetching logic
2026-02-09Refactor AnimeUpdate worker logging and enhance API request for skip timesBobby2-1634/+0
- Updated worker logging in AnimeUpdate to display worker ID starting from 1 instead of 0. - Modified the API request in GetSkipTimesForEpisode to include episodeLength=0 in the query parameters for better handling of skip times. - Added a new BaseModel struct in entities package to standardize model definitions with hidden ID and timestamp fields for JSON responses.
2026-02-06Refactor task management and producer synchronizationBobby3-1630/+2075
- 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 ↵Bobby2-23/+310
configuration
2026-02-03Enhance episode ID generation and task management: include MAL ID and ↵Bobby2-6/+8
episode number for uniqueness, and update AnimeSync task to run weekly with last run tracking
2026-02-03Add genre-based anime retrieval with pagination and related database updatesBobby1-0/+87
2026-01-20Add TVDB integration for episode retrieval and configuration setupBobby2-20/+89
2026-01-15Add episode streaming functionality and cachingBobby1-0/+83
2025-08-25Updated Database Sync for AnimePriyansh1-19/+20
2025-08-25updated routes, added episode ids to each episodePriyansh1-7/+23
2025-08-19episodes router; anilist support; general fixesPriyansh2-2/+18
2025-05-09fixed anime updaterBobby2-36/+48
2025-05-09task for updating animeBobby1-12/+25
2025-05-09removed time until airing from responsesBobby1-8/+6
2025-05-09added anime cacheBobby1-1/+46
2025-05-09refactored typesBobby2-122/+129
2025-05-09removed unused stuff. refactored codeBobby1-160/+8
2025-05-09move anime to services. refactor. add sub dub streaming countsBobby2-0/+1150