Sign inSign up

aaronkelly/youtube-mp3-player

By aaronkelly

•Updated almost 6 years ago

Search for and play mp3s in your terminal using youtube-dl

Image
0

434

aaronkelly/youtube-mp3-player repository overview

⁠requirements

docker, linux

⁠getting started

Run this command

docker run --device=/dev/snd --privileged --rm --name youtube-mp3-player -it aaronkelly/youtube-mp3-player 'beach boys california girls'

See the .aliases file for more docker commands

⁠how it works

I use a collection of tools to search for, download, convert, and play a song:

  • youtube-dl
  • ffmpeg
  • mplayer

The linux host's sound device (/dev/snd) is then mounted into the container, allowing it to play music!

⁠see also

project home: https://sr.ht/~aaronkelly/youtube-mp3-player⁠

git repo: https://git.sr.ht/~aaronkelly/youtube-mp3-player⁠

issue tracker: https://todo.sr.ht/~aaronkelly/youtube-mp3-player⁠

mailing lists: https://sr.ht/~aaronkelly/youtube-mp3-player/lists⁠

Tag summary

Content type

Image

Digest

Size

58.3 MB

Last updated

almost 6 years ago

docker pull aaronkelly/youtube-mp3-player