playwhat
v1.1.2
Published
Ask MPD what is playing.
Downloads
1
Readme
playwhat
Ask MPD what is playing.
Install
npm install -g playwhat
Usage
Basic usage
$ playwhat -h 192.168.1.2
{"file":"spotify:track:3TqvGInqPf6G696Ivi8Hqb","Time":"90","Artist":"The Dead Trees","Title":"Slow Faze Fast","Album":"Whatwave","Date":"2011","Track":"2","Pos":"117","Id":"1095","AlbumArtist":"The Dead Trees"}
Format output
$ playwhat -f "%a - %t (%d)"
Bajka, Bonobo - Days To Come (2006)
| argument | description | | -------- | ----------- | | %a | Artist | | %l | Album | | %t | Title | | %n | Track number | | %T | Time | | %d | Date |