Beiträge von hrickes

    @68000a

    Windows -> Kodi v19.1 Matrix
    libmediathek3 1.5.28.1
    libard 5.1.29
    ARD Mediathek 5.1.5
    libzdf 2.1.20
    ZDF Mediathek 4.1.6


    ich bekomme aktuell beim Aufruf der ARD bzw. ZDF Mediathek folgende Fehlermeldung


    2021-05-25 12:40:11.540 T:11084 ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
    Error Type: <class 'TypeError'>
    Error Contents: object of type 'map' has no len()
    Traceback (most recent call last):
    File "C:\Users\hrickes\AppData\Roaming\Kodi\addons\plugin.video.ardmediathek_de\default.py", line 4, in <module>
    libard.list()
    File "C:\Users\hrickes\AppData\Roaming\Kodi\addons\script.module.libard\lib\libard.py", line 26, in list
    return libMediathek.list(allModes, 'libArdListCombined', *allPlayModes)
    File "C:\Users\hrickes\AppData\Roaming\Kodi\addons\script.module.libmediathek3\lib\libmediathek3listing.py", line 221, in list
    addEntries(res)
    File "C:\Users\hrickes\AppData\Roaming\Kodi\addons\script.module.libmediathek3\lib\libmediathek3listing.py", line 128, in addEntries
    if len(l) > 0:
    TypeError: object of type 'map' has no len()
    -->End of Python script error report<--


    2021-05-25 12:40:15.578 T:8492 ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
    Error Type: <class 'TypeError'>
    Error Contents: object of type 'map' has no len()
    Traceback (most recent call last):
    File "C:\Users\hrickes\AppData\Roaming\Kodi\addons\plugin.video.zdf_de_lite\default.py", line 5, in <module>
    libzdf.list()
    File "C:\Users\hrickes\AppData\Roaming\Kodi\addons\script.module.libzdf\lib\libzdf.py", line 22, in list
    return libMediathek.list(allModes, 'libZdfListCombined', *allPlayModes)
    File "C:\Users\hrickes\AppData\Roaming\Kodi\addons\script.module.libmediathek3\lib\libmediathek3listing.py", line 221, in list
    addEntries(res)
    File "C:\Users\hrickes\AppData\Roaming\Kodi\addons\script.module.libmediathek3\lib\libmediathek3listing.py", line 128, in addEntries
    if len(l) > 0:
    TypeError: object of type 'map' has no len()
    -->End of Python script error report<--

    Hallo @fayer3,

    wenn live_preview_for_icon aktiviert ist erscheint bei Auswahl von "Live TV" folgende Fehlermeldung:

    2020-03-18 16:49:09.663 T:1296 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
    .....
    File "C:\Users\hrickes\AppData\Roaming\Kodi\addons\plugin.video.joyn_app\resources\lib\plugin.py", line 244, in show_fetch
    add_livestreams();
    File "C:\Users\hrickes\AppData\Roaming\Kodi\addons\plugin.video.joyn_app\resources\lib\plugin.py", line 449, in add_livestreams
    if image['subType'] == 'LIVE_STILL':
    KeyError: 'subType'
    -->End of Python script error report<--


    Durch Änderung der Zeile 449 in der Datei plugin.py funktioniert es wieder.
    if image['type'] == 'LIVE_STILL':

    der einzige Unterschied den ich zwischen Windows und libreelec bzw. android entdeckt habe, ist die ausgehandelte HTTP Version mit dem Lizensserver. Windows nutzt HTTP/1.1, libreelec und android HTTP/2.0.

    Ich verwende kodi 18.3 und inputstream 2.3.22.2.
    Livetv Streams funktionieren nur VOD nicht.


    gleiches Problem auch auf dem FireTV4k mit Kodi 18.3

    Das Problem lässt sich durch ändern der Datei plugin.py in Zeile 462

    playitem.setProperty('inputstream.adaptive.license_key', video_data['licenseUrl'] +"|User-Agent=vvs-native-android/1.0.10 (Linux;Android 7.1.1) ExoPlayerLib/2.8.1&Content-Type=application/octet-stream" +'|R{SSM}|')

    beseitigen.

    Die offizielle App muss man ja nicht auslesen. Die Webversion nutzt auch die API von Joyn.
    Eine GUI habe ich relativ schnell fertig bekommen. Jedoch komme ich nicht dahinter, wie ich es schaffe, dass die Streams starten.


    Das inputstream.adaptive Addon von peak3d kommt mit dem neuen MPD Format von Joyn nicht zurecht.

    Testen kann man dies mit folgenden Dateien.
    p7s1-serie.strm.txt pro7-live.strm.txt

    In Google Shaka Player funktioniert dies ohne Probleme (allerdings mit Werbung).

    ich bin bei der Fehlersuche noch ein Stück weiter gekommen.

    Wenn man in der MPD (Media Presentation Description) den type von "dynamic" (Live) auf "static" (VOD) ändert, werden Video und Audio problemlos abgespielt. Die Laufzeit des Streams beträgt ca. 14 Minuten was mit der Anzahl und Länge der einzelnen Segmenten zusammenhängt.

    Orginal:
    <MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:cenc="urn:mpeg:cenc:2013" xmlns:mspr="urn:microsoft:playready" xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 https://standards.iso.org/ittf/PubliclyA…es/DASH-MPD.xsd" type="dynamic" availabilityStartTime="1970-01-01T00:00:00Z" publishTime="2019-02-08T20:57:03.939210739+01:00" minimumUpdatePeriod="PT6S" timeShiftBufferDepth="PT882S" maxSegmentDuration="PT7S" minBufferTime="PT20S" profiles="urn:mpeg:dash:profile:isoff-live:2011,urn:com:dashif:dash264" suggestedPresentationDelay="PT25S">

    geändert:
    <MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:cenc="urn:mpeg:cenc:2013" xmlns:mspr="urn:microsoft:playready" xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 https://standards.iso.org/ittf/PubliclyA…es/DASH-MPD.xsd" type="static" availabilityStartTime="1970-01-01T00:00:00Z" publishTime="2019-02-08T21:08:12.718369831+01:00" minimumUpdatePeriod="PT6S" timeShiftBufferDepth="PT882S" maxSegmentDuration="PT7S" minBufferTime="PT20S" profiles="urn:mpeg:dash:profile:isoff-live:2011,urn:com:dashif:dash264" suggestedPresentationDelay="PT25S">


    Wenn man bei einem VOD Stream den type auf "dynamic" ändert, verschwindet der Ton nach ein paar Sekunden.

    Habe z.Zt. das Problem das der Ton nach ein paar Sekunden verschwindet.

    Das Problem liegt an Inputstream Adaptive. Es wird nach ein paar Sekunden versucht ein falsches Audio Segment zu laden. Bei kabel eins wird von der richtigen Segmentnummer 1 subtrahiert, bei den anderen Sendern 1 addiert.

    22:48:27.419 T:5404 ERROR: AddOnLog: InputStream Adaptive: Download https://psdlv001-a.akamaihd.net/0d8f8d9c/t_001…32740159999.m4s failed with error: 404
    22:48:34.843 T:10000 ERROR: Previous line repeats 6 times.
    22:48:34.843 T:10000 NOTICE: CVideoPlayerAudio::Process - stream stalled
    22:48:35.389 T:5404 ERROR: AddOnLog: InputStream Adaptive: Download https://psdlv001-a.akamaihd.net/0d8f8d9c/t_001…32740159999.m4s failed with error: 404
    22:48:38.774 T:1456 ERROR: Previous line repeats 3 times.

    Richtig wäre: https://psdlv001-a.akamaihd.net/0d8f8d9c/t_001…32740160000.m4s

    22:45:07.441 T:2380 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
    22:45:14.188 T:1688 ERROR: Previous line repeats 1 times.
    22:45:14.188 T:1688 ERROR: AddOnLog: InputStream Adaptive: Download https://psdlv001-a.akamaihd.net/d9f5c007/t_001…30820000001.m4s failed with error: 404
    22:45:21.395 T:2380 ERROR: Previous line repeats 6 times.
    22:45:21.395 T:2380 NOTICE: CVideoPlayerAudio::Process - stream stalled
    22:45:22.258 T:1688 ERROR: AddOnLog: InputStream Adaptive: Download https://psdlv001-a.akamaihd.net/d9f5c007/t_001…30820000001.m4s failed with error: 404
    22:45:25.668 T:1456 ERROR: Previous line repeats 3 times.

    Richtig wäre: https://psdlv001-a.akamaihd.net/d9f5c007/t_001…30820000000.m4s

    Wenn man die Segmentnummer durch, ich nenne es mal einen Proxy-Server, korrigiert wird der Ton problemlos abgespielt.

    näheres dazu im proxy.[definition='1','0']log[/definition]