The Youtube Music Player, this can be used to play songs from Youtube or local directory.
- Save your favorite artist's Youtube channel Url
- check recent tracks by selecting artist name
- check 3 latest tracks by all the artist at one place
- paste any video's url in search box and it will play its audio
- browse through music files present in your local system
- add remove channels
- progress bar for now playing track
Written in Python3.
It works on Windows and Linux OS, and MacOS.
Run the test4.py file by using the following command in terminal-
python test4.py
If you have python3 installed in your system, then run this commands in the terminal.
pip install youtube-dl
pip install pafy
pip install python-vlc
pip install requests
Also make sure, You have VLC 32 bit installed in your system.
SPACE BAR - pause/play
P - pause/play
M - mute/unmute
F - forward 5 seconds
B - backward 5 seconds
U - volume up
D - volume down
N - next track
UP/DOWN ARROW KEY - to select the track from the list
RIGHT ARROW KEY - to play the selected track
I want to thank the devlopers of this beautiful pafy and vlc libraries which made my task quite easy to achieve.
This music player works fine with the basic tasks but there are some features yet to be added in it.
If you would like to watch a video tutorial on Youtube then Click Here