Install choco
using powershell
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
Install dependencies with choco
choco install mpv ffmpeg python fd
Then install library and enjoy!
pip install library
lb
Then you will see:
xk media library
local media subcommands:
fsadd [extract, xr] Create a local media database; Add folders
listen [lt] Listen to local media
watch [wt] Watch local media
Optional: library[deluxe] deps: choco install exiftool rust
cygwin
, WSL
, or WSL2
is not recommended.
-
Install msys2 and ConEmu
choco install msys2 conemu
-
Update
msys2
pacman -Syu
-
Install build tools, mpv, fish, and python
pacman -S mingw-w64-x86_64-mpv mingw-w64-x86_64-youtube-dl make automake python-pip python-wheel fish
Optional: library[deluxe] deps:
choco install exiftool pacman -S mingw-w64-x86_64-rust
-
Configure ConEmu to use fish shell in msys2
https://superuser.com/questions/1024301/conemu-how-to-call-msys2-as-tab
-
Set the MSYSTEM environment variable and close and restart your shell
set -Ux MSYSTEM MINGW64 set -Ux PYTHONUTF8 1