Alternative client for the WebNowPlaying-BrowserExtension
| app | ||
| src | ||
| test | ||
| .gitignore | ||
| ChangeLog.md | ||
| LICENSE | ||
| package.yaml | ||
| README.md | ||
| Setup.hs | ||
| stack.yaml | ||
| stack.yaml.lock | ||
| wnpClient.cabal | ||
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.