Commit Graph

144 Commits

Author SHA1 Message Date
benexl
6a31f4191f fix: remove f-string for filter adjustment message in search results 2025-12-31 18:47:40 +03:00
benexl
b8f77d80e9 feat: implement restore mode for dynamic search with last query and cached results 2025-12-31 18:43:59 +03:00
benexl
6192252d10 feat: enhance shell_safe function to support Python string literals and escape triple quotes 2025-12-31 18:31:40 +03:00
benexl
efed80f4dc feat: update score formatting in format_score_stars function to match media_info.py style 2025-12-31 18:25:05 +03:00
benexl
e49baed46f feat: differentiate between studios and producers in media info and dynamic preview 2025-12-31 18:11:10 +03:00
benexl
6e26ac500d feat: enhance consistency with normal media-info menu 2025-12-31 18:04:58 +03:00
benexl
5db33d2fa0 feat: implement dynamic search filter parser and enhance search script with filter syntax 2025-12-31 17:59:04 +03:00
benexl
0524af6e26 fix(ipc): add checks for Unix domain socket availability in MPVIPCClient and MpvIPCPlayer 2025-12-31 15:47:43 +03:00
benexl
dd9d9695e7 fix: remove unused imports for cleaner code 2025-12-31 15:14:14 +03:00
benexl
9d72a50916 fix: replace sys.executable with get_python_executable for better compatibility 2025-12-31 14:51:50 +03:00
benexl
acb14d025c fix: enhance menu loading to support PyInstaller compatibility with explicit module listing 2025-12-31 14:42:44 +03:00
benexl
ba9b170ba8 fix: update menu loading mechanism to support pkgutil for dynamic imports 2025-12-31 14:31:35 +03:00
benexl
e065c8e8fc fix(normalizer): add anime title mapping for "Burichi -" 2025-12-31 13:10:47 +03:00
Benexl
eb8c443775 fix(player): vlc on android 2025-12-30 14:32:25 +03:00
Albert Medrano-Lopez
7ed45ce07e chore: improved grammar in one other sentence during authentication flow
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-30 00:07:30 -08:00
Benedict Xavier
0ca63dd765 Merge branch 'master' into fix/auth-input-mac 2025-12-29 16:49:37 +03:00
Albert Medrano-Lopez
b62d878a0e feat(auth): Allow non-interactive Anilist authentication
This enhances the `anilist auth` command by allowing the authentication token to be provided directly as an argument or from a file. This provides a non-interactive way to authenticate, which is useful for scripting or for users who have issues with the interactive browser-based flow.

The `auth` command now accepts an optional `token_input` argument.
- If the argument is a valid file path, the token is read from the file.
- Otherwise, the argument is treated as the token itself.
- If no argument is provided, the command falls back to the previous interactive method.

The README is also updated to document these new authentication options.

This commit also includes:
- `test`: Unit tests for the new authentication logic (``test_auth.py``) and for the mapper fix (``test_mapper.py``).
- `fix(api)`: A fix in the Anilist API mapper to handle potentially missing data in the API response, making it more robust.
- `style`: Minor code style and formatting fixes throughout the codebase.
2025-12-29 04:05:28 -08:00
Benexl
bcc5e7df8e feat: allow disabling of initial config creation 2025-12-29 11:53:02 +03:00
Type-Delta
7f4a1f265a fix: animepahe unable to stream/download 2025-12-28 19:20:46 +07:00
Benexl
12ef447eaf feat: add vlc player which i somehow forgot lol 2025-12-28 01:25:18 +03:00
Benexl
6f4155dd65 feat: add logger param 2025-12-27 19:39:10 +03:00
benexl
20ce2f6ca3 fix(cli): update command name based on availability of viu-media 2025-12-16 17:57:18 +03:00
benexl
04ae196d5f fix(cli): remove stdout and stderr reconfiguration for UTF-8 encoding on Windows 2025-12-16 17:50:04 +03:00
benexl
fe92ff8716 fix(preview): update cache directory paths and improve script execution formatting 2025-12-16 17:24:49 +03:00
benexl
c047377289 fix(preview): pass posix paths 2025-12-16 16:47:44 +03:00
benexl
fcbaa7fb0d fix(cli): ensure UTF-8 encoding on Windows platforms 2025-12-16 16:17:14 +03:00
benexl
87c87ebca7 fix(preview): update path handling for cache directories in preview scripts to pass as posix paths 2025-12-16 16:16:05 +03:00
axtrat
5fe59e1ddb fix: fixed pyright error 2025-12-13 21:25:12 +01:00
axtrat
83ad67a4a8 refactor(animeunity): reorganize extraction logic and update mapper 2025-12-11 13:19:39 +01:00
axtrat
94866b68f3 fix(animeunity): patch missing video info due to VixCloud changes
VixCloud's window.video object no longer provides 'quality' and 'filename' fields, causing a KeyError.
This fix updates the extraction logic.
2025-12-11 13:02:40 +01:00
Benexl
c01c08c03b feat: show welcome screen once a month 2025-12-03 10:03:52 +03:00
Benexl
36b71c0751 feat: update welcome message 2025-12-02 18:58:15 +03:00
Benedict Xavier
69d3d2e032 Update viu_media/cli/cli.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-02 18:02:11 +03:00
Benedict Xavier
29ba77f795 Update viu_media/cli/cli.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-02 18:01:56 +03:00
Benexl
a4950efa02 feat: wait for feedback 2025-12-02 18:00:44 +03:00
Benedict Xavier
bbd7931790 Merge branch 'master' into feat/welcomescreen 2025-12-02 17:53:17 +03:00
Benedict Xavier
bf06d7ee2c Update viu_media/assets/scripts/fzf/media_info.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-02 17:46:58 +03:00
Benexl
41aaf92bae style: remove unused import 2025-12-02 17:44:46 +03:00
Benexl
d38dc3194f feat: export ansi utils to preview root dir when doing dynamic previews 2025-12-02 17:43:18 +03:00
Benexl
54233aca79 feat: remove redundancy and stick to ansi_utils 2025-12-02 17:42:53 +03:00
Benexl
6b8dfba57e fix: remove double quotes 2025-12-02 17:30:31 +03:00
Benexl
3b008696d5 style: remove unused imports 2025-12-02 17:27:30 +03:00
Benedict Xavier
ece1f77e99 Merge branch 'master' into feature/preview-scripts-rewrite-to-python 2025-12-02 17:16:50 +03:00
Benexl
7b9de8620b chore: cleanup old preview scripts 2025-12-02 17:15:18 +03:00
Benexl
725754ea1a feat: improve text display for dynamic search 2025-12-02 17:12:27 +03:00
Benexl
80771f65ea feat: dynamic search rewrite in python 2025-12-02 14:36:03 +03:00
Benexl
c8c4e1b2c0 feat: refactor terminal width handling in FZF scripts for improved consistency 2025-12-02 13:30:03 +03:00
Benexl
f4958cc0cc fix: clean up whitespace in display_width and print_table_row functions 2025-12-02 13:14:19 +03:00
Benexl
1f72e0a579 feat: enhance display width calculation for better text alignment in print_table_row 2025-12-02 13:07:55 +03:00
Benexl
803c8316a7 fix: improve value alignment in print_table_row for better formatting 2025-12-02 13:04:25 +03:00