Skip to content

sanjib-sen/stream-music-cli

Repository files navigation

Youtube Stream

image

MadeBy GitHub followers GitHub User's stars LICENSE GitHub release (latest by date including pre-releases) GitHub commit activity GitHub last commit PyPI - Status PyPI - Python Version PyPI


youtube-stream is a console app for streaming videos quickly from Youtube. Suppose you are working on something and don't have the feeling for opening up youtube, search for the song and play it. It is also a bit more troublesome for playing multiple songs from youtube. That's why I have made a module from where you can listen and watch your favourite songs as quickly as possible. Even there is a voice search option for lazy typists. Using this app, you can stream/play multiple videos/musics at once with a single command. e.g. stream the reason, aurora runaway will add Hoobastank's Reason and Aurora's Runaway song in your vlc playlist and play them one after another.


Console Demo

Demo


Requirements


Installation

Windows

Easy Method (App)

  1. Download and Install VLC
  2. Download youtube-stream.exe
  3. Run youtube-stream.exe

Recommended Method (Console)

  1. Download and Install VLC
  2. Download and Install Python. (Mark Add Python to Path while installation)
  3. Open Command Prompt or Powershell and Run:
python -m pip install youtube-stream

Linux

Ubuntu, Debian, Linux-Mint, Pop-OS, MX-Linux

From command line, run:

sudo apt install vlc python3 python3-pip && pip install -U youtube-stream

Fedora, OpenSuse, RedHat

From command line, run:

sudo dnf install vlc python3 python3-pip && pip install -U youtube-stream

Arch Linux, Manjaro, EndeavourOS

From command line, run:

sudo pacman -Syu vlc python3 python3-pip && pip install -U youtube-stream

Usage (From Console)

Text Search

Run from command line (Powershell/Bash/CMD/zsh/fish)

stream <song name>

e.g. To Play Journey's Don't Stop Believing

stream Journey dont stop believing

For multiple songs use comma (,) after each song

stream <song name>, <song name>, <song name>

e.g. To Play Passenger's Let her go, Hoobastank's The Reason, Majhe Majhe tobo dekha pai by arnob

stream let her go, the reason hoobastank, majhe majhe tobo arnob

Voice Search (Only English)

Run from command line (Powershell/Bash/CMD/zsh/fish)

stream

Now speak the song name. e.g. Hello by adele

For multiple songs, say then or plus after saying each song name

e.g iridescent linkin park then yellow coldplay

Enjoy


Upcoming

  1. Support for Downloading Videos in High Quality
  2. Support for other media players e.g. MPV, KMP etc.