Beiträge von AlpineSkate

    Raspberry PI, Libreelec 11.0.6 und Zattoohiq 3.0.62+Matrix-Plugin
    Ich hatte ein Problem mit Zattoohiq, unabhängig von der Libreelec-Version, bei dem ich gelegentlich einen "403 Forbidden"-Fehler erhielt, wenn ich versuchte, Zattoohiq zu starten. Ich habe dieses Problem zunächst gelöst, indem ich eine saubere Deinstallation durchgeführt habe, libreelec heruntergefahren habe, libreelec gestartet habe und Zattoohiq installiert habe. Schließlich fand ich heraus, dass ich dieses Problem lösen konnte, indem ich mich per SSH anmeldete und den Befehl "rm /storage/.kodi/userdata/addon_data/plugin.video.zattoo_hiq/*.cache" ausführte. Ich hoffe nun, dass das Problem nicht wieder auftritt, da ich "rm /storage/.kodi/userdata/addon_data/plugin.video.zattoo_hiq/*.cache" in das libreelec autostart.sh Skript eingebaut habe.
    Können Sie dies dauerhaft beheben, so dass ich keinen Workaround implementieren muss?

    Ich kann den alternativen Audiostream nicht auswählen, wenn ich ein Zweikanalton Sendung mit dem Stream-Typ HLS anschaue. Ich habe keine Probleme, wenn der Stream-Typ "dash" oder "dash_widevine" ist, aber Leider ist mit "dash_widevine" und "dash" die Video schlecht. Gibt es einen Grund, warum ich den Audiostream für HLS nicht dynamisch auswählen kann?


    Setup: Pi3, Libreelec 9.0.1

    It's probably been reported but I couldn't find it on the Forum:

    I'm using ZattooHIQ 1.6.7.3 on OSMC (latest release) and I cannot look at my recordings and told to look at the error [definition='1','0']log[/definition]. The Error [definition='1','0']log[/definition]:

    16:46:04.349 T:1506800384 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
    Error Type: <type 'exceptions.UnboundLocalError'>
    Error Contents: local variable 'label' referenced before assignment
    Traceback (most recent call last):
    File "/home/osmc/.kodi/addons/plugin.video.zattooHiQ/plugin.py", line 1492, in <module>
    main()
    File "/home/osmc/.kodi/addons/plugin.video.zattooHiQ/plugin.py", line 1383, in main
    elif action == 'recordings': build_recordingsList(addon_uri, addon_handle)
    File "/home/osmc/.kodi/addons/plugin.video.zattooHiQ/plugin.py", line 455, in build_recordingsLis
    label+='[COLOR '+color+']'+record['title']+'[/COLOR]'
    UnboundLocalError: local variable 'label' referenced before assignment
    -->End of Python script error report<--

    The fix was straightforward. I just initialised the variable "label" with - label='' in "/home/osmc/.kodi/addons/plugin.video.zattooHiQ/plugin.py"

    Code snippet:
    for record in resultData['recordings']:
    showInfo=_zattooDB_.getShowInfo(record['program_id'])
    #mark if show is future, running or finished
    start = int(time.mktime(time.strptime(record['start'], "%Y-%m-%dT%H:%M:%SZ"))) + _timezone_ # local timestamp
    end = int(time.mktime(time.strptime(record['end'], "%Y-%m-%dT%H:%M:%SZ"))) + _timezone_ # local timestamp
    position = int(time.mktime(time.strptime(record['position'], "%Y-%m-%dT%H:%M:%SZ"))) + _timezone_ # local timestamp
    now = time.time()
    duration = end - start
    color='red'
    label=''