https://github.com/zocker1999net/zsh-mpv-yt-search
Play first result of YouTube search using mpv
https://github.com/zocker1999net/zsh-mpv-yt-search
mpv youtube-audio youtube-dl youtube-search youtube-videos zsh zsh-plugin
Last synced: about 2 hours ago
JSON representation
Play first result of YouTube search using mpv
- Host: GitHub
- URL: https://github.com/zocker1999net/zsh-mpv-yt-search
- Owner: Zocker1999NET
- License: wtfpl
- Created: 2020-03-19T00:12:49.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-19T00:32:44.000Z (over 5 years ago)
- Last Synced: 2025-01-15T07:18:18.846Z (9 months ago)
- Topics: mpv, youtube-audio, youtube-dl, youtube-search, youtube-videos, zsh, zsh-plugin
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MPV YouTube Search Plugin for ZSH
Allows searching for YouTube videos and playing the first result with mpv.
Requires youtube-dl to be installed for search and play YouTube videos with mpv.## Repository clones
The original repository will be stored on [GitHub](https://github.com/Zocker1999NET/zsh-mpv-yt-search).
You can use the original reopsitory if you want to use GitHub.
Also issues and pull requests will be collected there for convenience.This repository will be cloned to my own server.
You can use the [clone](https://git.banananet.work/zsh-plugins/mpv-yt-search) instead of this repository
if you want to avoid use GitHub.## Installation
### zsh (without plugin support)
1. Clone project
2. Add following line to your `.zshrc`:
```sh
source "path/to/repo/mpv-yt-search.plugin.zsh"
```### oh-my-zsh
1. Clone project into `~/.oh-my-zsh/custom/plugins/mpv-yt-search`
2. Add `mpv-yt-search` to your plugin list
```sh
plugins=(… mpv-yt-search …)
```### Antigen
1. Add following line to your `.zshrc`:
```sh
antigen bundle Zocker1999NET/zsh-mpv-yt-search # GitHub if default repository unchanged
antigen bundle https://git.banananet.work/zsh-plugins/mpv-yt-search # Own Server
```or
1. Add the repository to your plugin list
```sh
antigen bundles <