NEWS
[Vorlage] Spotify Skript
-
Jetzt gerade mit neuer Client ID und Client Secret probiert und auch das funktioniert nicht.
-
Das gleiche leider bei mir. Habe auch die Instanz und Objekte "spotify-premium.0" gelöscht, neu hinzugefügt, Autorisierung neu durchgeführt, etc., und es kommt immer wieder zu den Fehlern.
! host.raspberrypi 2018-04-24 21:19:55.242 info Restart adapter system.adapter.spotify-premium.0 because enabled
! host.raspberrypi 2018-04-24 21:19:55.242 error instance system.adapter.spotify-premium.0 terminated with code 0 (OK)
! host.raspberrypi 2018-04-24 21:19:55.241 error Caught by controller[0]: at IncomingMessage.g (events.js:292:16)
! host.raspberrypi 2018-04-24 21:19:55.241 error Caught by controller[0]: at IncomingMessage. (/opt/iobroker/node_modules/iobroker.spotify-premium/node_modules/request/request.js:1085:12)
! host.raspberrypi 2018-04-24 21:19:55.241 error Caught by controller[0]: at Request.emit (events.js:188:7)
! host.raspberrypi 2018-04-24 21:19:55.239 error Caught by controller[0]: at emitOne (events.js:96:13)
! host.raspberrypi 2018-04-24 21:19:55.239 error Caught by controller[0]: at Request. (/opt/iobroker/node_modules/iobroker.spotify-premium/node_modules/request/request.js:1163:10)
! host.raspberrypi 2018-04-24 21:19:55.239 error Caught by controller[0]: at Request.emit (events.js:191:7)
! host.raspberrypi 2018-04-24 21:19:55.239 error Caught by controller[0]: at emitTwo (events.js:106:13)
! host.raspberrypi 2018-04-24 21:19:55.239 error Caught by controller[0]: at Request.self.callback (/opt/iobroker/node_modules/iobroker.spotify-premium/node_modules/request/request.js:186:22)
! host.raspberrypi 2018-04-24 21:19:55.239 error Caught by controller[0]: at Request._callback (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:166:45)
! host.raspberrypi 2018-04-24 21:19:55.238 error Caught by controller[0]: at Object.parse (native)
! host.raspberrypi 2018-04-24 21:19:55.237 error Caught by controller[0]: SyntaxError: Unexpected end of JSON input
! spotify-premium.0 2018-04-24 21:19:55.168 error SyntaxError: Unexpected end of JSON input at Object.parse (native) at Request._callback (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:166:45) at Request.self.callback (/opt/
! spotify-premium.0 2018-04-24 21:19:55.165 error uncaught exception: Unexpected end of JSON input
! spotify-premium.0 2018-04-24 21:19:49.543 info starting. Version 0.1.2 in /opt/iobroker/node_modules/iobroker.spotify-premium, node: v6.14.1 -
Ich habe das Problem auch. Schein aktuell eine Störung bei Spotify zu sein, der Dienst meldet zwar ein http 200, sendet aber keine Daten. Heißt also einfach warten, bis es wieder geht.
-
Danke für Deine sehr schnelle Rückmeldung twonky, dann lasst uns mal abwarten.
Übrigens herzlichen Dank für Deine Arbeit, die Du hier rein steckst! Dies ebenso an Lucky, der das Script gestartet hat. Very much appreciated
-
Also bis dato funktioniert es immer noch nicht. Irgend eine Lösung?
-
Ich habe mir das jetzt mal genauer angesehen. Spotify hat ihre API geändert, wenn gerade kein Device aktiv ist. Habs behoben, Version 0.1.3 ist jetzt verfügbar: https://github.com/twonky4/ioBroker.spotify-premium
-
Sauber! Läuft wieder!
-
Super, läuft auch bei mir wieder, vielen Dank!
(Hier stand Blödsinn mit der Warnmeldung, die stammte von meinem Aufruf und hat nichts mit dem Adapter zu tun – daher entfernt)
-
Ich bekomme weiterhin zuverlässig alle 15 Minuten untenstehende error-Log-Einträge vom Spotify-Adapter.
Alle 15 Minuten deshalb, weil in der Adapterkonfiguration unter "Aktualisierungsintervall für Playlisteninformationen" die Zahl 15 eingetragen ist.
Setze ich die Zahl auf 2 Minuten, so kommen die Logeinträge eben alle gute 2 Minuten.
Das passiert ohne andere aktive Scripts.
Wie könnte man denn das lösen? Als Workaround habe ich das jetzt mal auf 1440 gestellt, damit es nur alle 24 Stunden auftritt.
Danke!
! spotify-premium.0 2018-04-29 21:16:33.116 info starting. Version 0.1.3 in /opt/iobroker/node_modules/iobroker.spotify-premium, node: v8.11.1
! host.All-In-One_RasPi 2018-04-29 21:16:31.556 info instance system.adapter.spotify-premium.0 started with pid 19188
! host.All-In-One_RasPi 2018-04-29 21:16:01.541 info Restart adapter system.adapter.spotify-premium.0 because enabled
! host.All-In-One_RasPi 2018-04-29 21:16:01.541 error instance system.adapter.spotify-premium.0 terminated with code 0 (OK)
! Caught 2018-04-29 21:16:01.541 error by controller[0]: at emitOne (events.js:116:13)
! Caught 2018-04-29 21:16:01.541 error by controller[0]: at Request. (/opt/iobroker/node_modules/iobroker.spotify-premium/node_modules/request/request.js:1163:10)
! Caught 2018-04-29 21:16:01.540 error by controller[0]: at Request.emit (events.js:214:7)
! Caught 2018-04-29 21:16:01.540 error by controller[0]: at emitTwo (events.js:126:13)
! Caught 2018-04-29 21:16:01.540 error by controller[0]: at Request.self.callback (/opt/iobroker/node_modules/iobroker.spotify-premium/node_modules/request/request.js:186:22)
! Caught 2018-04-29 21:16:01.540 error by controller[0]: at Request._callback (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:172:25)
! Caught 2018-04-29 21:16:01.540 error by controller[0]: at /opt/iobroker/node_modules/iobroker.spotify-premium/main.js:609:21
! Caught 2018-04-29 21:16:01.540 error by controller[0]: at persistPlaylist (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:505:21)
! Caught 2018-04-29 21:16:01.540 error by controller[0]: at Array.forEach ()
! Caught 2018-04-29 21:16:01.540 error by controller[0]: at /opt/iobroker/node_modules/iobroker.spotify-premium/main.js:588:33
! Caught 2018-04-29 21:16:01.539 error by controller[0]: TypeError: Cannot read property 'url' of undefined
! spotify-premium.0 2018-04-29 21:16:01.408 error at emitOne (events.js:116:13)
! spotify-premium.0 2018-04-29 21:16:01.408 error at Request. (/opt/iobroker/node_modules/iobroker.spotify-premium/node_modules/request/request.js:1163:10)
! spotify-premium.0 2018-04-29 21:16:01.408 error at Request.emit (events.js:214:7)
! spotify-premium.0 2018-04-29 21:16:01.408 error at emitTwo (events.js:126:13)
! spotify-premium.0 2018-04-29 21:16:01.408 error at Request.self.callback (/opt/iobroker/node_modules/iobroker.spotify-premium/node_modules/request/request.js:186:22)
! spotify-premium.0 2018-04-29 21:16:01.408 error at Request._callback (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:172:25)
! spotify-premium.0 2018-04-29 21:16:01.408 error at /opt/iobroker/node_modules/iobroker.spotify-premium/main.js:609:21
! spotify-premium.0 2018-04-29 21:16:01.408 error at persistPlaylist (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:505:21)
! spotify-premium.0 2018-04-29 21:16:01.408 error at Array.forEach ()
! spotify-premium.0 2018-04-29 21:16:01.408 error at /opt/iobroker/node_modules/iobroker.spotify-premium/main.js:588:33
! spotify-premium.0 2018-04-29 21:16:01.408 error TypeError: Cannot read property 'url' of undefined
! spotify-premium.0 2018-04-29 21:16:01.408 error uncaught exception: Cannot read property 'url' of undefined -
@Mic: danke für das Log. Sieht für mich so als als sei da eine Playlist ohne Image Url. Vielleicht eine ohne Tracks? Diese dann einfach Löschen und es geht wieder. Ich plane dafür Fix in der kommenden Version.
-
Danke Twonky! Ich hatte in der Tat leere Playlists in Spotify, diese gelöscht, Ordner "spotify-premium.0.Playlists" gelöscht, jedoch nach Aktualisierung liest der Adapter aufs erste Mal nicht alle ein, und wieder diese Fehler.
Daher freue ich mich auf das nächste Update
-
Hi,
bei mir ist es irgendwie ein Glücksspiel, ob der Adapter irgendwelche Eingaben annimmt oder nicht… Nach einem Neustart des Adapters geht es dann für unbestimmte Zeit wieder. Wenn es nicht geht, bekomme ich folgende Einträge:
! spotify-premium.0 2018-05-05 18:10:25.416 warn at IncomingMessage.emit (events.js:185:7)
! spotify-premium.0 2018-05-05 18:10:25.416 warn at emitNone (events.js:91:20)
! spotify-premium.0 2018-05-05 18:10:25.416 warn at IncomingMessage.g (events.js:292:16)
! spotify-premium.0 2018-05-05 18:10:25.416 warn at IncomingMessage. (/opt/iobroker/node_modules/request/request.js:1085:12)
! spotify-premium.0 2018-05-05 18:10:25.416 warn at Request.emit (events.js:188:7)
! spotify-premium.0 2018-05-05 18:10:25.416 warn at emitOne (events.js:96:13)
! spotify-premium.0 2018-05-05 18:10:25.416 warn at Request. (/opt/iobroker/node_modules/request/request.js:1163:10)
! spotify-premium.0 2018-05-05 18:10:25.416 warn at Request.emit (events.js:191:7)
! spotify-premium.0 2018-05-05 18:10:25.416 warn at emitTwo (events.js:106:13)
! spotify-premium.0 2018-05-05 18:10:25.416 warn at Request.self.callback (/opt/iobroker/node_modules/request/request.js:186:22)
! spotify-premium.0 2018-05-05 18:10:25.416 warn at Request._callback (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:258:42)
! spotify-premium.0 2018-05-05 18:10:25.416 warn Error
! spotify-premium.0 2018-05-05 18:10:25.414 warn at Decoder.add (/opt/iobroker/node_modules/socket.io-parser/index.js:246:12)
! spotify-premium.0 2018-05-05 18:10:25.414 warn at Decoder.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:134:20)
! spotify-premium.0 2018-05-05 18:10:25.414 warn at Decoder. (/opt/iobroker/node_modules/component-bind/index.js:21:15)
! spotify-premium.0 2018-05-05 18:10:25.414 warn at Manager.ondecoded (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:332:8)
! spotify-premium.0 2018-05-05 18:10:25.414 warn at Manager.Emitter.emit (/opt/iobroker/node_modules/socket.io-client/node_modules/component-emitter/index.js:133:20)
! spotify-premium.0 2018-05-05 18:10:25.414 warn at Manager. (/opt/iobroker/node_modules/component-bind/index.js:21:15)
! spotify-premium.0 2018-05-05 18:10:25.414 warn at Socket.onpacket (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:236:12)
! spotify-premium.0 2018-05-05 18:10:25.414 warn at Socket.onack (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:312:9)
! spotify-premium.0 2018-05-05 18:10:25.414 warn at Socket. (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:1162:21)
! spotify-premium.0 2018-05-05 18:10:25.414 warn at sendRequest (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:158:21)
! spotify-premium.0 2018-05-05 18:10:25.414 warn Error
! spotify-premium.0 2018-05-05 18:10:25.413 warn HTTP Request Error not handled, please debugJemand eine Idee?
-
Nochmal zum Verständnis… wenn ich den Adapter von Twonky habe, benötige ich das Skript von Lucky nicht, oder? Ich habe anscheinend das Problem, was Lucky auf Seite zwei gelöst hat: ich kann kein Device auswählen, wenn die Wiedergabe nicht läuft. Ist natürlich doof, denn im Vis kann ich die Wiedergabe nicht starten, wenn kein Gerät ausgewählt ist - ein Teufelskreis
Oder muss ich im JavaScript-Adapter doch ein Skript erstellen?
-
Richtig!
Entweder Script oder Adapter. Beides zusammen ist nicht notwendig.
-
Ok, danke. Dann ist das wohl in Twonkys Adapter nicht implementiert…
@twonky: Kannst Du da was machen?
Mich würde auch noch interessieren, welches Widget ich für die Darstellung von Playlisten oder Sendern nehmen kann, was mir auch das Cover aus den Objekten zieht.
-
Ich habe ein kleines Blockly gemacht und mit einem Widget verknüpft.
Mit dem Widget schalte ich das Device an und mit dem Blockly „drücke“ ich dann paar Sekunden später den „Use this for playback“ button.
-
Ich habe ein kleines Blockly gemacht und mit einem Widget verknüpft.
Mit dem Widget schalte ich das Device an und mit dem Blockly „drücke“ ich dann paar Sekunden später den „Use this for playback“ button. `
So mache ich es auch, aber nach ein paar Minuten geht der State "musiccast.0.WX-030_0E417983.netusb.playback" auf Pause und lässt sich dann auch nicht in der Musiccast oder Spotify app wieder starten. Wenn man auf Play drückt fängt es eine Sekunde zu laufen an und geht dann wieder auf Pause.Per Knopfdruck auf "spotify-premium.0.Player.Play" geht es wieder.
Hat jemand eine Idee woran das liegen kann?
-
Hallo zusammen,
ich bin neu hier bzw. auch relativ neu im Bereich ioBroker.
Ich habe eine kleine Frage an Euch: Den Spotifyadapter konnte ich inioBroker ohne Probleme installieren und authorisieren.
Wenn ich nun in den Objekten im Playerordner nun bei Play oder Pause den simulierten Button drücke wird auch eine Aktion ausgeführt.
Füge ich nun in meine View einen einfach Statebutton hinzu und weise diesem bspweise den Wert "spotify-premium.0.Player.Pause" zu
und führe die View und drücke den Button passiert irgendwie nichts.
Das Log wirft folgende Meldung:
spotify-premium.0 2018-05-12 18:27:52.972 info starting. Version 0.1.3 in /opt/iobroker/node_modules/iobroker.spotify-premium, node: v6.14.2 host.raspberrypi 2018-05-12 18:27:50.522 info instance system.adapter.spotify-premium.0 started with pid 5619 host.raspberrypi 2018-05-12 18:27:20.479 info Restart adapter system.adapter.spotify-premium.0 because enabled host.raspberrypi 2018-05-12 18:27:20.479 error instance system.adapter.spotify-premium.0 terminated with code 0 (OK) Caught 2018-05-12 18:27:20.478 error by controller[0]: at Request.emit (events.js:188:7) Caught 2018-05-12 18:27:20.478 error by controller[0]: at emitOne (events.js:96:13) Caught 2018-05-12 18:27:20.478 error by controller[0]: at Request. (/opt/iobroker/node_modules/iobroker.spotify-premium/node_modules/request/request.js:1163:10) Caught 2018-05-12 18:27:20.478 error by controller[0]: at Request.emit (events.js:191:7) Caught 2018-05-12 18:27:20.475 error by controller[0]: at emitTwo (events.js:106:13) Caught 2018-05-12 18:27:20.475 error by controller[0]: at Request.self.callback (/opt/iobroker/node_modules/iobroker.spotify-premium/node_modules/request/request.js:186:22) Caught 2018-05-12 18:27:20.475 error by controller[0]: at Request._callback (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:172:25) Caught 2018-05-12 18:27:20.475 error by controller[0]: at /opt/iobroker/node_modules/iobroker.spotify-premium/main.js:609:21 Caught 2018-05-12 18:27:20.474 error by controller[0]: at persistPlaylist (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:505:21) Caught 2018-05-12 18:27:20.474 error by controller[0]: at Array.forEach (native) Caught 2018-05-12 18:27:20.473 error by controller[0]: at /opt/iobroker/node_modules/iobroker.spotify-premium/main.js:588:32 Caught 2018-05-12 18:27:20.464 error by controller[0]: TypeError: Cannot read property 'url' of undefined spotify-premium.0 2018-05-12 18:27:20.413 info terminating spotify-premium.0 2018-05-12 18:27:20.225 error at Request.emit (events.js:188:7) spotify-premium.0 2018-05-12 18:27:20.225 error at emitOne (events.js:96:13) spotify-premium.0 2018-05-12 18:27:20.225 error at Request. (/opt/iobroker/node_modules/iobroker.spotify-premium/node_modules/request/request.js:1163:10) spotify-premium.0 2018-05-12 18:27:20.225 error at Request.emit (events.js:191:7) spotify-premium.0 2018-05-12 18:27:20.225 error at emitTwo (events.js:106:13) spotify-premium.0 2018-05-12 18:27:20.225 error at Request.self.callback (/opt/iobroker/node_modules/iobroker.spotify-premium/node_modules/request/request.js:186:22) spotify-premium.0 2018-05-12 18:27:20.225 error at Request._callback (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:172:25) spotify-premium.0 2018-05-12 18:27:20.225 error at /opt/iobroker/node_modules/iobroker.spotify-premium/main.js:609:21 spotify-premium.0 2018-05-12 18:27:20.225 error at persistPlaylist (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:505:21) spotify-premium.0 2018-05-12 18:27:20.225 error at Array.forEach (native) spotify-premium.0 2018-05-12 18:27:20.225 error at /opt/iobroker/node_modules/iobroker.spotify-premium/main.js:588:32 spotify-premium.0 2018-05-12 18:27:20.225 error TypeError: Cannot read property 'url' of undefined spotify-premium.0 2018-05-12 18:27:20.215 error uncaught exception: Cannot read property 'url' of undefined
Edit:
Nun habe ich über die VIS-Player Widget die ganze Sache zum Laufen zu bekommen. Hier nun diese Meldungen.
Reaktion gab es leider keine
spotify-premium.0 2018-05-12 18:48:59.947 warn at IncomingMessage.emit (events.js:185:7) spotify-premium.0 2018-05-12 18:48:59.947 warn at emitNone (events.js:91:20) spotify-premium.0 2018-05-12 18:48:59.947 warn at IncomingMessage.g (events.js:292:16) spotify-premium.0 2018-05-12 18:48:59.947 warn at IncomingMessage. (/opt/iobroker/node_modules/iobroker.spotify-premium/node_modules/request/request.js:1085:12) spotify-premium.0 2018-05-12 18:48:59.947 warn at Request.emit (events.js:188:7) spotify-premium.0 2018-05-12 18:48:59.947 warn at emitOne (events.js:96:13) spotify-premium.0 2018-05-12 18:48:59.947 warn at Request. (/opt/iobroker/node_modules/iobroker.spotify-premium/node_modules/request/request.js:1163:10) spotify-premium.0 2018-05-12 18:48:59.947 warn at Request.emit (events.js:191:7) spotify-premium.0 2018-05-12 18:48:59.947 warn at emitTwo (events.js:106:13) spotify-premium.0 2018-05-12 18:48:59.947 warn at Request.self.callback (/opt/iobroker/node_modules/iobroker.spotify-premium/node_modules/request/request.js:186:22) spotify-premium.0 2018-05-12 18:48:59.947 warn at Request._callback (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:258:42) spotify-premium.0 2018-05-12 18:48:59.947 warn Error spotify-premium.0 2018-05-12 18:48:59.945 warn at tryOnImmediate (timers.js:645:5) spotify-premium.0 2018-05-12 18:48:59.945 warn at runCallback (timers.js:672:20) spotify-premium.0 2018-05-12 18:48:59.945 warn at Immediate. (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3194:38) spotify-premium.0 2018-05-12 18:48:59.945 warn at Adapter.emit (events.js:191:7) spotify-premium.0 2018-05-12 18:48:59.945 warn at emitTwo (events.js:106:13) spotify-premium.0 2018-05-12 18:48:59.945 warn at Adapter. (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:1318:14) spotify-premium.0 2018-05-12 18:48:59.945 warn at Array.forEach (native) spotify-premium.0 2018-05-12 18:48:59.945 warn at /opt/iobroker/node_modules/iobroker.spotify-premium/main.js:1322:19 spotify-premium.0 2018-05-12 18:48:59.945 warn at Object.func (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:1183:9) spotify-premium.0 2018-05-12 18:48:59.945 warn at sendRequest (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:158:21) spotify-premium.0 2018-05-12 18:48:59.945 warn Error spotify-premium.0 2018-05-12 18:48:59.945 warn HTTP Request Error not handled, please debug spotify-premium.0 2018-05-12 18:48:58.940 warn at IncomingMessage.emit (events.js:185:7) spotify-premium.0 2018-05-12 18:48:58.940 warn at emitNone (events.js:91:20) spotify-premium.0 2018-05-12 18:48:58.940 warn at IncomingMessage.g (events.js:292:16) spotify-premium.0 2018-05-12 18:48:58.940 warn at IncomingMessage. (/opt/iobroker/node_modules/iobroker.spotify-premium/node_modules/request/request.js:1085:12) spotify-premium.0 2018-05-12 18:48:58.940 warn at Request.emit (events.js:188:7) spotify-premium.0 2018-05-12 18:48:58.940 warn at emitOne (events.js:96:13) spotify-premium.0 2018-05-12 18:48:58.940 warn at Request. (/opt/iobroker/node_modules/iobroker.spotify-premium/node_modules/request/request.js:1163:10) spotify-premium.0 2018-05-12 18:48:58.940 warn at Request.emit (events.js:191:7) spotify-premium.0 2018-05-12 18:48:58.940 warn at emitTwo (events.js:106:13) spotify-premium.0 2018-05-12 18:48:58.940 warn at Request.self.callback (/opt/iobroker/node_modules/iobroker.spotify-premium/node_modules/request/request.js:186:22) spotify-premium.0 2018-05-12 18:48:58.940 warn at Request._callback (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:258:42) spotify-premium.0 2018-05-12 18:48:58.940 warn Error spotify-premium.0 2018-05-12 18:48:58.938 warn at tryOnImmediate (timers.js:645:5) spotify-premium.0 2018-05-12 18:48:58.938 warn at runCallback (timers.js:672:20) spotify-premium.0 2018-05-12 18:48:58.938 warn at Immediate. (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3194:38) spotify-premium.0 2018-05-12 18:48:58.938 warn at Adapter.emit (events.js:191:7) spotify-premium.0 2018-05-12 18:48:58.938 warn at emitTwo (events.js:106:13) spotify-premium.0 2018-05-12 18:48:58.938 warn at Adapter. (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:1318:14) spotify-premium.0 2018-05-12 18:48:58.938 warn at Array.forEach (native) spotify-premium.0 2018-05-12 18:48:58.938 warn at /opt/iobroker/node_modules/iobroker.spotify-premium/main.js:1322:19 spotify-premium.0 2018-05-12 18:48:58.938 warn at Object.func (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:1183:9) spotify-premium.0 2018-05-12 18:48:58.938 warn at sendRequest (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:158:21) spotify-premium.0 2018-05-12 18:48:58.938 warn Error spotify-premium.0 2018-05-12 18:48:58.938 warn HTTP Request Error not handled, please debug spotify-premium.0 2018-05-12 18:48:57.810 warn at IncomingMessage.emit (events.js:185:7) spotify-premium.0 2018-05-12 18:48:57.810 warn at emitNone (events.js:91:20) spotify-premium.0 2018-05-12 18:48:57.810 warn at IncomingMessage.g (events.js:292:16) spotify-premium.0 2018-05-12 18:48:57.810 warn at IncomingMessage. (/opt/iobroker/node_modules/iobroker.spotify-premium/node_modules/request/request.js:1085:12) spotify-premium.0 2018-05-12 18:48:57.810 warn at Request.emit (events.js:188:7) spotify-premium.0 2018-05-12 18:48:57.810 warn at emitOne (events.js:96:13) spotify-premium.0 2018-05-12 18:48:57.810 warn at Request. (/opt/iobroker/node_modules/iobroker.spotify-premium/node_modules/request/request.js:1163:10) spotify-premium.0 2018-05-12 18:48:57.810 warn at Request.emit (events.js:191:7) spotify-premium.0 2018-05-12 18:48:57.810 warn at emitTwo (events.js:106:13) spotify-premium.0 2018-05-12 18:48:57.810 warn at Request.self.callback (/opt/iobroker/node_modules/iobroker.spotify-premium/node_modules/request/request.js:186:22) spotify-premium.0 2018-05-12 18:48:57.810 warn at Request._callback (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:258:42) spotify-premium.0 2018-05-12 18:48:57.810 warn Error spotify-premium.0 2018-05-12 18:48:57.808 warn at tryOnImmediate (timers.js:645:5) spotify-premium.0 2018-05-12 18:48:57.808 warn at runCallback (timers.js:672:20) spotify-premium.0 2018-05-12 18:48:57.808 warn at Immediate. (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3194:38) spotify-premium.0 2018-05-12 18:48:57.808 warn at Adapter.emit (events.js:191:7) spotify-premium.0 2018-05-12 18:48:57.808 warn at emitTwo (events.js:106:13) spotify-premium.0 2018-05-12 18:48:57.808 warn at Adapter. (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:1318:14) spotify-premium.0 2018-05-12 18:48:57.808 warn at Array.forEach (native) spotify-premium.0 2018-05-12 18:48:57.808 warn at /opt/iobroker/node_modules/iobroker.spotify-premium/main.js:1322:19 spotify-premium.0 2018-05-12 18:48:57.808 warn at Object.func (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:1183:9) spotify-premium.0 2018-05-12 18:48:57.808 warn at sendRequest (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:158:21) spotify-premium.0 2018-05-12 18:48:57.808 warn Error spotify-premium.0 2018-05-12 18:48:57.807 warn HTTP Request Error not handled, please debug spotify-premium.0 2018-05-12 18:48:40.360 warn at IncomingMessage.emit (events.js:185:7) spotify-premium.0 2018-05-12 18:48:40.360 warn at emitNone (events.js:91:20) spotify-premium.0 2018-05-12 18:48:40.360 warn at IncomingMessage.g (events.js:292:16) spotify-premium.0 2018-05-12 18:48:40.360 warn at IncomingMessage. (/opt/iobroker/node_modules/iobroker.spotify-premium/node_modules/request/request.js:1085:12) spotify-premium.0 2018-05-12 18:48:40.360 warn at Request.emit (events.js:188:7) spotify-premium.0 2018-05-12 18:48:40.360 warn at emitOne (events.js:96:13) spotify-premium.0 2018-05-12 18:48:40.360 warn at Request. (/opt/iobroker/node_modules/iobroker.spotify-premium/node_modules/request/request.js:1163:10) spotify-premium.0 2018-05-12 18:48:40.360 warn at Request.emit (events.js:191:7) spotify-premium.0 2018-05-12 18:48:40.360 warn at emitTwo (events.js:106:13) spotify-premium.0 2018-05-12 18:48:40.360 warn at Request.self.callback (/opt/iobroker/node_modules/iobroker.spotify-premium/node_modules/request/request.js:186:22) spotify-premium.0 2018-05-12 18:48:40.360 warn at Request._callback (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:258:42) spotify-premium.0 2018-05-12 18:48:40.360 warn Error spotify-premium.0 2018-05-12 18:48:40.357 warn at tryOnImmediate (timers.js:645:5) spotify-premium.0 2018-05-12 18:48:40.357 warn at runCallback (timers.js:672:20) spotify-premium.0 2018-05-12 18:48:40.357 warn at Immediate. (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3194:38) spotify-premium.0 2018-05-12 18:48:40.357 warn at Adapter.emit (events.js:191:7) spotify-premium.0 2018-05-12 18:48:40.357 warn at emitTwo (events.js:106:13) spotify-premium.0 2018-05-12 18:48:40.357 warn at Adapter. (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:1318:14) spotify-premium.0 2018-05-12 18:48:40.357 warn at Array.forEach (native) spotify-premium.0 2018-05-12 18:48:40.357 warn at /opt/iobroker/node_modules/iobroker.spotify-premium/main.js:1322:19 spotify-premium.0 2018-05-12 18:48:40.357 warn at Object.func (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:1183:9) spotify-premium.0 2018-05-12 18:48:40.357 warn at sendRequest (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:158:21) spotify-premium.0 2018-05-12 18:48:40.357 warn Error spotify-premium.0 2018-05-12 18:48:40.347 warn HTTP Request Error not handled, please debug
Kann mir da bitte jemand unter die Arme greifen?
Danke für Eure Hilfe,
Daniel aka Seppel
Geändert: Code in Code-Tags; Homoran (Admin)
-
Ich habe jetzt eine ganze Weile an Version https://github.com/twonky4/ioBroker.spotify-premium gearbeitet.
Der große Versionssprung, weil ich die States umbenannt habe. Sie folgen nun einem einheitlichem Namensschema das mit den Standard ioBroker States übereinstimmt. Alles States haben nun eine Beschreibung und es sind auch einige neue hinzugekommen. Es müssen also die alten Instanzen gelöscht und neu angelegt werden.
Was mir für eine Veröffentlichung nur noch fehlt sind ein paar VIS Beispiele.
Nun happy State umbennen (Ja, ich weiß das ist nervig, aber ich wollte das machen bevor der Adapter in das ioBroker repo aufgenommen wird)
-
Vielen Dank twonky, funktioniert sehr gut