youtube-listen-cli
v1.0.0
Published
Listen youtube tracks from the command line
Downloads
4
Maintainers
Readme
Command line youtube listener
How it works
Using the ytdl library it starts a streaming download from youtube. That gets processed with FFMPEG library and transformed into mp3, it will use the system available codec library for that. The mp3 will then get streamed into an mplayer process that will play the audio.
Requirements:
- Node.js
- NPM
- ffmpeg
- mplayer
Installation
OS X:
brew install ffmpeg mplayer
npm install youtube-listen-cli -g
Optional:
Set alias for faster access
alias ytl=youtube-listen
Usage
youtube-listen <url>
TODOs
Add minimal interface
- Currently the mplayer output gets displayed in the console. I would like to implement a basic interface displaying the available information about the current track like name, and process percentage.
Implement seeking in track
- h, j, k, l keys
License
MIT