TUI Youtube audio player using MPV on the backend
You need to have MPV and youtube-dl installed.
Then install the libraries with:
npm install
Neoplayer | Discord Rich Presence |
---|---|
Run Neoplayer with:
node neoplayer.js
Commands currently available are (press 'h' to type commands):
search <query> //searches youtube for the query and returns a list of results with indexes
play <index> //plays the index from the search list or adds it to the currently playing queue
p <query> //searches and then plays the first result, doesn't show list of results
pause //pauses the playback
skip //skips to the next track
volume <value> //sets the volume to the value specified
link //copies the song url to the clipboard
new <name> //creates a new playlist named <name>
add <playlist> //adds the song currently playing to <playlist>
plist <playlist> //add all songs from <playlist> to the queue
q //quits Neoplayer
Feel free to open issues and make pull requests, I'll do my best to work on them.