Control the music player from your command line.
This is a command line tool running on node.js. You'll need that to install and run this tool. After your installation is completed, run the following in your terminal:
$ npm install -g musicplayer-cli
Usage: musicplayer [command]
Commands:
play Play the song
pause|stop Pause the song
toggle Toggle the song
forward|next Next song
backward|prev Previous song
state Get player state
subreddits [subs] Get or set subreddits
user Get user information
song Get song information
* Help
Options:
-h, --help output usage information
-V, --version output the version number
$ musicplayer song
π΅ Heretoir - To Follow The Sun
π€ /u/Umskiptar
π /r/postrock
π΅ type youtube
π
age 36 hours ago
π karma 3
π url https://www.youtube.com/watch?v=qnUGs4vZQ10
$ musicplayer user
π€ username illyism
π link karma 6078
π¬ comment karma 2739
$ musicplayer subreddits listentothis+music
Subreddits sent: listentothis+music
$ musicplayer play
$ musicplayer pause
$ musicplayer toggle
π OK

