https://github.com/andros21/ytdl-mpv
ytdl-mpv - Browse and play YouTube contents from rofi
https://github.com/andros21/ytdl-mpv
mpv rofi rofi-scripts yt-dlp
Last synced: about 1 year ago
JSON representation
ytdl-mpv - Browse and play YouTube contents from rofi
- Host: GitHub
- URL: https://github.com/andros21/ytdl-mpv
- Owner: andros21
- License: gpl-3.0
- Created: 2021-02-16T08:43:52.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-04-06T07:32:57.000Z (about 1 year ago)
- Last Synced: 2025-04-06T08:27:37.646Z (about 1 year ago)
- Topics: mpv, rofi, rofi-scripts, yt-dlp
- Language: Shell
- Homepage:
- Size: 153 KB
- Stars: 19
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
## :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`]()
- ...
## :rocket: Setup
**Dependencies**
- `socat` `sqlite3` `xargs` `jq` `iconv`
- [`mpv>0.35.1`](https://github.com/mpv-player/mpv)
- [`rofi>=1.6.1`](https://github.com/davatorium/rofi)
- [`yt-dlp==2025.3.31`](https://github.com/yt-dlp/yt-dlp)
**Opt dependencies**
- `xclip` for 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