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.
    • R
      Rookie50 @liv-in-sky last edited by

      @liv-in-sky said in Dyn. Liste darstellen und als Auswahlliste in VIS, iQontrol:

      könntest

      Hi, ich war gestern den ganzen Tag unterwegs 😮 und heute mal das Wetter genossen.
      Was für ein sch... Ist mir noch gar nicht aufgefallen. Es wird tatsächlich so zurück geliefert. Natürlich muss da ein "/" zwischen, sonst wird nicht zur Play Queue hinzugefügt. Habe ich gerade getestet.

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

        @rookie50 ok - sollte ich reinbekommen

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

          @rookie50

          noch ne frage

          was wolltest du noch abfragen außer presets

          AApossis (64).gif

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

            @rookie50

            bitte testen - wird das gespiel ?

            http://192.168.101.107:11000/Add?&service=LocalMusic&playnow=-1&file=%2Fvar%2Fmnt%2F192.168.101.20-music%2FAlben%2FAdel%20Tawil%2FLieder%2F102%20wenn_du_liebst.mp3
            
            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-%2005%20-%20Primer%20Amor%20Interlude%20.mp3
            
            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
            
            R 1 Reply Last reply Reply Quote 0
            • R
              Rookie50 @liv-in-sky last edited by Rookie50

              @liv-in-sky Hi, sorry, ich war nicht länger im Forum. Nein wurde nicht gespielt, da ein Leerzeichen zwischen "Best of" fehlt. Ich verstehe gerade noch nicht, warum der String falsch in dem Song Attribut mitgeteilt wird.

              Ich werde morgen Nachmittag nochmal Wireshark anwerfen. Morgen früh muss ich erstmal mit meinem Vater zu einer AugenOP

              liv-in-sky 1 Reply Last reply Reply Quote 0
              • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            506
                                            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