py-mp

A simple command-line music player


License
MIT
Install
pip install py-mp==1.0

Documentation

py-mp

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

>> pip3 install py-mp

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

Contributors