19 lines
660 B
Markdown
19 lines
660 B
Markdown
# wnpClient
|
|
|
|
|
|
Alternative client for the [WebNowPlaying-BrowserExtension](https://github.com/tjhrulz/WebNowPlaying-BrowserExtension).
|
|
|
|
Requires [websocketd](https://github.com/joewalnes/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](https://extensions.gnome.org/extension/2932/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`. |