Skip to content

ewyuan/py-mp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py-mp

Build PyPI Downloads License

py-mp uses command-line to take in inputs from the user and makes a search query on Youtube. py-mp will pull the most relevant video and will stream the audio to the computer.

Prerequisites

How to install

Windows

  1. Install VLC (32bit) from https://www.videolan.org/vlc/
>> pip3 install py-mp

Mac

  1. Install VLC from https://www.videolan.org/vlc/
>> pip3 install py-mp

Linux

>> pip3 install py-mp
>> sudo apt-get install vlc

How to run

>> py-mp              # this can be done from any directory

'help' page

add [song]            # Adds [song] to the queue
clear                 # Clears the queue
pause                 # Pause the current song
resume                # Resumes the current song
queue                 # Prints the current queue
skip                  # Plays the next song in queue
cur                   # Get the title of the current song
time                  # Get the time of the current song
prev                  # Get the title of the previous song
rewind                # Restart the current song
remove [position]     # Removes the song in position [position] from the queue
exit                  # Exits the program

To-do

  • Remove the VLC dependency
  • Support livestream audio

Contributors

About

A simple command-line music player

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages