Describe the bug
Running command anipy-cli in bash produces following (yellow) error message:
anipy-cli: error: Specified player `/mnt/c/path/to/dir/mpv-x86_64-v3-20231231-git-abc2a74/mpv.exe` is unknown
which exits the app immediately
To Reproduce
Steps to reproduce the behavior:
Open /home/user/.config/anipy-cli/config.yaml and change value of "player_path" from mpv to /mnt/c/path/to/dir/mpv-x86_64-v3-20231231-git-abc2a74/mpv.exe (with or without " makes no difference in my tests) and save the file
Run command anipy-cli in bash
See error anipy-cli: error: Specified player `/mnt/c/path/to/dir/mpv-x86_64-v3-20231231-git-abc2a74/mpv.exe` is unknown
Expected behavior
Bash command anipy-cli should start the app and ask what anime to search for.
Infopip show anipy-cli
Name: anipy_cli
Version: 2.7.28
Summary: Little tool in python to watch anime from the terminal (the better way to watch anime)
Home-page: https://github.com/sdaqo/anipy-cli
Author: sdaqo
Author-email: sdaqo.dev@protonmail.com
License: GPL-3.0
Location: /path/to/pyenv/lib/python3.12/site-packages
Requires: beautifulsoup4, better-ffmpeg-progress, m3u8, moviepy, pycryptodomex, pypresence, python-dateutil, python-mpv, pyyaml, requests, setuptools, tqdm, yaspin
Required-by:
Platform
OS: WSL (Ubuntu 20.04.6 LTS) on Windows 10 (Build 19045.3930)
WSL-Version: 2.0.9.0
Kernelversion: 5.15.133.1-1
WSLg-Version: 1.0.59
MSRDC-Version: 1.2.4677
Direct3D-Version: 1.611.1-81528511
DXCore-Version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows-Version: 10.0.19045.3930
Python Version 3.12.1
Additional context
Maybe this is not a bug but if I run following bash command:
alias mpv="/mnt/c/path/to/mpv.exe"
I can run mpv straight from WSL via following bash command:
mpv /mnt/c/path/to/file (leads to file on Windows) OR mpv /path/to/file (inside Linux) OR mpv URL
and all of them open the Windows MPV player without any issues
Describe the bug Running command
anipy-cli
in bash produces following (yellow) error message:anipy-cli: error: Specified player `/mnt/c/path/to/dir/mpv-x86_64-v3-20231231-git-abc2a74/mpv.exe` is unknown
which exits the app immediatelyTo Reproduce Steps to reproduce the behavior:
mpv
to/mnt/c/path/to/dir/mpv-x86_64-v3-20231231-git-abc2a74/mpv.exe
(with or without " makes no difference in my tests) and save the fileanipy-cli
in bashanipy-cli: error: Specified player `/mnt/c/path/to/dir/mpv-x86_64-v3-20231231-git-abc2a74/mpv.exe` is unknown
Expected behavior Bash command
anipy-cli
should start the app and ask what anime to search for.Info
pip show anipy-cli
Name: anipy_cli Version: 2.7.28 Summary: Little tool in python to watch anime from the terminal (the better way to watch anime) Home-page: https://github.com/sdaqo/anipy-cli Author: sdaqo Author-email: sdaqo.dev@protonmail.com License: GPL-3.0 Location: /path/to/pyenv/lib/python3.12/site-packages Requires: beautifulsoup4, better-ffmpeg-progress, m3u8, moviepy, pycryptodomex, pypresence, python-dateutil, python-mpv, pyyaml, requests, setuptools, tqdm, yaspin Required-by:Platform
Additional context Maybe this is not a bug but if I run following bash command:
alias mpv="/mnt/c/path/to/mpv.exe"
I can run mpv straight from WSL via following bash command:mpv /mnt/c/path/to/file
(leads to file on Windows) ORmpv /path/to/file
(inside Linux) ORmpv URL
and all of them open the Windows MPV player without any issuesSo this should be doable, since the windows mpv.exe accepts the same arguments (I'm using the mpv.exe 64bit file from https://sourceforge.net/projects/mpv-player-windows/files/64bit-v3/).
Would be nice if this feature would be implemented in case this is not a bug.
Before the question arises: I'm not using the mpv player which can be installed via apt since the video and audio stutters more often than not