Dashticz - Module - Spotify (new version!)

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: robgeerts, htilburgs

User avatar
capman
Posts: 194
Joined: Friday 12 July 2013 20:48
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Belgium
Contact:

Re: Dashticz - Module - Spotify

Post by capman » Wednesday 09 August 2017 20:46

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: 930
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: Stable
Location: NL
Contact:

Re: Dashticz - Module - Spotify

Post by pvm » Wednesday 09 August 2017 23:02

Can you open a new topic for this? (Install picoreplayer) more in New topic :)
Synology NAS, PI3, ZWave, Xiamo zigbee devices, BTLE plant sensor

vgr2
Posts: 91
Joined: Monday 29 August 2016 12:02
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - Module - Spotify

Post by vgr2 » Friday 11 August 2017 17:21

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 » 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.

pvm
Posts: 930
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: Stable
Location: NL
Contact:

Re: Dashticz - Module - Spotify

Post by pvm » Tuesday 15 August 2017 19:21

Is it possible to create a similar layout for LMS?
More info in viewtopic.php?t=18835#p146316
Synology NAS, PI3, ZWave, Xiamo zigbee devices, BTLE plant sensor

User avatar
robgeerts
Posts: 1233
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Module - Spotify

Post by robgeerts » 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
Creator of Dashticz
Do you appreciate my work and want to buy me a beer?
Send:
- XVG to D8fwNbyV6YxJk1aSiXftWTtdaPipsKn2Fa
- ANY ERC20-TOKEN to 0x9b8ee84329d77765a28bca188218c6c793875a8a

or donate via PayPal: https://www.paypal.me/robgeerts

User avatar
robgeerts
Posts: 1233
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Module - Spotify

Post by robgeerts » Wednesday 16 August 2017 10:24

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..
Creator of Dashticz
Do you appreciate my work and want to buy me a beer?
Send:
- XVG to D8fwNbyV6YxJk1aSiXftWTtdaPipsKn2Fa
- ANY ERC20-TOKEN to 0x9b8ee84329d77765a28bca188218c6c793875a8a

or donate via PayPal: https://www.paypal.me/robgeerts

Trigun
Posts: 185
Joined: Wednesday 30 November 2016 12:58
Target OS: Raspberry Pi
Domoticz version: 4.9700
Contact:

Re: Dashticz - Module - Spotify

Post by Trigun » Wednesday 16 August 2017 15:46

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 » Thursday 17 August 2017 20:16

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: 930
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: Stable
Location: NL
Contact:

Re: Dashticz - Module - Spotify

Post by pvm » Thursday 17 August 2017 22:27

Nice
Synology NAS, PI3, ZWave, Xiamo zigbee devices, BTLE plant sensor

codesnipper
Posts: 20
Joined: Tuesday 23 February 2016 15:04
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - Module - Spotify

Post by codesnipper » Wednesday 23 August 2017 17:37

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

User avatar
robgeerts
Posts: 1233
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Module - Spotify

Post by robgeerts » Wednesday 23 August 2017 21:58

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
Creator of Dashticz
Do you appreciate my work and want to buy me a beer?
Send:
- XVG to D8fwNbyV6YxJk1aSiXftWTtdaPipsKn2Fa
- ANY ERC20-TOKEN to 0x9b8ee84329d77765a28bca188218c6c793875a8a

or donate via PayPal: https://www.paypal.me/robgeerts

Trigun
Posts: 185
Joined: Wednesday 30 November 2016 12:58
Target OS: Raspberry Pi
Domoticz version: 4.9700
Contact:

Re: Dashticz - Module - Spotify

Post by Trigun » 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!


Sent from my iPhone using Tapatalk

Trigun
Posts: 185
Joined: Wednesday 30 November 2016 12:58
Target OS: Raspberry Pi
Domoticz version: 4.9700
Contact:

Re: Dashticz - Module - Spotify

Post by Trigun » Wednesday 30 August 2017 22:31

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 2845 times
any chance someone knows how to workaround this?

Sent from my iPhone using Tapatalk

jjnj
Posts: 240
Joined: Thursday 31 July 2014 13:51
Target OS: Windows
Domoticz version:
Location: NL
Contact:

Re: Dashticz - Module - Spotify

Post by jjnj » Sunday 17 September 2017 12:04

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: 46
Joined: Monday 21 December 2015 17:35
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - Module - Spotify

Post by dlefol » Wednesday 11 October 2017 21:56

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: 530
Joined: Monday 14 March 2016 14:55
Target OS: Linux
Domoticz version: beta
Location: Rome, Italy
Contact:

Re: Dashticz - Module - Spotify

Post by woody4165 » Wednesday 11 October 2017 22:00

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: 46
Joined: Monday 21 December 2015 17:35
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - Module - Spotify

Post by dlefol » Wednesday 11 October 2017 22:09

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: 2
Joined: Tuesday 31 October 2017 12:23
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Dashticz - Module - Spotify

Post by basxcore » Tuesday 31 October 2017 12:25

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!

User avatar
robgeerts
Posts: 1233
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Module - Spotify

Post by robgeerts » Thursday 09 November 2017 0:10

Sorry not yet, trying to find some spare time to finish this..
Creator of Dashticz
Do you appreciate my work and want to buy me a beer?
Send:
- XVG to D8fwNbyV6YxJk1aSiXftWTtdaPipsKn2Fa
- ANY ERC20-TOKEN to 0x9b8ee84329d77765a28bca188218c6c793875a8a

or donate via PayPal: https://www.paypal.me/robgeerts

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests