This is my first flow published, feel free to comment on it.
Due to some limitations at my current workplace, it is possible to listen to Spotify only on my phone. More over, it has to be hidden, so an easy access to it, to change the song or see what is actually playing, is difficult.
On other hand I can have any website open on my work PC, o I created a flow, which uses:
- "node-red-contrib-spotify"
- "node-red-dashboard"
and what this does? It connects to my Spotify account and controls my Spotify App on the phone.
Features:
- Previous/Next
- Play/Pause
- Current song (Title)
- Album's picture
- Seek bar with song's duration, current seek moment
- MQTT status/control is also available
For Spotify agent configuration please see the description from the node.
Hallo @mracer-node,
Um den Spotify-flow zum Laufen bringen braucht man eigentlich MQTT nicht.
Ich habe die MQTT Datagrams benutzt nur um die Kontrolle auf meinem Händy zu haben (habe ich einen MQTT Client auf em Händy installiert).
Du kannst alle MQTT Nodes entfernen und die Spotify Webpage wird auch gehen.
Falls Du die MQTT Kontrolle auch haben willst, musst du mehr Info geben, z.B. den Debug Node im "Complete Message Obejct" Mode umsetzen, dann sieht man nicht nur "payload" sondern auch alle restliche Signale. In dem originalem Flow habe ich so einen Node, mann muss es einfach an richtige Stelle anbinden: da wo die von Dir gennante Errors entstehen.
Beste Grüsse,
Grzegorz