Was going to install yt-fzf
from Github til I realized we already had a CLI youtube viewer in repo. So I installed it.
I can't get it to show me anything plus strange API error.
$ youtube-viewer the kinks picture book
Error: no API key has been set!
For creating/setting an YouTube API key, please see:
https://github.com/trizen/youtube-viewer#logging-in
=>> Search for YouTube videos (:h for help)
> kinks picture book
=>> Select one or more videos to play (:h for help)
> 4
=>> Select one or more videos to play (:h for help)
> :h
whole lot of nothing. I tried something more general than a band and a song.
youtube-viewer the rolling stones
=>> Select one or more videos to play (:h for help)
> 10
=>> Select one or more videos to play (:h for help)
> 10
=>> Select one or more videos to play (:h for help)
again no results.
I tried a specific video to play:
youtube-viewer https://youtu.be/B7encWb7lNQ
Error: no API key has been set!
For creating/setting an YouTube API key, please see:
https://github.com/trizen/youtube-viewer#logging-in
=>> Search for YouTube videos (:h for help)
more nothingness.
I am doing this right according to --help
:
[keywords] : search for YouTube videos
[youtube-url] : play a video by YouTube URL
Can anyone help me use this CLI youtube player? thanks.
EDIT: maybe this needs to be linked to MPV or similar?