You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a contributor who implemented the change to use Windows' mpv.exe for video playback with ani-cli under WSL, I wanted to clarify the rationale behind this approach:
Why Use Windows' mpv.exe with ani-cli in WSL:
Stability & Performance: Running GUI Linux applications like mpv in WSL can lead to stability issues. Using Windows' native mpv.exe ensures a smoother video playback experience.
Practicality: This workaround leverages the strengths of both environments—ani-cli for fetching streams in WSL and Windows for reliable playback—without the need for complex configurations or additional code to address compatibility issues.
How to use it:
Install mpv.exe on Windows.
Install ani-cli on wsl
Enjoy stable video playback using the best tools from both WSL and Windows.
This solution is designed to optimize the user experience by providing a practical and stable setup for enjoying videos with ani-cli. Your understanding and support in this matter are greatly appreciated.
To revert this change it is enough to remove from ani-cli | *WSL2* in two places.
Metadata
Version: 4.7-1 (From AUR)
OS: Arch Linux on Windows 10 x86_64
Shell: zsh
It doesn't work properly on Arch WSL. When executed, it thinks I'm on Windows (which is technically true).
It gives the following output:
$ ani-cli Checking dependencies... Program "mpv.exe" not found. Please install it.
Steps To Reproduce
ani-cli
from AUR (I usedyay
)ani-cli
Expected behavior
Dependency check should not ask for Windows applications when inside WSL
Screenshots
![image](https://private-user-images.githubusercontent.com/20996279/299505520-81ab3adb-f7df-4dc8-ada3-efea0e9c4087.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5OTc0ODIsIm5iZiI6MTcyNTk5NzE4MiwicGF0aCI6Ii8yMDk5NjI3OS8yOTk1MDU1MjAtODFhYjNhZGItZjdkZi00ZGM4LWFkYTMtZWZlYTBlOWM0MDg3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEwVDE5Mzk0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZiOGQxYWMwODY5ZDQ1MmI4ODM5MDQ5MGViZGY5M2M5ZmMzYmNkNzk3ZTk5MTE2MjY4ODU2N2U2MDUzZWJkOWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.CFoIcdKKCxZMMUBpnF_z5C97SzY65RjEX4DjZHDLhbQ)
Additional context
I use Arch WSL 2 on Windows 10 with an X server service for GUI
The text was updated successfully, but these errors were encountered: