Alternative client for the WebNowPlaying-BrowserExtension
Go to file
qvalentin 74fa5cb880 change filelocation, edit readme 2021-06-27 11:36:46 +02:00
app change filelocation, edit readme 2021-06-27 11:36:46 +02:00
src basic code 2021-06-25 16:41:42 +02:00
test basic code 2021-06-25 16:41:42 +02:00
.gitignore update gitignore 2021-06-25 16:41:25 +02:00
ChangeLog.md basic code 2021-06-25 16:41:42 +02:00
LICENSE basic code 2021-06-25 16:41:42 +02:00
README.md change filelocation, edit readme 2021-06-27 11:36:46 +02:00
Setup.hs basic code 2021-06-25 16:41:42 +02:00
package.yaml basic code 2021-06-25 16:41:42 +02:00
stack.yaml basic code 2021-06-25 16:41:42 +02:00
stack.yaml.lock basic code 2021-06-25 16:41:42 +02:00
wnpClient.cabal change filelocation, edit readme 2021-06-27 11:36:46 +02:00

README.md

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.