librespot-dash

0.1.0 • Public • Published

librespot-dash

A dashboard for monitoring librespot playback

Description

This is a dashboard for librespot, a spotify client library. It uses blessed for the dashboard and spotify-web-api-node for song info.

Currently incomplete and work-in-progress, any improvement ideas are welcome!

Installing

Install using npm or yarn

npm i -g @tasztalos69/librespot-dash 

yarn global add @tasztalos69/librespot-dash

Create Spotify app

The dashboard uses the Spotify api to query song and user info, so it needs a Spotify app to work.

Supply your client ID and client secret

You can either use environment variables, or provide them as arguments (soon).

ENV variables

export SPOTIFY_CLIENT_ID=<your client ID here>
export SPOTIFY_CLIENT_SECRET=<your client secret here>

Arguments

librespot-dash --spotify-client-id=<your client ID here> --spotify-client-secret=<your client secret here>

### Configure librespot
You have to tell librespot about the dashboard with the *onevent* argument.

```properties
librespot --onevent="$(which librespot-dash-receiver)"

Make sure that npm / yarn global packages are on PATH!

Run app

librespot-dash

Readme

Keywords

none

Package Sidebar

Install

npm i librespot-dash

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

30.2 kB

Total Files

14

Last publish

Collaborators

  • tasztalos69