Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. Suche Spotify View

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Suche Spotify View

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

      Jo, Danke, jetzt hast Du mich verstanden und mir
      das Wochenende gerettet 🙂

      Ich hab bei dem Adapter einfach nen Verständnisproblem,
      andere Adapter haben Zustände die ich abfragen oder ändern kann,
      Alexa sage ich spiel s1234 auf Tunein dann tut sie das....

      bei Spotify ist das alles irgendwie anders,
      aber damit sollte ich durchkommen.

      Ist also nicht so, dass ich nichts machen will, im Gegenteil,
      aber ich muss erstmal die Logik logisch verstehen,
      und das wird im Alter immer schwieriger 🙂

      1 Reply Last reply Reply Quote 0
      • S
        skokarl last edited by

        das wird nix, ich werd wahnsinnig.

        Adapter grün, Sonos grün, Auswahl Playliste geht, Auswahl Device geht,
        nur "Play geht nicht " 😭
        Nur Fehlermeldungen im Log, irgendwas ist da NULL, also nicht gefüllt.
        Versteh ich sogar, ich kriegs aber nicht hin.
        Ich brauch als Beispiel nur ne Liste, nen device und nen Play Button, dann versteh ich es wahrscheinlich.

        Caught 2019-02-17 16:34:57.162 error by controller[0]: at tryOnImmediate (timers.js:768:5)
        Caught 2019-02-17 16:34:57.162 error by controller[0]: at runCallback (timers.js:810:20)
        Caught 2019-02-17 16:34:57.162 error by controller[0]: at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3429:38)
        Caught 2019-02-17 16:34:57.157 error by controller[0]: at Adapter.emit (events.js:214:7)
        Caught 2019-02-17 16:34:57.157 error by controller[0]: at emitTwo (events.js:126:13)
        Caught 2019-02-17 16:34:57.157 error by controller[0]: at Adapter.setExternal (/opt/iobroker/node_modules/iobroker.spotify-premium/lib/cache.js:258:2)
        Caught 2019-02-17 16:34:57.157 error by controller[0]: at trigger (/opt/iobroker/node_modules/iobroker.spotify-premium/lib/cache.js:219:11)
        Caught 2019-02-17 16:34:57.157 error by controller[0]: at Array.forEach (<anonymous>)
        Caught 2019-02-17 16:34:57.157 error by controller[0]: at /opt/iobroker/node_modules/iobroker.spotify-premium/lib/cache.js:225:19
        Caught 2019-02-17 16:34:57.156 error by controller[0]: at Object.listenOnPlayThisList [as func] (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:1661:73)
        Caught 2019-02-17 16:34:57.153 error by controller[0]: TypeError: Cannot read property 'val' of null
        spotify-premium.0 2019-02-17 16:34:57.054 error at tryOnImmediate (timers.js:768:5)
        spotify-premium.0 2019-02-17 16:34:57.054 error at runCallback (timers.js:810:20)
        spotify-premium.0 2019-02-17 16:34:57.054 error at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3429:38)
        spotify-premium.0 2019-02-17 16:34:57.054 error at Adapter.emit (events.js:214:7)
        spotify-premium.0 2019-02-17 16:34:57.054 error at emitTwo (events.js:126:13)
        spotify-premium.0 2019-02-17 16:34:57.054 error at Adapter.setExternal (/opt/iobroker/node_modules/iobroker.spotify-premium/lib/cache.js:258:2)
        spotify-premium.0 2019-02-17 16:34:57.054 error at trigger (/opt/iobroker/node_modules/iobroker.spotify-premium/lib/cache.js:219:11)
        spotify-premium.0 2019-02-17 16:34:57.054 error at Array.forEach (<anonymous>)
        spotify-premium.0 2019-02-17 16:34:57.054 error at /opt/iobroker/node_modules/iobroker.spotify-premium/lib/cache.js:225:19
        spotify-premium.0 2019-02-17 16:34:57.054 error at Object.listenOnPlayThisList [as func] (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:1661:73)
        spotify-premium.0 2019-02-17 16:34:57.054 error TypeError: Cannot read property 'val' of null
        spotify-premium.0 2019-02-17 16:34:57.052 error uncaught exception: Cannot read property 'val' of null

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

          @skokarl

          Sag mir mal wie man einen Spoiler macht, dann Poste ich mal mein View.

          Negalein 1 Reply Last reply Reply Quote 0
          • Negalein
            Negalein Global Moderator @wendy2702 last edited by

            @wendy2702 sagte in Suche Spotify View:

            @skokarl

            Sag mir mal wie man einen Spoiler macht, dann Poste ich mal mein View.

            Suche Spotify View.png = Spoiler

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

              Hier mein kompletter View. Geht nur über einen Umweg da Limitierung auf 40000 Zeichen.

              Spotify View.docx

              MartinG 1 Reply Last reply Reply Quote 0
              • S
                skokarl last edited by

                Danke, geht nicht.
                Hier passiert nix außer Fehlermeldungen.

                Nach wie vor, Spotify grün, Sonos grün.

                spotify-premium.0 2019-02-17 17:41:36.489 info terminating
                spotify-premium.0 2019-02-17 17:41:36.465 error at runCallback (timers.js:810:20)
                spotify-premium.0 2019-02-17 17:41:36.465 error at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3429:38)
                spotify-premium.0 2019-02-17 17:41:36.465 error at Adapter.emit (events.js:214:7)
                spotify-premium.0 2019-02-17 17:41:36.465 error at emitTwo (events.js:126:13)
                spotify-premium.0 2019-02-17 17:41:36.465 error at Adapter.setExternal (/opt/iobroker/node_modules/iobroker.spotify-premium/lib/cache.js:258:2)
                spotify-premium.0 2019-02-17 17:41:36.465 error at trigger (/opt/iobroker/node_modules/iobroker.spotify-premium/lib/cache.js:219:11)
                spotify-premium.0 2019-02-17 17:41:36.465 error at Array.forEach (<anonymous>)
                spotify-premium.0 2019-02-17 17:41:36.465 error at /opt/iobroker/node_modules/iobroker.spotify-premium/lib/cache.js:225:19
                spotify-premium.0 2019-02-17 17:41:36.465 error at Object.listenOnDeviceList [as func] (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:1668:9)
                spotify-premium.0 2019-02-17 17:41:36.465 error at listenOnUseForPlayback (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:1637:96)
                spotify-premium.0 2019-02-17 17:41:36.465 error TypeError: Cannot read property 'val' of null
                spotify-premium.0 2019-02-17 17:41:36.454 error uncaught exception: Cannot read property 'val' of null
                spotify-premium.0 2019-02-17 17:41:31.841 error erron in request: 403

                1 Reply Last reply Reply Quote 0
                • S
                  skokarl last edited by

                  glaub das einzigste was mir hilft ist was ganz ganz kleines,
                  nur zum verstehen wie es gehn müsste.

                  sowas wie ... :nix.PNG

                  1 Reply Last reply Reply Quote 0
                  • S
                    skokarl last edited by

                    sagt mal....muss zu den Widgets noch was mit javascript ???
                    Das wäre ne Erklärung .... hab sowas aber noch nie gemacht, na, das kann ja lustig werden.😀

                    1 Reply Last reply Reply Quote 0
                    • S
                      Stuti last edited by

                      Sonos uns Spotify läuft bei mir nicht. Auf dem Echo oder Notebook abspielen geht.
                      Es fehlt einfach die Funktion den Player als "Aktiven" zu setzen. "SetForPlayback" fehlt bei dem Sonos.

                      a2548ce1-48a4-41a9-b5c2-4fa259599450-image.png

                      Du brauchst eigentlich nur drei einfach HTML Widgets. Darin einfach

                      e876c3f3-eced-4116-aede-d65a202343d5-image.png

                      die drei html Tables darstellen.

                      Dafür einfach z.B.

                      {spotify-premium.0.html.tracks}
                      

                      eintragen dann kannst du den Track mit klick abspielen. Oder mit dem anderen HTML dein Device wählen.

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        skokarl @Stuti last edited by

                        @Stuti sagte in Suche Spotify View:

                        Sonos uns Spotify läuft bei mir nicht. Auf dem Echo oder Notebook abspielen geht.

                        das ist doch jetzt mal ne Aussage die mich weiterbringt. Danke.

                        S 2 Replies Last reply Reply Quote 0
                        • S
                          Stuti @skokarl last edited by

                          @skokarl ich weiß noch nicht, ob das an der V1.0.0 des Adapters liegt.

                          Die Buttons "Shuffle" und "Repeat" haben bei mir auch keinerlei Wirkung.
                          Downgrade will ich eigentlich nicht machen, da ich dann die HTML views verliere. Dazu gibt es wohl ein Script, welches diese Liste zusammenbaut, aber das muss man ja nicht machen, wenn nicht nötig.

                          1 Reply Last reply Reply Quote 0
                          • S
                            Stuti @skokarl last edited by

                            @skokarl Der Adapter 0.31 zeigt bei mir den Sonos nicht mal an.

                            Repeat und Shuffle haben nur keine Funktion, wenn ich gerade auf dem Sonos etwas abspiele. Auf dem Echo läuft alles ohne Probleme.

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

                              @wendy2702 Hi Wendy,
                              habe mir erlaubt deine View zu testen. Funktioniert super!! Habe nur ein kleines Problem mit den Pause/Play button. Der funktioniert bei mir nicht richtig.
                              Sehe dass da folgendes Skript dahinter ist:

                              javascript.0.spotify-premium.playpause
                              javascript.0.spotify-premium.playpausebutton

                              Was genau passiert in diesen Skripts? Könntest du sie mir evtl. zukommen lassen?

                              Vielen Dank

                              lg

                              Martin

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

                                @MartinG

                                Sorry ich nutze das nicht mehr und habe auch die Script nicht mehr.

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

                                  @wendy2702
                                  Ok. Schade
                                  Danke dir trotzdem

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

                                    Falls jemand Interesse an meinem VIEW hat - habe es selber erst die Tage mit Hilfe eines anderen Users zusammen gebastelt. Es wird ausschließlich auf die Datenpunkte vom Spotify Adapter 1.1.0 zurück gegriffen. Keine javascripte o.ä.

                                    Ich finde es sieht gut aus und funktioniert bei mir hervorragend. Muss mal gucken wie ich noch einen "Fortschrittsbalken" zum schnellen vorspulen von Lieder integrieren kann.

                                    2019-08-16 21_24_07-vis.png

                                    ...... hmmmm würde den Code für das VIEW gerne als Code /Spoiler hochladen. Leider meckert die Forensoftware das ich nur Beiträge bis 5000 Zeichen verfassen kann. Offensichtlich zählt Code/Spoiler mit dazu ..... naja mal gucken wie ich das hin bekomme.

                                    sigi234 R 2 Replies Last reply Reply Quote 3
                                    • sigi234
                                      sigi234 Forum Testing Most Active @JB_Sullivan last edited by

                                      @JB_Sullivan sagte in Suche Spotify View:

                                      hmmmm würde den Code für das VIEW gerne als Code /Spoiler hochladen

                                      Als Datei hochladen.........rechts neben dem Wolke Icon

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

                                        OK, hier also das komplette VIEW - KEIN Widget

                                        Spotify VIEW.txt

                                        1 Reply Last reply Reply Quote 3
                                        • JB_Sullivan
                                          JB_Sullivan last edited by

                                          So ich habe das VIEW nochmal eine bisschen verändert und nun sind entsprechende Slider für Titel Fortschritt und Lautstärke eingebaut.

                                          Spotify View 2.txt

                                          2019-08-18 10_34_06-vis.png

                                          C Feuersturm Michael Dolp 3 Replies Last reply Reply Quote 6
                                          • C
                                            Chrisx51 @JB_Sullivan last edited by

                                            @JB_Sullivan Mann dein View ist ja der Hammer!
                                            Vielen Dank dafür! 👍

                                            Dann hast du aber evtl. auch eine Idee warum der View bei mir so aussieht:
                                            47e962b3-71fc-4e40-8fbf-9d428e3e5dad-grafik.png
                                            Ich glaube da stimmt etwas mit meinen widgets nicht!

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            479
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            32
                                            107
                                            19907
                                            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