Skip to content

benp44/ytplr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ytplr

Play audio from a YouTube video in the terminal.

Inspired by and largely based on ytmdl which instead of playing audio directly from a video on YouTube, downloads it as an mp3

ytplr runs vlc in the background via it's cvlc cli in order to play the audio.

Demo

Screenshot

Dependencies/Requirements

Built on youtube-dl and vlc

Installation

Install the dependencies using your package manager and pip:

sudo apt install vlc
sudo -H pip3 install youtube-dl beautifulsoup

Clone the repo and alias the script in .bashrc, .zshrc, etc. For example:

alias ytplr='~/dev/ytplr/ytplr'

Usage

Search for a song:

ytplr "one more time" 

Stop any currently playing song:

ytplr

About

Play music from YouTube in your terminal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages