https://github.com/musicplayer-io/musicplayer-cli
CLI for the Music Player
https://github.com/musicplayer-io/musicplayer-cli
Last synced: about 1 month ago
JSON representation
CLI for the Music Player
- Host: GitHub
- URL: https://github.com/musicplayer-io/musicplayer-cli
- Owner: musicplayer-io
- Created: 2015-07-08T19:27:26.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-07-09T09:50:22.000Z (over 10 years ago)
- Last Synced: 2025-09-28T21:49:16.756Z (about 2 months ago)
- Language: CoffeeScript
- Homepage: https://il.ly/
- Size: 137 KB
- Stars: 6
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
> Control the music player from your command line.
### Installation
This is a command line tool running on [node.js](http://nodejs.org/). 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
```
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
```
#### Examples
```
$ 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
```