Commit Graph

1361 Commits

Author SHA1 Message Date
Benexl
fd052c87de Merge branch 'master' into fix/nix-flake 2025-07-27 23:29:24 +03:00
Benexl
ee959b3428 chore: update ignore file 2025-07-27 23:27:28 +03:00
Benexl
ad6bdad594 refactor(cli): remove old log_file option 2025-07-27 23:22:14 +03:00
Benexl
316832e771 fix(mpv-ipc-player): deadlock from subprocess.PIPE being filled up causing mpv to wait resulting in the player freezing 2025-07-27 23:21:51 +03:00
Benexl
9edeeb5ca4 feat(mpv-ipc-player): intergrate it as cli level service and polish it to the max 2025-07-27 21:56:20 +03:00
Théo Bori
7eb6054d5c Fixed the Nix Flake default package
I also upgraded the flake.nix file.
- `mkShell` now use `packages` instead of `buildInputs` (See https://discourse.nixos.org/t/difference-between-buildinputs-and-packages-in-mkshell/60598/2)
- Now using `venvShellHook` to create the Python virtual environment
- Remove useless variables
- Added `meta` attrset
- Now using `python3Packages` variables instead
- Explicitly use the `build-system` field
- Now using `substituteInPlace` within `postPatch`
- Using the `pyproject` field instead of `format`
- Removed bad pratices, etc..
2025-07-27 18:39:39 +02:00
Benexl
5b06039cef chore: format with ruff 2025-07-27 12:49:44 +03:00
Benexl
abe36296c1 feat(cli): log the current command 2025-07-27 12:46:24 +03:00
Benexl
dcbf0df1a0 refactor(provider-search-menu): import only when needed and use feedback service for progress 2025-07-27 12:29:33 +03:00
Benexl
c2acbcdb68 fix(cli-utils-logging): add rich logger as one of the handlers if enabled 2025-07-27 12:28:28 +03:00
Benexl
96233b14ff refactor(cli-utils-image): rename render_image to render 2025-07-27 12:27:40 +03:00
Benexl
a8f2579f82 feat(mpv-ipc-player): cleanup implementation 2025-07-27 11:48:55 +03:00
Benexl
5ed9700c5c feat(cli): always log to a file 2025-07-27 11:48:34 +03:00
Benexl
fd74fbe2ef feat: rename config path var and add dedicated folder for logs 2025-07-27 11:48:18 +03:00
Benexl
19426019a2 fix(anilist-api): user media list pagination 2025-07-27 00:38:55 +03:00
Benexl
276c8d48d9 feat(player-controls-menu): add media actions menu option 2025-07-27 00:17:41 +03:00
Benexl
99809f3fd3 fix(player-controls-menu): remove back directive 2025-07-27 00:07:04 +03:00
Benexl
f79c8540c3 feat(mpv-ipc): scaffhold mpv ipc implementation 2025-07-26 23:38:31 +03:00
Benexl
e602a6fbc4 feat(local-watch-history): auto set progress on completed status 2025-07-26 22:57:42 +03:00
Benexl
8abfaed7bf feat(cli-previews): always reload info script 2025-07-26 22:16:14 +03:00
Benexl
15b920698a fix(anilist-media-api): media relations 2025-07-26 22:15:52 +03:00
Benexl
44cf9c3da7 feat(media-action-menu): add exit option 2025-07-26 21:32:42 +03:00
Benexl
460d3c7d94 fix(servers-menu): should be BACKX3 2025-07-26 21:21:22 +03:00
Benexl
5f030a5d9e fix(player-controls): should be BACKX2 2025-07-26 21:20:54 +03:00
Benexl
8091e23196 fix: episode option in player controls menu 2025-07-26 21:08:36 +03:00
Benexl
e641a48156 fix: page formatting 2025-07-26 19:42:26 +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
159136cfb1 Merge pull request #104 from Aethar01/master
Fixes for auto enum increment and except clause outside a try block.
2025-07-26 13:04:28 +03:00
Elliott Ashby
7e211f109e Merge branch 'master' into master 2025-07-26 19:01:19 +09:00
Benexl
48e906e464 feat: dynamic search 2025-07-26 12:38:47 +03:00
Benexl
98c2fef8cd chore: remove copilot instructions 2025-07-26 11:55:25 +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
Aethar
6cfc766db3 fix for auto enum 2025-07-26 17:44:19 +09:00
Aethar
89ff453778 stats fix 2025-07-26 17:37:43 +09: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
1a1d8cc8f4 feat: enhance final title generation for media playback 2025-07-26 10:49:15 +03:00
Benexl
3ea37c4079 feat: add title normalization utilities and integrate into provider search 2025-07-26 10:37:49 +03:00
Benexl
b18e419831 chore: make some packages optional and cleanup deprecated 2025-07-26 10:15:56 +03:00
Benexl
fe06c8e0f1 hack: potential anilist api issue 2025-07-25 22:18:33 +03:00
Benexl
759276237f feat: proper auto status 2025-07-25 22:18:11 +03:00
Benexl
d475dda41c feat: icon for downloads 2025-07-25 22:17:42 +03:00
Benexl
ad499657e0 feat: reload menu instead 2025-07-25 22:17:24 +03:00
Benexl
dbf96afea7 fix: sync command 2025-07-25 03:05:22 +03:00
Benexl
001a63d3df feat: fix: registry command 2025-07-25 03:05:15 +03:00
Benexl
1207426a96 feat: correct import path 2025-07-25 03:04:39 +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