ytdl-mpv
ytdl-mpv copied to clipboard
ytdl-mpv - Browse and play YouTube contents from rofi
:star: Features
- Search history and yt query cache
- Customize script using available flags
- Simple and intuitive rofi menu
- Play video or audio
Alt+v - Append to playlist
Alt+Tab - Loop playlist
- Edit current playlist
Alt+r - Save/Load current playlist
- Help for key bindings
Alt+h - Jump to chapters
Alt+Enter - ...
- Play video or audio
:rocket: Setup
Dependencies
socatsqlite3xargsjqiconvmpv>0.35.1rofi>=1.6.1yt-dlp==2024.12.23
[!WARNING] If your distro doesn't ship
mpv==0.36.0
Is sufficient that it shipsmpv==0.35.1with this patch to work with upstreamyt-dlp
Otherwise free to remain withmpv<=0.35.1andyt-dlp==2023.02.17
Opt dependencies
xclipfor copy yt video id in clipboard
Install
Simply make it
git clone https://github.com/andros21/ytdl-mpv
cd ytdl-mpv
make install
:runner: Run
Is advisable to key bind (e.g. Cmd+m) ytdl-mpv, so that rofi menu can be opened wherever you are!
For debugging purposes, instead, could be useful run ytdl-mpv inside a shell to view stdout/stderr