Dashticz - Module - Spotify (new version!)

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - Module - Spotify

Post by EdwinK »

Btw.. Nice it doesn't require a premium account
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
jmvdijk
Posts: 2
Joined: Monday 10 July 2017 11:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Spotify

Post by jmvdijk »

vgr2 wrote:I mean, empty playlist
I have the same problem. Is there a solution for this problem?
barbaar
Posts: 56
Joined: Wednesday 24 December 2014 16:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - [BETA]Module - Spotify

Post by barbaar »

I got around this by opening Spotify itself once on the same machine..

But later I found I cannot get this to work in my Tablet using Fully Kiosk Browser. I keep seeing the "INVALID_CLIENT: Invalid redirect URL" error, even after I logged in op developer.spotify.com.

It would be very cool if we got this module to work, and extend a little (play music on other device!)
vgr2
Posts: 71
Joined: Monday 29 August 2016 12:02
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - [BETA]Module - Spotify

Post by vgr2 »

barbaar wrote:I got around this by opening Spotify itself once on the same machine..

But later I found I cannot get this to work in my Tablet using Fully Kiosk Browser. I keep seeing the "INVALID_CLIENT: Invalid redirect URL" error, even after I logged in op developer.spotify.com.

It would be very cool if we got this module to work, and extend a little (play music on other device!)
would be nice also for me......
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - [BETA]Module - Spotify

Post by robgeerts »

I assume you're using the same url on windows and tablet?
For example, some people are using http://localhost/dashticz on windows and http://192.168.1.3/dashticz on another device.
vgr2
Posts: 71
Joined: Monday 29 August 2016 12:02
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - [BETA]Module - Spotify

Post by vgr2 »

Maybe there is a missunderstanding on my side. At the moment I have to open / or the spotify web api opens Spotify in parallel. Means I have to install on all of the tablets spotify also. My understanding from spotify web api is that should be normaly not needed.
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - [BETA]Module - Spotify

Post by robgeerts »

Indeed, it opens Spotify, but I agree it should play in webbrowser...
Let me get into this!
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Dashticz - [BETA]Module - Spotify

Post by Derik »

mmm looks very great...
Only on what speakers do you play this music??
On the tablet very bad...

Other options?

xxx
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - [BETA]Module - Spotify

Post by robgeerts »

Well, it should open Spotify-app (at least on windows, didnt test on tablet yet).
Playing via browser is not supported by the Spotify API...
pollefinario
Posts: 21
Joined: Wednesday 10 February 2016 12:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - [BETA]Module - Spotify

Post by pollefinario »

barbaar wrote:I got around this by opening Spotify itself once on the same machine..

But later I found I cannot get this to work in my Tablet using Fully Kiosk Browser. I keep seeing the "INVALID_CLIENT: Invalid redirect URL" error, even after I logged in op developer.spotify.com.

It would be very cool if we got this module to work, and extend a little (play music on other device!)
Rob, pointed me to this thread. I will check it tonight. Also using Fully Kiosk Browser, did you check any (advanced) settings also?
konix
Posts: 5
Joined: Wednesday 24 September 2014 8:40
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: France
Contact:

Re: Dashticz - Module - Spotify

Post by konix »

vgr2 wrote:Rob, now I have to loging to Spotify parallel, otherwise it will not work.
Hi vgr2,

How did you do to see your playlist finally? I have the button "show playlist" but no popup that opens anything?
Capture.PNG
Capture.PNG (44.08 KiB) Viewed 5052 times
Capture01.PNG
Capture01.PNG (51.85 KiB) Viewed 5049 times
Raspberry PI 2 whith Domoticz (Master)
Raspberry PI B+ whith Domoticz (Slave)
Raspberry PI B+ whith OSMC
RFLINK - ZWAVE - TELEINFO - 1 WIRE
vgr2
Posts: 71
Joined: Monday 29 August 2016 12:02
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - [BETA]Module - Spotify

Post by vgr2 »

Have you installed last beta?
konix
Posts: 5
Joined: Wednesday 24 September 2014 8:40
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: France
Contact:

Re: Dashticz - [BETA]Module - Spotify

Post by konix »

vgr2 wrote:Have you installed last beta?
Hi vgr2,

I try again and now it's works ..... :roll:
Raspberry PI 2 whith Domoticz (Master)
Raspberry PI B+ whith Domoticz (Slave)
Raspberry PI B+ whith OSMC
RFLINK - ZWAVE - TELEINFO - 1 WIRE
D'rMorris
Posts: 138
Joined: Thursday 01 May 2014 9:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands - Sittard
Contact:

Re: Dashticz - Module - Spotify

Post by D'rMorris »

Just so that it might help others: if you only created a Spotify account so that you could test this plugin (like I did), please be aware that you indeed first have to actually play something. I created an account, enabled the developer API, created 2 playlists, got the Spotify login page when refresjng Dashticz, but nothing showed when I clicked playlists. Then I installed the Spotify app on my Android tablet (from which I'm now accessing Dashticz), played a song and all of a sudden the plugin appeared in Dashticz!
ArieKanarie
Posts: 41
Joined: Saturday 12 December 2015 13:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Spotify

Post by ArieKanarie »

Is it still necessary to install spotify on the domoticz device?
Because as far as i know spotify cannot be installed on raspberry.. :|
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 »

Yes, i'm sorry, it is.
freakshock
Posts: 64
Joined: Friday 14 April 2017 13:39
Target OS: NAS (Synology & others)
Domoticz version:
Location: The Netherlands
Contact:

Re: Dashticz - Module - Spotify

Post by freakshock »

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.
nvb1989
Posts: 4
Joined: Wednesday 09 August 2017 14:08
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - Module - Spotify

Post by nvb1989 »

Amazing plugin!

Is it possible to have the following features:
- If you click on "Select Playlists", also show the playlist label (name). Now there is only a album picture showing.
- Is it possible to show the available songs within a playlist? So you can navigate directly to the correct song?
- Is it possible to have a search field to use the search library within Spotify? So we can play songs outside our playlists?

Very pleased to have spotify now within Domoticz, 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 »

First 2 suggestions are new in latest version, check it out!! :)
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 09 August 2017 16:30 First 2 suggestions are new in latest version, check it out!! :)
Great!! It is working. :)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest