660 B
660 B
wnpClient
Alternative client for the WebNowPlaying-BrowserExtension.
Requires websocketd.
Run it with:
websocketd --port=8974 wnpClient
The information is stored in a text file: ~/.wnpClient/wnpClient.txt
.
From there you can read it with whatever application you want to use.
For example with Executor for the gnome desktop environment.
head ~/.wnpClient/wnpClient.txt -n 2 | sed ':a;N;$!ba;s/\n/ by /g'
The cover of the current song is also downloaded to ~/.wnpClient/cover.jpg
.