Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Dyn. Liste darstellen und als Auswahlliste in VIS, iQontrol

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Dyn. Liste darstellen und als Auswahlliste in VIS, iQontrol

    This topic has been deleted. Only users with topic management privileges can see it.
    • liv-in-sky
      liv-in-sky @Rookie50 last edited by

      @rookie50
      dad geht vor - meld dich einfach

      irgendwie sieht das wie ein bug aus - kann aber nicht sein, da ja sonst die songs nicht spielen sollten

      ich habe nur das problem, das ich an dieser stelle nicht weiß - bzw nur sehr umständlich - ob in best of ein leerzeichen reinkommt - denn es wäre nicht gut, auf genau best of zu suchen - es könnte ja mal ein anderer ordner angelegt werden, der auch ein leerzeichen hat und dann nicht best of heißt

      R 1 Reply Last reply Reply Quote 0
      • R
        Rookie50 @liv-in-sky last edited by

        @liv-in-sky
        sodele, ich habe nun etwas etwas nachgeforscht. Du musst keine "/" oder " " ersetzen sondern nur den "fn" Wert nach "file=" schreiben:

        http://192.168.101.107:11000/Add?&service=LocalMusic&playnow=-1&file=%2Fvar%2Fmnt%2F192.168.101.20-music%2FBestof%2FChristina%20Aguilera%2FStripped%2FChristina%20Aguilera%20-%2003%20-%20Walk%20Away%20.mp3
        

        Gibt

        <addsong id="4534" count="0" length="0"/>
        

        zurück. Count gibt in dem Fall an, wieviel Titel zur Play Queue hinzugefügt werden und length an welcher Position den Queue.

        Einen Pfad zur Play Queue hinzufügen funktioniert ja:

        http://192.168.101.107:11000/Add?&service=LocalMusic&path=//192.168.101.20/music/Best of/Christina Aguilera/Stripped
        

        Die Antwort:

        <addsong id="4535" count="20" length="20"/>
        

        20 Songs hinzugefügt und der letzte Song hat Position 20 in der Queue.

        Wenn wir nun eine einzelne Datei hinzufügen, nehmen wir den Wert aus den "fn" Feld:

        http://192.168.101.107:11000/Add?&service=LocalMusic&file=/var/mnt/192.168.101.20-musicBestof/Christina Aguilera/Stripped/Christina Aguilera - 01 - Stripped Intro .mp3
        

        Die Datei wird hinzugefügt und die Antwort lautet:'

        <addsong id="4536" count="1" length="21"/>
        

        count=1 eine Datei, length=21 Position 21 der Queue.

        Ich hoffe, dass diese Erkenntnis es etwas einfacher macht, einzelne Dateien zu spielen.

        liv-in-sky 1 Reply Last reply Reply Quote 0
        • liv-in-sky
          liv-in-sky @Rookie50 last edited by

          @rookie50

          mittlerweile habe ich das mit best of so gelöst

          kannst du bitte testen

          http://192.168.101.107:11000/Add?&service=LocalMusic&playnow=-1&file=%2Fvar%2Fmnt%2F192.168.101.20-music%2FBest%20of%2FFalco%2FFalco%20-%20Hoch%20wie%20nie%2F102-falco-vienna_calling-mst.mp3
          
          R 1 Reply Last reply Reply Quote 0
          • R
            Rookie50 @liv-in-sky last edited by

            @liv-in-sky

            wenn ich das so abschicke bekomme ich:

            <addsong id="4537" count="0" length="22"/>
            

            d.h. nichts an position 22

            Aber folgendes funktioniert:

            http://192.168.101.107:11000/Add?&service=LocalMusic&playnow=-1&file=/var/mnt/192.168.101.20-musicBestof%2FFalco%2FFalco%20-%20Hoch%20wie%20nie%2F102-falco-vienna_calling-mst.mp3
            

            Es wird zurückgegeben:

            <addsong id="4538" count="1" length="23"/>
            
            liv-in-sky 1 Reply Last reply Reply Quote 0
            • liv-in-sky
              liv-in-sky @Rookie50 last edited by

              @rookie50 dann habe ich umsonst etwas geändert - da deine version nur mit dem blocky zu ändern ist - einfach ohne path

              wann können wir mal wieder ein stündchen testen ?

              R 1 Reply Last reply Reply Quote 0
              • R
                Rookie50 @liv-in-sky last edited by

                @liv-in-sky heute klappt es leider nicht, wie sieht es morgen bei Dir aus?

                liv-in-sky 1 Reply Last reply Reply Quote 0
                • liv-in-sky
                  liv-in-sky @Rookie50 last edited by

                  @rookie50 wann ungefähr ?

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    Rookie50 @liv-in-sky last edited by

                    @liv-in-sky so ab 9:00 Uhr

                    liv-in-sky 1 Reply Last reply Reply Quote 0
                    • liv-in-sky
                      liv-in-sky @Rookie50 last edited by

                      @rookie50 bekomme morgens meine erste impfung - melde mich dann etwas nach 9:00

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        Rookie50 @liv-in-sky last edited by

                        @liv-in-sky ja super, dass freut mich! Ich habe die erste letzte Woche erhalten. Melde Dich einfach 😉

                        liv-in-sky 5 Replies Last reply Reply Quote 0
                        • liv-in-sky
                          liv-in-sky @Rookie50 last edited by

                          @rookie50

                          bin da

                          1 Reply Last reply Reply Quote 0
                          • liv-in-sky
                            liv-in-sky @Rookie50 last edited by liv-in-sky

                            @rookie50

                            die beiden scripte

                            tabelle.txt
                            js-main.txt
                            npreset-block.txt

                            1 Reply Last reply Reply Quote 0
                            • liv-in-sky
                              liv-in-sky @Rookie50 last edited by

                              @rookie50

                              function-aufruf.txt
                              Preset-block.txt
                              encode-function.txt
                              umwandeln-funktion.txt

                              1 Reply Last reply Reply Quote 0
                              • liv-in-sky
                                liv-in-sky @Rookie50 last edited by

                                @rookie50

                                datenpunkte.txt

                                1 Reply Last reply Reply Quote 0
                                • liv-in-sky
                                  liv-in-sky @Rookie50 last edited by

                                  @rookie50

                                  js-main-neu.txt

                                  R 1 Reply Last reply Reply Quote 0
                                  • R
                                    Rookie50 @liv-in-sky last edited by

                                    @liv-in-sky wie gewünscht und versprochen die 3 Scripte

                                    js-main-V1.1
                                    Blockly-V1.1
                                    Tabelle-V1.1

                                    1 Reply Last reply Reply Quote 0
                                    • H
                                      Hoizi1994 last edited by

                                      Hallo Leute ich versuche eigentlich nur eine Liste zu erstellen wo ich ein paar unterschiedliche Datenpunkte ausliste leider bin ich irgendwie zu doof das zu bewerkstelligen nach der Anleitung von Github.

                                      Hatt hier jemand eine erklärung für dummis in der man die verscheidenen Datenpunkte einträgt und das wars dann schon? oder seh ich das einfach komplett falsch wie so was aufgebaut wird

                                      liv-in-sky 1 Reply Last reply Reply Quote 0
                                      • liv-in-sky
                                        liv-in-sky @Hoizi1994 last edited by

                                        @hoizi1994

                                        das hier ist speziell für ein project (Bluesound Multiroom System )

                                        • was für eine anleitung auf github
                                        • evtl meinst du sowas ? https://forum.iobroker.net/post/1065142
                                          evtl ist es besser einen eigenen thread aufzumachen und etwas genauer zu erklären, was du machen möchtest
                                        1 Reply Last reply Reply Quote 0
                                        • First post
                                          Last post

                                        Support us

                                        ioBroker
                                        Community Adapters
                                        Donate

                                        509
                                        Online

                                        31.7k
                                        Users

                                        79.8k
                                        Topics

                                        1.3m
                                        Posts

                                        6
                                        111
                                        6530
                                        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