Dashticz - Module - Spotify (new version!)

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

User avatar
capman
Posts: 153
Joined: Friday 12 July 2013 20:48
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Belgium
Contact:

Re: Dashticz - Module - Spotify

Post by capman »

freakshock wrote: Wednesday 09 August 2017 13:22 A possible alternative is using Logitech media server with a Spotify plugin (I use Spotty).
This way you can use a standard mediaplayer block in Dashticz. That way you can use back, stop, play/pause and next buttons.
I also made a selector switch that can choose playlist within Spotty (all manual config unfortunately).
Of course you would need a server to run LMS.
Could you please explain this how to do this ? Thanks.
pvm
Posts: 550
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: 4.10538
Location: NL
Contact:

Re: Dashticz - Module - Spotify

Post by pvm »

Can you open a new topic for this? (Install picoreplayer) more in New topic :)
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
vgr2
Posts: 71
Joined: Monday 29 August 2016 12:02
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - Module - Spotify

Post by vgr2 »

vgr2 wrote: Monday 10 July 2017 21:10 I mean, empty playlist
Something changed on last updates? I have again the empty playlist.
nvb1989
Posts: 4
Joined: Wednesday 09 August 2017 14:08
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - Module - Spotify

Post by nvb1989 »

Hi Rob,

I'm very happy with the Spotify plugin. I was curious if you can integrated Spotify Connect within the plugin.
It would be awesome if I can choose the device to listen spotify on.
pvm
Posts: 550
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: 4.10538
Location: NL
Contact:

Re: Dashticz - Module - Spotify

Post by pvm »

Is it possible to create a similar layout for LMS?
More info in viewtopic.php?t=18835#p146316
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Module - Spotify

Post by robgeerts »

nvb1989 wrote: Tuesday 15 August 2017 18:22 Hi Rob,

I'm very happy with the Spotify plugin. I was curious if you can integrated Spotify Connect within the plugin.
It would be awesome if I can choose the device to listen spotify on.
Working on it ;)

Image
Image
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Module - Spotify

Post by robgeerts »

pvm wrote: Tuesday 15 August 2017 19:21 Is it possible to create a similar layout for LMS?
More info in viewtopic.php?t=18835#p146316
Will check this asap..
Trigun
Posts: 390
Joined: Wednesday 30 November 2016 11:58
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

Re: Dashticz - Module - Spotify

Post by Trigun »

Wow, would me an amazing add on rob!


Sent from my iPhone using Tapatalk
nvb1989
Posts: 4
Joined: Wednesday 09 August 2017 14:08
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - Module - Spotify

Post by nvb1989 »

robgeerts wrote: Wednesday 16 August 2017 10:24
nvb1989 wrote: Tuesday 15 August 2017 18:22 Hi Rob,

I'm very happy with the Spotify plugin. I was curious if you can integrated Spotify Connect within the plugin.
It would be awesome if I can choose the device to listen spotify on.
Working on it ;)

Image
Image
Great job! If you need someone to test, I'm available :)
pvm
Posts: 550
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: 4.10538
Location: NL
Contact:

Re: Dashticz - Module - Spotify

Post by pvm »

Nice
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
codesnipper
Posts: 16
Joined: Tuesday 23 February 2016 14:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Spotify

Post by codesnipper »

Not works :(

I have empty page with bar (clock,title,settings icon).

In console: "Enter your Spotify ClientID in CONFIG.JS"

CONFIG.js:

Code: Select all

var config = {}
config['domoticz_ip'] = 'http://192.168.1.24:8080';
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';

var _CLIENTID_SPOTIFY = 'hereismyclientid';
    
var columns = {}
columns[1] = {}
columns[1]['blocks'] = ['spotify']
columns[1]['width'] = 5;
Redirect URIs:
http://localhost:8080/dash/
http://192.168.1.24:8080/dash/
http://192.168.1.24:8080
http://localhost:8080
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Module - Spotify

Post by robgeerts »

The variable where you entered the spotify id is old, take a look at my example config.js in this topic:
http://www.domoticz.com/forum/viewtopic ... 67&t=17426
Trigun
Posts: 390
Joined: Wednesday 30 November 2016 11:58
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

Re: Dashticz - Module - Spotify

Post by Trigun »

Hi Guys, the spotify plug-in works like a charm, great job!! Allthough do you guys also experience that the songs only play for 30seconds? After that it asks me to open up the app. Hopefully I'm doing something wrong. Thnx!


Sent from my iPhone using Tapatalk
Trigun
Posts: 390
Joined: Wednesday 30 November 2016 11:58
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

Re: Dashticz - Module - Spotify

Post by Trigun »

Trigun wrote: Tuesday 29 August 2017 23:25 Hi Guys, the spotify plug-in works like a charm, great job!! Allthough do you guys also experience that the songs only play for 30seconds? After that it asks me to open up the app. Hopefully I'm doing something wrong. Thnx!
when I run it on an Ipad it keeps asking to play the song in the spotify app.
wheni run it on a laptop, after 30 seconds i get the following message(and the music stops)
Knipsel.PNG
Knipsel.PNG (11.12 KiB) Viewed 5419 times
any chance someone knows how to workaround this?

Sent from my iPhone using Tapatalk
jjnj

Re: Dashticz - Module - Spotify

Post by jjnj »

How is the play on other device going? I'm using a Multiroom setup in my house, that would be a great addition!!!
dlefol
Posts: 35
Joined: Monday 21 December 2015 16:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Spotify

Post by dlefol »

Hello,

I've tried to follow the instructions but I end up with the empty playlist box (I see the select playlist box, but no playlist to select inside it).
I have spotify installed on the tablet where I use Dashticz and spotify in the app is running fine, however I cannot make it show my playlist within Dashticz :(

One thing is not clear for me, do I need spotify app to run also on the server where domoticz and dashticz are hosted or is it only on the client side (the tablet in my case) that I need the spotify app (I run domoticz on a RPi so I cannot test easily the installation of spotify on it and want to know if that s the source of the problem before I dig deeper that way...)

Thanks in advance :)
woody4165
Posts: 476
Joined: Monday 14 March 2016 13:55
Target OS: Linux
Domoticz version: beta
Location: Rome, Italy
Contact:

Re: Dashticz - Module - Spotify

Post by woody4165 »

Spotify is not needed on the server.
Try to open Spotify on the same browser you use for Dashticz, login and play a song in one of your playlist.
If I don't do like this, I have your same issue.
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
dlefol
Posts: 35
Joined: Monday 21 December 2015 16:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Spotify

Post by dlefol »

It worked :) Great!
Thanks a lot for the tip. I had tried playing songs and playlists on the tablet but always through the spotify app installed on the tablet. Opening the web player on a browser tab and playing a song from there was needed.
Thanks for the quick reply
basxcore
Posts: 3
Joined: Tuesday 31 October 2017 11:23
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Dashticz - Module - Spotify

Post by basxcore »

robgeerts wrote: Wednesday 16 August 2017 10:24
nvb1989 wrote: Tuesday 15 August 2017 18:22 Hi Rob,

I'm very happy with the Spotify plugin. I was curious if you can integrated Spotify Connect within the plugin.
It would be awesome if I can choose the device to listen spotify on.
Working on it ;)

Image
Image
I really (want) like this feature. Do you have it available yet? Beta perhaps? Thanks!
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Module - Spotify

Post by robgeerts »

Sorry not yet, trying to find some spare time to finish this..
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest