Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. [Vorlage] Spotify Skript

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [Vorlage] Spotify Skript

    This topic has been deleted. Only users with topic management privileges can see it.
    • X
      xmace last edited by

      und nochmal:

      spotify-premium.0	2018-03-01 17:33:45.257	info	starting. Version 0.1.0 in /opt/iobroker/node_modules/iobroker.spotify-premium, node: v8.9.4
      host.iobrokerVM	2018-03-01 17:33:43.007	info	instance system.adapter.spotify-premium.0 started with pid 25017
      host.iobrokerVM	2018-03-01 17:33:12.977	info	Restart adapter system.adapter.spotify-premium.0 because enabled
      host.iobrokerVM	2018-03-01 17:33:12.977	error	instance system.adapter.spotify-premium.0 terminated with code 0 (OK)
      Caught	2018-03-01 17:33:12.977	error	by controller[0]: at emitOne (events.js:116:13)
      Caught	2018-03-01 17:33:12.976	error	by controller[0]: at TLSSocket.socketErrorListener (_http_client.js:387:9)
      Caught	2018-03-01 17:33:12.976	error	by controller[0]: at ClientRequest.emit (events.js:211:7)
      Caught	2018-03-01 17:33:12.976	error	by controller[0]: at emitOne (events.js:116:13)
      Caught	2018-03-01 17:33:12.976	error	by controller[0]: at Request.onRequestError (/opt/iobroker/node_modules/iobroker.spotify-premium/node_modules/request/request.js:878:8)
      Caught	2018-03-01 17:33:12.976	error	by controller[0]: at Request.emit (events.js:211:7)
      Caught	2018-03-01 17:33:12.976	error	by controller[0]: at emitOne (events.js:116:13)
      Caught	2018-03-01 17:33:12.976	error	by controller[0]: at self.callback (/opt/iobroker/node_modules/iobroker.spotify-premium/node_modules/request/request.js:186:22)
      Caught	2018-03-01 17:33:12.976	error	by controller[0]: at Request._callback (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:232:17)
      Caught	2018-03-01 17:33:12.975	error	by controller[0]: at /opt/iobroker/node_modules/iobroker.spotify-premium/main.js:415:43
      Caught	2018-03-01 17:33:12.975	error	by controller[0]: TypeError: Cannot read property 'hasOwnProperty' of null
      spotify-premium.0	2018-03-01 17:33:12.883	info	terminating
      spotify-premium.0	2018-03-01 17:33:12.833	error	at emitOne (events.js:116:13)
      spotify-premium.0	2018-03-01 17:33:12.833	error	at TLSSocket.socketErrorListener (_http_client.js:387:9)
      spotify-premium.0	2018-03-01 17:33:12.833	error	at ClientRequest.emit (events.js:211:7)
      spotify-premium.0	2018-03-01 17:33:12.833	error	at emitOne (events.js:116:13)
      spotify-premium.0	2018-03-01 17:33:12.833	error	at Request.onRequestError (/opt/iobroker/node_modules/iobroker.spotify-premium/node_modules/request/request.js:878:8)
      spotify-premium.0	2018-03-01 17:33:12.833	error	at Request.emit (events.js:211:7)
      spotify-premium.0	2018-03-01 17:33:12.833	error	at emitOne (events.js:116:13)
      spotify-premium.0	2018-03-01 17:33:12.833	error	at self.callback (/opt/iobroker/node_modules/iobroker.spotify-premium/node_modules/request/request.js:186:22)
      spotify-premium.0	2018-03-01 17:33:12.833	error	at Request._callback (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:232:17)
      spotify-premium.0	2018-03-01 17:33:12.833	error	at /opt/iobroker/node_modules/iobroker.spotify-premium/main.js:415:43
      spotify-premium.0	2018-03-01 17:33:12.833	error	TypeError: Cannot read property 'hasOwnProperty' of null
      spotify-premium.0	2018-03-01 17:33:12.833	error	uncaught exception: Cannot read property 'hasOwnProperty' of null
      spotify-premium.0	2018-03-01 17:33:12.816	error	erron in Request
      
      1 Reply Last reply Reply Quote 0
      • wendy2702
        wendy2702 last edited by

        @xmace:

        und nochmal: `

        Da du````
        node: v8.9.4

        
        Hinweis:
        
        

        Installation Node.js
        Diese Anleitung bezieht sich auf nodejs 6.x

        Die Nutzung von Nodejs 8.x wäre ebenfalls möglich, jedoch muss das dort mitgelieferte npm 5.x nach der Installation unbedingt auf v4.x downgegradet werden mit

        sudo npm install -g npm@4

        npm 5.x enthält noch einen Bug, der bei ioBroker zu massiven Problemen führt.

        1 Reply Last reply Reply Quote 0
        • T
          tempestas last edited by

          ich kriege den Adapter nicht installiert.

          npm WARN enoent ENOENT: no such file or directory, open '/home/xxxxxxx/package.json'
          npm WARN xxxxxxxx No description
          npm WARN xxxxxxxxxxx No repository field.
          npm WARN xxxxxx No README data
          npm WARN xxxxx No license field.
          xxxxx @iobrokerNUC:~$
          
          

          ?? bin doch Linux Nichtkönner 😞

          1 Reply Last reply Reply Quote 0
          • wendy2702
            wendy2702 last edited by

            Wie hast du es denn versucht?

            Gesendet von iPhone mit Tapatalk Pro

            1 Reply Last reply Reply Quote 0
            • T
              tempestas last edited by

              via admin katze von url installieren und via putty sudo npm install iobroker.spotify-premium

              1 Reply Last reply Reply Quote 0
              • wendy2702
                wendy2702 last edited by

                Du hast bei der Katze diesen Link rein kopiert:

                https://github.com/twonky4/ioBroker.spotify-premium

                ?

                Kannst du davon mal das komplette Logfile posten bitte!

                1 Reply Last reply Reply Quote 0
                • T
                  tempestas last edited by

                  ich installiere gerade nochmal mit debug ausgänge. mal sehen

                  1 Reply Last reply Reply Quote 0
                  • T
                    tempestas last edited by

                    host.iobrokerNUC	2018-03-01 19:43:30.034	info	Update repository "default" under "http://download.iobroker.net/sources-dist.json"
                    iobroker	2018-03-01 19:43:29.565	info	exit 0
                    iobroker	2018-03-01 19:43:29.485	info	npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                    iobroker	2018-03-01 19:43:29.485	info	npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/noble/node_modules/xpc-connection):
                    iobroker	2018-03-01 19:43:29.485	info	npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                    iobroker	2018-03-01 19:43:29.485	info	npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/iobroker.radar/node_modules/noble/node_modules/xpc-connection):
                    iobroker	2018-03-01 19:43:29.485	info	npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                    iobroker	2018-03-01 19:43:29.485	info	npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/iobroker.js2fs/node_modules/chokidar/node_modules/fsevents):
                    iobroker	2018-03-01 19:43:29.485	info	npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wa
                    iobroker	2018-03-01 19:43:29.470	info	iobroker@1.0.0 /opt/iobroker└── iobroker.spotify-premium@0.1.0
                    iobroker	2018-03-01 19:41:45.099	info	npm install https://github.com/twonky4/ioBroker.spotify-premium/tarball/master --production --prefix "/opt/iobroker" (System call)
                    iobroker	2018-03-01 19:41:44.840	info	install https://github.com/twonky4/ioBroker.spotify-premium/tarball/master
                    iobroker	2018-03-01 19:41:44.176	info	url "https://github.com/twonky4/ioBroker.spotify-premium" --debug
                    
                    1 Reply Last reply Reply Quote 0
                    • wendy2702
                      wendy2702 last edited by

                      Mach mal bitte

                      node -v
                      
                      npm -v
                      
                      1 Reply Last reply Reply Quote 0
                      • T
                        tempestas last edited by

                        node 6.11.3

                        npm 4.6.1

                        1 Reply Last reply Reply Quote 0
                        • fischi87
                          fischi87 last edited by

                          servus, habe auch gerade versucht den adapter zu starten, installation passt, ohne problem aber ich bekomme die autorisierung nicht hin, bekomme immer diesen Fehler:

                          error	invalid session. You need to open the actual Authorization.Authorization_URL
                          

                          Mit freundlichen Grüßen

                          1 Reply Last reply Reply Quote 0
                          • wendy2702
                            wendy2702 last edited by

                            Hast du den neu installiert?

                            Wenn ja nach welcher Anleitung und mit welchem OS?

                            Ist der Adapter wirklich nicht installiert?

                            1 Reply Last reply Reply Quote 0
                            • wendy2702
                              wendy2702 last edited by

                              @fischi87:

                              servus, habe auch gerade versucht den adapter zu starten, installation passt, ohne problem aber ich bekomme die autorisierung nicht hin, bekomme immer diesen Fehler:

                              error	invalid session. You need to open the actual Authorization.Authorization_URL
                              

                              Mit freundlichen Grüßen `

                              Du hast alle Schritte die im Adapter erklärt sind „Richtig“ ausgeführt?

                              1 Reply Last reply Reply Quote 0
                              • T
                                tempestas last edited by

                                edit:

                                ich war wieder zu blöd

                                iobroker add spotify-premium fehlte mir.

                                gut, dass ich mir mal rainers posting dazu in die favs gespeichert habe. nun kann ich mir den adapter anschauen

                                1 Reply Last reply Reply Quote 0
                                • wendy2702
                                  wendy2702 last edited by

                                  Also fehlte die Instanz

                                  Machst du das nicht über die Admin Oberfläche?

                                  Gesendet von iPhone mit Tapatalk Pro

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    tempestas last edited by

                                    doch hatte ich. passiert bei mir aber gelegentlich, dass da keine instanz mitkommt.

                                    1 Reply Last reply Reply Quote 0
                                    • wendy2702
                                      wendy2702 last edited by

                                      Ok

                                      Ist das der neue Admin ?

                                      Gesendet von iPhone mit Tapatalk Pro

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        tempestas last edited by

                                        Nein.

                                        leider kann ich mich mal wieder nicht authen.

                                        Die im Browser angezeigte URI bleibt genau die gleiche, die ich auch eingegeben habe aus dem Adapter. Ich sehe dann auch, dass ich verbinden soll, mache ich und dann kommt wie erwartet "invalid redirect uri".

                                        Nur, dass in der Adresszeile halt das gleiche drin steht wie vorher. Ich bekomme nichts, um es in die auth Zeile einzugeben

                                        genau genommen passiert auf der spotify account page halt einfach gar nichts, wenn ich mich anmelden will. Wenn ich was falsches angebe reagiert sie und sagt falsches PW, beim richtigen passiert einfach… nichts

                                        1 Reply Last reply Reply Quote 0
                                        • wendy2702
                                          wendy2702 last edited by

                                          Das sieht nur genauso aus.

                                          Hast du bestimmt nicht Zeichen für Zeichen verglichen, oder doch !?

                                          Einfach kopieren und einfügen.

                                          Gesendet von iPhone mit Tapatalk Pro

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            tempestas last edited by

                                            @wendy2702:

                                            Das sieht nur genauso aus.

                                            Hast du bestimmt nicht Zeichen für Zeichen verglichen, oder doch !?

                                            Einfach kopieren und einfügen.

                                            Gesendet von iPhone mit Tapatalk Pro `

                                            hab sie mal untereinander gepackt die uris, die sahen für mich 100% gleich aus

                                            ok nun wirds vollends strange. wie gesagt reagiert der anmelde button nicht.

                                            wenn ich dann "ZURÜCK" klicke auf der Maus kommt dann die Abfrage, ob ich verbinden will (??) und auch hier tut der "ok" button einfach… gar nichts

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            794
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            javascript
                                            95
                                            745
                                            191227
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo