Albert Medrano-Lopez
efa6f4d142
fix(tests): Resolve pyright type errors in anilist test_mapper.py
...
Updated mock data in `test_to_generic_user_profile_success` to conform to `AnilistViewerData` requirements.
Adjusted type annotations in tests with intentionally malformed data to `Any` to prevent pyright errors, ensuring proper validation of error handling.
2025-12-29 23:25:40 -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
Benedict Xavier
df8e925eec
Update README with project reference and contribution info
...
Added a project reference and updated contributing section.
2025-12-29 00:32:33 +03:00
Benexl
9d9fa55b69
chore: bump version
v3.3.5
2025-12-28 17:54:14 +03:00
Benedict Xavier
42f7e1d4e2
Merge pull request #174 from viu-media/minor-fixes
2025-12-28 17:51:57 +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
75b1b8fab4
chore: bump version
v3.3.4
2025-12-27 19:39: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
v3.3.3
2025-12-16 17:57:18 +03:00
benexl
dbbfe0331b
chore: bump version to 3.3.3
2025-12-16 17:54:48 +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
Benedict Xavier
e1272ddf35
Merge pull request #171 from axtrat/provider/animeunity
2025-12-14 09:26:07 +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
Benedict Xavier
5f7e10a510
Update README with Termux installation instructions
...
Added installation instructions for Termux and clarified Python installation requirements.
2025-12-03 11:41:23 +03:00
Benexl
95586eb36f
chore: bump version
v3.3.2
2025-12-03 10:04:07 +03:00
Benexl
c01c08c03b
feat: show welcome screen once a month
2025-12-03 10:03:52 +03:00
Benexl
14e1f44696
chore: bump version
v3.3.1
2025-12-02 19:04:14 +03:00
Benexl
36b71c0751
feat: update welcome message
2025-12-02 18:58:15 +03:00
Benexl
6a5d7a0116
chore: bump version and update deps
v3.3.0
2025-12-02 18:31:43 +03:00
Benedict Xavier
91efee9065
Merge pull request #169 from viu-media/feat/welcomescreen
2025-12-02 18:03:25 +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
c3ae5f9053
Merge pull request #168 from viu-media/feature/preview-scripts-rewrite-to-python
2025-12-02 17:52:21 +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
Benexl
26bc84e2eb
fix: clean up whitespace in ANSI utilities and preview script
2025-12-01 18:48:15 +03:00
Benexl
901d1e87c5
feat: rewrite FZF preview scripts to use ANSI utilities for improved formatting
2025-12-01 18:47:58 +03:00