Commit Graph

14 Commits

Author SHA1 Message Date
Benexl
e602a6fbc4 feat(local-watch-history): auto set progress on completed status 2025-07-26 22:57:42 +03:00
Benexl
44cf9c3da7 feat(media-action-menu): add exit option 2025-07-26 21:32:42 +03:00
Benexl
c59babc30d feat: return some original menu options and functionality 2025-07-26 19:40:55 +03:00
Benexl
494104ee19 feat: make the session more performant by lazyloading the context 2025-07-26 17:06:10 +03:00
Benexl
7088b8ce18 Refactor preview management and caching system
- Introduced a new PreviewWorkerManager to handle both anime and episode preview caching.
- Implemented PreviewCacheWorker and EpisodeCacheWorker for specialized background tasks.
- Added context management for preview operations to ensure proper cleanup.
- Enhanced error handling and logging during image downloads and info text generation.
- Removed redundant caching logic and consolidated functionality into worker classes.
- Updated session management to clean up preview workers on session end.
- Removed unused utility functions and streamlined the codebase.
2025-07-26 11:54:01 +03:00
Benexl
1c95d45be4 chore: ruff check 2025-07-26 10:57:05 +03:00
Benexl
75e67c22d2 chore: format with ruff 2025-07-26 10:56:26 +03:00
Benexl
759276237f feat: proper auto status 2025-07-25 22:18:11 +03:00
Benexl
82ca5f32b1 fix: logical issues with registry 2025-07-25 03:04:16 +03:00
Benexl
2924fcd077 feat: Add registry commands for restore, search, stats, sync, and examples
- Implemented `restore` command to restore the media registry from backup files, with options for verification and backup of current registry.
- Created `search` command to search through the local media registry with various filtering options.
- Added `stats` command to display detailed statistics about the local media registry, including breakdowns by genre, format, and year.
- Developed `sync` command to synchronize the local registry with a remote media API, allowing for both download and upload of media lists.
- Included example usage for the registry commands in `examples.py`.
- Fixed tag filtering logic in `MediaRegistryService` to ensure correct filtering based on tags.
2025-07-25 01:33:22 +03:00
Benexl
9fc66db248 feat: Add downloads menu and related actions for local media management 2025-07-25 01:05:51 +03:00
Benexl
f4e73c3335 Add AniList download command and download service integration
- Implemented a new command for downloading anime episodes using the AniList API.
- Created a DownloadService to manage episode downloads and track their status in the media registry.
- Added comprehensive command-line options for filtering and selecting anime based on various criteria.
- Integrated feedback mechanisms to inform users about download progress and issues.
- Established validation for command options to ensure correct input.
- Enhanced error handling and logging for better debugging and user experience.
- Included functionality for managing multiple downloads concurrently.
2025-07-25 00:38:07 +03:00
Benexl
fec09e9b74 feat: implement download command with examples and enhance downloader structure 2025-07-24 22:07:56 +03:00
Benexl
5392d4f25a refactor: limit use of plural for package names and module names 2025-07-24 18:46:43 +03:00