This is the Spotify grabber. It relies on the spotify APIs to gather the currently playing song and album to report on the Conkw UI. You also can perform basic actions, such as play/pause/next/prev right from the UI.
net.pieroxy.conkw.webapp.grabbers.spotify.SpotifyGrabberspotifyIn order to use it, you need to:
http://localhost:12789/grabbersReference/spotify.html.This is all you have to do on the spotify website. Now:
please login link.Note: Here is below the default config portion for the SpotifyGrabber:
"config": {
"clientId":"Your client id",
"clientSecret":"Your client secret",
"redirectUri":"Your redirect URI"
}
num.len: The length of the current track, in seconds.num.pos: The position ni the current track, in seconds.str.album_art: The URL of the current album playing.str.album_artist: The artist of the current track playing.str.album_date: The album release date.str.album_name: The name of the album playing.str.album_tracks: The total number of tracks in the album.str.islocal: "true" if the track is a local filestr.status: The status of the player. Known statuses are "Playing", "Paused" and not present if nothing is playing.str.trackname: The name of the track currently playing or paused.str.tracknum: The number of the track playing in relation to the album.Here is how the default UI looks like:

Of course, the four buttons are operational. You can go next, previous, pause and restart the music directly from the UI.
While this is the default style, you can imagine anything you want really. The world is your oyster. If you know a bit of HTML, JavaScript and CSS, you can make the UI looks exactly as you want.