Sonos4lox - Mp3 wird nicht komplett abgespielt

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • Gast

    #1

    Sonos4lox - Mp3 wird nicht komplett abgespielt

    Hallo zusammen

    Seit dem Update auf Sonos4lox v3.5.6 werden meine Mp3 Dateien welche ich im Ordner "/tts/mp3" habe, plötzlich nicht mehr komplett abgespielt. Vereinzelt werden die mp3 komplett und in voller Länge abgespielt, mehrheitlich brechen sie aber gleich nach ca. 1-2 Sekunden einfach ab.

    Kann mir jemand bei meinem Problem weiterhelfen? Bin mit meinem Latein langsam aber sicher am Enden :-(

    Vielen Dank im Voraus für Euren Support

    Beste Grüsse Simon
  • Liver_64
    MS Profi
    • 07.09.2015
    • 600

    #2
    was steht im Log und wie lautet deine URL?
    Anmerkung: Bitte keine Fragen mehr per PN sondern direkt im Forum damit andere mithelfen und mitprofitieren können.
    Bzgl. Sonos Plugin supporte ich nur noch die jeweils aktuelle Version NUR auf dem LoxBerry, ich kann keine VM Unterstützung mangels Hardware geben. Herzlichen Dank!

    Kommentar

    • Gast

      #3
      Hallo Liver_64

      Der URL lautet: "192.168.1.13/plugins/sonos4lox/index.php?zone=badezimmer&action=sendmessage&messa geid=11&volume=15"

      Im Logfile steht:
      Warning PHP started 14.01.2019 21:56 -

      Kommentar


      • Liver_64
        Liver_64 kommentierte
        Kommentar bearbeiten
        weiter rechts ist ein button "Öffnen" dann siehst du auch was im Logfile steht
    • Gast

      #4

      Kommentar


      • Liver_64
        Liver_64 kommentierte
        Kommentar bearbeiten
        Die Reihenfolge lautet: Befehl ausführen, Logfile ansehen
    • Gast

      #5
      ================================================== ==============================
      15.01.2019 18:13:11 TASK STARTED
      PHP started
      18:13:11.995 INFO: LoxBerry Version 1.4.0.2 ( is_raspberry.cfg )
      18:13:11.995 INFO: Sonos Version 3.5.6
      18:13:11.995 INFO: Loglevel: 4
      Array
      (
      [level] => 5
      [code] => 8
      [error] => Notice
      [description] => Undefined index:
      [file] => /opt/loxberry/webfrontend/html/plugins/sonos4lox/Play_T2S.php
      [line] => 741
      [context] => Array
      (
      [tts_stat] => 1
      [config] => Array
      (
      [sonoszonen] => Array
      (
      [badezimmer] => Array
      (
      [0] => 192.168.1.61
      [1] => RINCON_949F3E7B095E01400
      [2] => PLAY:1
      [3] => 30
      [4] => 10
      [5] => 100
      )

      [wohnen] => Array
      (
      [0] => 192.168.1.62
      [1] => RINCON_949F3E50821C01400
      [2] => PLAY:5
      [3] => 30
      [4] => 10
      [5] => 100
      )

      )

      [MP3] => Array
      (
      [file_gong] => 2_Airport_gong.mp3
      [cachesize] => 1700
      [volumeup] =>
      [volumedown] =>
      [MP3store] => 1
      )

      [LOCATION] => Array
      (
      [googlekey] =>
      [googlestreet] =>
      [googletown] =>
      [town] =>
      [region] =>
      )

      [TTS] => Array
      (
      [messageLang] => de-DE
      [t2s_engine] => 7001
      [volrampto] => 25
      [API-key] =>
      [voice] =>
      [rampto] => AUTOPLAY_RAMP_TYPE
      [secret-key] =>
      )

      [SYSTEM] => Array
      (
      [httpinterface] => http://192.168.1.13:80/plugins/sonos4lox/interfacedownload
      [checkonline] => 1
      [mp3path] => /opt/loxberry/data/plugins/sonos4lox/tts/mp3
      [ttspath] => /opt/loxberry/data/plugins/sonos4lox/tts
      [cifsinterface] => //192.168.1.13:80/plugindata/sonos4lox/interfacedownload
      [path] => /opt/loxberry/data/plugins/sonos4lox
      )

      [VARIOUS] => Array
      (
      [announceradio] =>
      [CALDav2] =>
      [CALDavMuell] =>
      )

      [LOXONE] => Array
      (
      [LoxDaten] =>
      [Loxone] =>
      [LoxPort] =>
      )

      )

      [sonoszone] => Array
      (
      [badezimmer] => Array
      (
      [0] => 192.168.1.61
      [1] => RINCON_949F3E7B095E01400
      [2] => PLAY:1
      [3] => 30
      [4] => 10
      [5] => 100
      )

      [wohnen] => Array
      (
      [0] => 192.168.1.62
      [1] => RINCON_949F3E50821C01400
      [2] => PLAY:5
      [3] => 30
      [4] => 10
      [5] => 100
      )

      )

      [master] => badezimmer
      [ms] => Array
      (
      [1] => Array
      (
      [Name] => DEFH_Fahrweidstrasse_91
      [IPAddress] => 192.168.1.11
      [Admin] => admin
      [Pass] => xxxxxx
      [Credentials] => admin: xxxxxx
      [Note] =>
      [Port] => 80
      [UseCloudDNS] => 0
      [CloudURLFTPPort] =>
      [CloudURL] =>
      [Admin_RAW] => admin
      [Pass_RAW] => xxxxxx
      [Credentials_RAW] => admin: xxxxxx
      [SecureGateway] => 0
      [EncryptResponse] => 0
      )

      )

      [tmp_tts] => /run/shm/tmp_tts
      [handle] => Resource id #64
      )

      [path] => /opt/loxberry/webfrontend/html/plugins/sonos4lox/Play_T2S.php
      [message] => Notice (8): Undefined index: in [/opt/loxberry/webfrontend/html/plugins/sonos4lox/Play_T2S.php, line 741]
      )
      Array
      (
      [level] => 5
      [code] => 8
      [error] => Notice
      [description] => Undefined index:
      [file] => /opt/loxberry/webfrontend/html/plugins/sonos4lox/Play_T2S.php
      [line] => 741
      [context] => Array
      (
      [tts_stat] => 0
      [config] => Array
      (
      [sonoszonen] => Array
      (
      [badezimmer] => Array
      (
      [0] => 192.168.1.61
      [1] => RINCON_949F3E7B095E01400
      [2] => PLAY:1
      [3] => 30
      [4] => 10
      [5] => 100
      )

      [wohnen] => Array
      (
      [0] => 192.168.1.62
      [1] => RINCON_949F3E50821C01400
      [2] => PLAY:5
      [3] => 30
      [4] => 10
      [5] => 100
      )

      )

      [MP3] => Array
      (
      [file_gong] => 2_Airport_gong.mp3
      [cachesize] => 1700
      [volumeup] =>
      [volumedown] =>
      [MP3store] => 1
      )

      [LOCATION] => Array
      (
      [googlekey] =>
      [googlestreet] =>
      [googletown] =>
      [town] =>
      [region] =>
      )

      [TTS] => Array
      (
      [messageLang] => de-DE
      [t2s_engine] => 7001
      [volrampto] => 25
      [API-key] =>
      [voice] =>
      [rampto] => AUTOPLAY_RAMP_TYPE
      [secret-key] =>
      )

      [SYSTEM] => Array
      (
      [httpinterface] => http://192.168.1.13:80/plugins/sonos4lox/interfacedownload
      [checkonline] => 1
      [mp3path] => /opt/loxberry/data/plugins/sonos4lox/tts/mp3
      [ttspath] => /opt/loxberry/data/plugins/sonos4lox/tts
      [cifsinterface] => //192.168.1.13:80/plugindata/sonos4lox/interfacedownload
      [path] => /opt/loxberry/data/plugins/sonos4lox
      )

      [VARIOUS] => Array
      (
      [announceradio] =>
      [CALDav2] =>
      [CALDavMuell] =>
      )

      [LOXONE] => Array
      (
      [LoxDaten] =>
      [Loxone] =>
      [LoxPort] =>
      )

      )

      [sonoszone] => Array
      (
      [badezimmer] => Array
      (
      [0] => 192.168.1.61
      [1] => RINCON_949F3E7B095E01400
      [2] => PLAY:1
      [3] => 30
      [4] => 10
      [5] => 100
      )

      [wohnen] => Array
      (
      [0] => 192.168.1.62
      [1] => RINCON_949F3E50821C01400
      [2] => PLAY:5
      [3] => 30
      [4] => 10
      [5] => 100
      )

      )

      [master] => badezimmer
      [ms] => Array
      (
      [1] => Array
      (
      [Name] => DEFH_Fahrweidstrasse_91
      [IPAddress] => 192.168.1.11
      [Admin] => admin
      [Pass] => xxxxxx
      [Credentials] => admin: xxxxxx
      [Note] =>
      [Port] => 80
      [UseCloudDNS] => 0
      [CloudURLFTPPort] =>
      [CloudURL] =>
      [Admin_RAW] => admin
      [Pass_RAW] => xxxxxx
      [Credentials_RAW] => admin: xxxxxx
      [SecureGateway] => 0
      [EncryptResponse] => 0
      )

      )

      [tmp_tts] => /run/shm/tmp_tts
      )

      [path] => /opt/loxberry/webfrontend/html/plugins/sonos4lox/Play_T2S.php
      [message] => Notice (8): Undefined index: in [/opt/loxberry/webfrontend/html/plugins/sonos4lox/Play_T2S.php, line 741]
      )
      18:13:15.398 WARNING: Something went wrong with T2S. Fallback scenario set virtual textinbound to 0
      PHP finished
      15.01.2019 18:13:15 TASK FINISHED
      ================================================== ==============================

      Kommentar

      • Liver_64
        MS Profi
        • 07.09.2015
        • 600

        #6
        Hey Simon,
        so wie es aussieht hast du nicht das letzte Release sondern den Master installiert, anders ließe sich das Problem nicht erklären. Der Master spiegelt meinen gegenwärtigen Entwicklungsstatus wider und ist nicht getestet. Abgesehen davon stimmt mit deiner Plugin Konfiguration etwas nicht, für den Bereich Miniserver ist alles leer und das kann nur sein wenn du die Config nach der Installation nicht gespeichert hast.

        Um das ganze jetzt zu korrigieren bitte installiere den Master:

        und speichere 1x deine Config ab.

        Nichts desto trotz zweifele ich an das dein Problem damit gelöst ist da der Feher nur ein Hinweis war.
        Gruß Olli

        Anmerkung: Bitte keine Fragen mehr per PN sondern direkt im Forum damit andere mithelfen und mitprofitieren können.
        Bzgl. Sonos Plugin supporte ich nur noch die jeweils aktuelle Version NUR auf dem LoxBerry, ich kann keine VM Unterstützung mangels Hardware geben. Herzlichen Dank!

        Kommentar

        • Gast

          #7
          Hallo Olli

          Vielen herzlichen Dank für Deine Unterstützung. Leider funktioniert mit dem empfohlenen Master nun überhaupt nichts mehr. Auch die Konfiguration des Miniservers brachte keine Besserung mit sich. Wenn ich z.B. den Befehl "192.168.1.13/plugins/sonos4lox/index.php?zone=badezimmer&action=sendmessage&messa geid=11&volume=15" im Browser eingebe, kriege ich sofort die Fehlermeldung "
          Diese Seite funktioniert nicht 192.168.1.13 kann diese Anfrage momentan nicht verarbeiten. HTTP ERROR 500"

          Diagnose-Befehle wie z.B. "http://192.168.1.13/plugins/sonos4lox/index.php/?zone=badezimmer&action=getzoneinfo" funktionieren hingegen einwandfrei.

          Gruss Simon
          Zuletzt geändert von Gast; 15.01.2019, 22:24.

          Kommentar

          • Gast

            #8
            Jetzt habe ich meine beiden Sonos-Speaker aus dem Controller entfern und wieder neu angemeldet. Jetzt tut sich wieder was. Die ersten paar Mp3 wurden komplett abgespielt. Nach ca. 5-6 Aufrufen werden die Mp3 kurz nach dem Start aber wieder abgebrochen. Könnte das Problem unter Umständen an der Hardware des Raspberry Pi liegen?

            Kommentar

            Lädt...