Skip to content
This repository has been archived by the owner on May 14, 2021. It is now read-only.

Latest commit

 

History

History
30 lines (22 loc) · 1.3 KB

README.md

File metadata and controls

30 lines (22 loc) · 1.3 KB

Spotify Playlists for openHAB Habpanel

  • Shows your Spotify playlists (max 50)
  • Allows searching for albums, tracks, artists, playlists
  • Allows to play selected item on your configured player

Requirements

  • Spotify Binding for openHAB. Read here or here
  • Configured items from binding: accessToken and devicePlayer, eg:
Player Spotify_Squeezebox_Player "Spotify Squeezebox"        { channel="spotify:device:squeezebox:devicePlayer" }
String Spotify_Squeezebox_Play "Spotify Play on Squeezebox"  { channel="spotify:device:squeezebox:trackPlay" }

Instalation

  • Add Spotify Playlister.json to habpanel
  • Place release/spotify-playlister.js file into openHAB html dir under spotify-playlister directory, eg:
$ cd /etc/openhab2/html/
$ mkdir spotify-playlister && cd "$_"
$ wget https://raw.githubusercontent.com/gytisgreitai/habpanel-spotify-playlister/master/release/spotify-playlister.js
  • Configure widget selecting your Player and Access token items
  • Select Don't wrap in container or else it will break the layout