tori is a terminal-based music player and playlist manager that can play music from local files and external URLs (supported by yt-dlp).
tori's documentation is hosted here. It includes a Getting Started guide and configuration instructions.
For code-related documentation, there's also a docs.rs entry.
cargo install tori
Alternatively, if you use an Arch-based Linux distro, you can install tori from the AUR: yay -S tori-bin
Prebuild binaries for Windows, Mac and other Linux distros will be available soon.
If you're using yt-dlp instead of youtube-dl, edit your mpv.conf
and paste the following line:
script-opts=ytdl_hook-ytdl_path=yt-dlp
Either this or follow the guide I followed :)