[Eingestellt] Zattoo PVR Client für Kodi 17

  • Von der 16er auf 17er Version hat er sich beim Update aufgehangen und dann Kodi neu gestartet, danach Kodi Bootloop.
    Während er so vor sich hin gebootet hat, per FTP die cookies.dat gelöscht und schon lief wieder alles perfekt und zuverlässig.
    (RPi3 mit aktuellem Milhouse)

  • Nein, @tosa1965 ändern kann man dies bis jetzt noch nicht, dafür fehlt noch ein PR im Kodi Git, wir hoffen der kommt schnell.

    Windows sieht Kodi Binary Dlls als System Dlls an und gibt die normal nicht frei, wenn es mal geht war die Dll zur Laufzeit nicht geladen, kannst du auch im Log beobachten.

    Hauptsache man hat Spaß

    No Debug.log, no issue - Kein Support ohne Debug-log.

    CCR, The Band, Lynyrd Skynyrd, Led Zeppelin, Deep Purple .......

    I’m not going to complain that 2day they don’t make music like this anymore, I’m just grateful that it got made period.

  • Nein, @tosa1965 ändern kann man dies bis jetzt noch nicht, dafür fehlt noch ein PR im Kodi Git, wir hoffen der kommt schnell.

    Windows sieht Kodi Binary Dlls als System Dlls an und gibt die normal nicht frei, wenn es mal geht war die Dll zur Laufzeit nicht geladen, kannst du auch im Log beobachten.

    Man kann also sagen, dass es ein WIN32 Problem ist? OK, das reicht mir. Dann schreib ich da mal kurz etwas in meinem sammelthread drüber. Danke erst mal...

    Wss ist ein "PR im Kodi Git"?

  • Wss ist ein "PR im Kodi Git"?

    PR steht für Pull Request, und bedeutet einfach gesagt, jemand schlägt eine Änderung oder Verbesserung am Kodi

    Source Code vor, mit eindeutiger Beschreibung, was dort geändert werden soll und reicht dieses im Kodi Git ein,

    dann beraten die Kodi Git Götter über das für und wieder des PRs und je nach Gusto landet der PR im Source Code

    oder auch nicht.

    Der Fehler betrifft nur die Win32 Plattform, mapfau hat den PR schon im Juli eingereicht, doch bis jetzt ist da noch nichts im Code gelandet,

    leider.

    Hauptsache man hat Spaß

    No Debug.log, no issue - Kein Support ohne Debug-log.

    CCR, The Band, Lynyrd Skynyrd, Led Zeppelin, Deep Purple .......

    I’m not going to complain that 2day they don’t make music like this anymore, I’m just grateful that it got made period.

  • The main problem is the "ERROR: Open - Unhandled exception" that are present almost every time the epg update thread is launched. I think those errors are caused by the responses with status code 0 from zattoo. With C++ Request I can handle them easily by pausing the addon for 100ms before retrying to make the request. I think with Kodi CURL it's possible to handle them with a try/catch but I don't know what to catch.
    I can also handle responses with status code 403 and send again an session/hello request to renew the session.

    With your implementation if the session expire it will not be renewed until you restart the addon and if you use a raspberry pi you let it on 24/24h because it's not convenient to unplug it from the power and plug it in again to make it start.

    I have also noticed that in the cookies.dat of Kodi curl there is only the "beaker.session.id" session cookie but it's the "pzuid" cookie which keep the session really alive in zattoo.

    loadAppId() will also always fail after the first launch because Zattoo doesn't send the appToken if there is the "beaker.session.id" cookie in the request but Kodi curl alway send it.

    Status code 0 is not a real http status. I guest it simply means that the URL could not be requested due to some Error. Simply re-trying is not the solution there as you might get into an infinite loop. Its better to find the root cause. Its difficult for me to analyze this problem as I am not affected by it. Could you try to find out what is causing this?

    To renew the session after a 403 is a good idea. I will look into this. That should already be possible with the CURL of Kodi.

    I need to have a look in the pzuid case. It could be that Kodi does store it only in-memory as it should not be re-used cross restart.

    The problem with the loadAppId is also correct. This was causing a lot of login problems. My solution there was to store the appToken and reuse that one if the first call to the Zattoo page does not provide a new one. Actually I do not really like this solution but I did not find a better one.

  • Der Fehler betrifft nur die Win32 Plattform, mapfau hat den PR schon im Juli eingereicht, doch bis jetzt ist da noch nichts im Code gelandet,

    leider.

    OK, erstmal Danke für die erklärung...
    Ja, das ist blöd... Warum lassen die sich soooviel zeit dafür?
    Wenn ich das richtig verstanden habe, reichen die PRster den Code doch gleich mit, oder?

  • Der muss ja geliefert werden, doch wenn jeder PR im GIT landen würde, wäre Kodi schon lange kaputt. Die Main Devs haben immer das letzte Wort.

    Hauptsache man hat Spaß

    No Debug.log, no issue - Kein Support ohne Debug-log.

    CCR, The Band, Lynyrd Skynyrd, Led Zeppelin, Deep Purple .......

    I’m not going to complain that 2day they don’t make music like this anymore, I’m just grateful that it got made period.

  • Bei mir funktioniert das Addon nicht mehr seit ich den RPi neu aufgesetzt habe. Jetzt habe ich es am PC versucht, und es hat auch nicht funktoniert. Wenn ich aber versuche über den Browser Zattoo zu schauen geht es. Ich habe das Addon immer instaliert, die Anmeldedaten eingegeben und direkt den TV aktiviert. Dann kam immer beim nächsten start der Fehler:

    PVR-Clients: Zattoo PVR Client
    Für mehr Details Logdatei einsehen.
    Das Addon kann nicht geladen werden.
    Ein unbekannter Fehler ist aufgetreten.
    Can't load DLL

    11:15:20 T:7648 NOTICE: PVRManager - starting up
    11:15:20 T:6264 NOTICE: initialize done
    11:15:20 T:7668 ERROR: Win32DllLoader::Load: Failed to load "C:\Users\silas\AppData\Roaming\Kodi\addons\pvr.zattoo\pvr.zattoo.dll" with error 126: "Das angegebene Modul wurde nicht gefunden. "
    11:15:20 T:7668 WARNING: PVR::CPVRClients::UpdateAndInitialiseClients - failed to create add-on Zattoo PVR Client, status = 6
    11:15:20 T:7668 WARNING: PVR::CPVRClients::UpdateAndInitialiseClients - failed to load the dll for add-on Zattoo PVR Client, disabling it

  • @superfit00 ist hier im Thread ab 639 alles schon beschrieben, folge ihm bis 648,

    dann hast du deine Antwort.

    Hauptsache man hat Spaß

    No Debug.log, no issue - Kein Support ohne Debug-log.

    CCR, The Band, Lynyrd Skynyrd, Led Zeppelin, Deep Purple .......

    I’m not going to complain that 2day they don’t make music like this anymore, I’m just grateful that it got made period.

  • Hallo zusammen,erstmal vielen, vielen Dank für das super Addon. Zattoo Extended Beta hat so seine Aussetzer und wird ja leider nicht weiter entwickelt.
    Auch fügt sich dieses Addon sehr viel besser in Kodi ein (dank Live-TV) - und ist mit Yatse (Android) der Hammer schlechthin.

    Aber:
    Ich nutze Jarvis auf LibreElec. Nun sehe ich gerade, dass die Version für Jarvis noch 0.0.3 ist, aber es schon 0.1.7 gibt.
    Wäre es möglich, dass jemand diese Version auch für Jarvis zur Verfügung stellst? Die 0.0.3 ist noch sehr rudimentär (ohne Aufnahmen etc.) Wäre super.Viele Grüße

  • Hallo zusammen,erstmal vielen, vielen Dank für das super Addon. Zattoo Extended Beta hat so seine Aussetzer und wird ja leider nicht weiter entwickelt.
    Auch fügt sich dieses Addon sehr viel besser in Kodi ein (dank Live-TV) - und ist mit Yatse (Android) der Hammer schlechthin.

    Aber:
    Ich nutze Jarvis auf LibreElec. Nun sehe ich gerade, dass die Version für Jarvis noch 0.0.3 ist, aber es schon 0.1.7 gibt.
    Wäre es möglich, dass jemand diese Version auch für Jarvis zur Verfügung stellst? Die 0.0.3 ist noch sehr rudimentär (ohne Aufnahmen etc.) Wäre super.Viele Grüße

    Leider nein. Alle Versionen nach 0.0.3 sind nicht mehr kompatibel mit Jarvis.

  • The main problem is the "ERROR: Open - Unhandled exception" that are present almost every time the epg update thread is launched. I think those errors are caused by the responses with status code 0 from zattoo. With C++ Request I can handle them easily by pausing the addon for 100ms before retrying to make the request. I think with Kodi CURL it's possible to handle them with a try/catch but I don't know what to catch.
    I can also handle responses with status code 403 and send again an session/hello request to renew the session.

    With your implementation if the session expire it will not be renewed until you restart the addon and if you use a raspberry pi you let it on 24/24h because it's not convenient to unplug it from the power and plug it in again to make it start.

    I have also noticed that in the cookies.dat of Kodi curl there is only the "beaker.session.id" session cookie but it's the "pzuid" cookie which keep the session really alive in zattoo.

    loadAppId() will also always fail after the first launch because Zattoo doesn't send the appToken if there is the "beaker.session.id" cookie in the request but Kodi curl alway send it.

    Hi aztoc,

    i tried to fix these items using the Kodi CURL implementation. Could you try if the current implementation in my repo (zattoo branch) does work better for you?

  • Bin nun auf Krypton Beta3 und muss @aztoc zustimmen.
    Leider scheint es so als würde ich die Session verlieren, manchmal reicht auch das löschen vom .cookies.dat nicht mehr(muss also mehmals neustarten).

    @vdr.tuxnet: Ich würde gerne mal V18 auf mein RPi3 testen, vielen dank im Voraus!

    19:30:18 215.296524 T:1432351664 NOTICE: Creating InputStream
    19:30:18 215.347183 T:1432351664 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403
    19:30:18 215.347336 T:1432351664 ERROR: CCurlFile::Open failed with code 403 for http://zattoo.com/zapi/watch|acceptencoding=gzi
    p&postdata=Y2lkPURFX2FydGUmc3RyZWFtX3R5cGU9aGxzJmZvcm1hdD1qc29u
    19:30:18 215.347473 T:1432351664 ERROR: Open - failed to open source <http://zattoo.com/zapi/watch|acceptencoding=gzip&postdata=
    Y2lkPURFX2FydGUmc3RyZWFtX3R5cGU9aGxzJmZvcm1hdD1qc29u>
    19:30:18 215.347549 T:1432351664 ERROR: Read - sanity failed. no cache strategy!
    19:30:18 215.347900 T:1432351664 ERROR: CDVDInputStreamPVRManager::Open - error opening []
    19:30:18 215.348007 T:1432351664 ERROR: CVideoPlayer::OpenInputStream - error opening [pvr://channels/tv/All channels/pvr.zattoo
    _442127252.pvr]
    19:30:18 215.348038 T:1432351664 NOTICE: CVideoPlayer::OnExit()
    19:30:18 215.373581 T:1960210432 NOTICE: CVideoPlayer::CloseFile()
    19:30:18 215.373703 T:1960210432 NOTICE: VideoPlayer: waiting for threads to exit
    19:30:18 215.373734 T:1960210432 NOTICE: VideoPlayer: finished waiting
    19:30:18 215.373886 T:1960210432 NOTICE: CVideoPlayer::CloseFile()
    19:30:18 215.373917 T:1960210432 NOTICE: VideoPlayer: waiting for threads to exit
    19:30:18 215.373947 T:1960210432 NOTICE: VideoPlayer: finished waiting
    19:30:19 217.245499 T:1960210432 NOTICE: VideoPlayer: Opening: pvr://channels/tv/All channels/pvr.zattoo_1961339.pvr
    19:30:19 217.245667 T:1960210432 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
    19:30:19 217.246231 T:1432351664 NOTICE: Creating InputStream
    19:30:20 217.295059 T:1432351664 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403
    19:30:20 217.295212 T:1432351664 ERROR: CCurlFile::Open failed with code 403 for http://zattoo.com/zapi/watch|acceptencoding=gzi
    p&postdata=Y2lkPTNzYXQmc3RyZWFtX3R5cGU9aGxzJmZvcm1hdD1qc29u
    19:30:20 217.295319 T:1432351664 ERROR: Open - failed to open source <http://zattoo.com/zapi/watch|acceptencoding=gzip&postdata=
    Y2lkPTNzYXQmc3RyZWFtX3R5cGU9aGxzJmZvcm1hdD1qc29u>
    19:30:20 217.295364 T:1432351664 ERROR: Read - sanity failed. no cache strategy!
    19:30:20 217.295639 T:1432351664 ERROR: CDVDInputStreamPVRManager::Open - error opening []
    19:30:20 217.295685 T:1432351664 ERROR: CVideoPlayer::OpenInputStream - error opening [pvr://channels/tv/All channels/pvr.zattoo
    _1961339.pvr]
    19:30:20 217.295715 T:1432351664 NOTICE: CVideoPlayer::OnExit()
    19:30:20 217.330734 T:1960210432 NOTICE: CVideoPlayer::CloseFile()
    19:30:20 217.330872 T:1960210432 NOTICE: VideoPlayer: waiting for threads to exit
    19:30:20 217.330917 T:1960210432 NOTICE: VideoPlayer: finished waiting
    19:30:20 217.331055 T:1960210432 NOTICE: CVideoPlayer::CloseFile()
    19:30:20 217.331100 T:1960210432 NOTICE: VideoPlayer: waiting for threads to exit
    19:30:20 217.331131 T:1960210432 NOTICE: VideoPlayer: finished waiting

  • --edit--

    Hauptsache man hat Spaß

    No Debug.log, no issue - Kein Support ohne Debug-log.

    CCR, The Band, Lynyrd Skynyrd, Led Zeppelin, Deep Purple .......

    I’m not going to complain that 2day they don’t make music like this anymore, I’m just grateful that it got made period.

    Einmal editiert, zuletzt von vdr.tuxnet (8. Oktober 2016 um 15:48)

  • --edit--

    Hauptsache man hat Spaß

    No Debug.log, no issue - Kein Support ohne Debug-log.

    CCR, The Band, Lynyrd Skynyrd, Led Zeppelin, Deep Purple .......

    I’m not going to complain that 2day they don’t make music like this anymore, I’m just grateful that it got made period.

    Einmal editiert, zuletzt von vdr.tuxnet (8. Oktober 2016 um 15:49)

  • --edit--

    Hauptsache man hat Spaß

    No Debug.log, no issue - Kein Support ohne Debug-log.

    CCR, The Band, Lynyrd Skynyrd, Led Zeppelin, Deep Purple .......

    I’m not going to complain that 2day they don’t make music like this anymore, I’m just grateful that it got made period.

    Einmal editiert, zuletzt von vdr.tuxnet (8. Oktober 2016 um 15:49)

  • Geht leider auch mit V18 nicht.
    Ich kann nun gar nicht mehr TV schauen, die Session geht ständig verloren.

    07:58:58 113.036728 T:1960378368 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403
    07:58:58 113.036842 T:1960378368 ERROR: CCurlFile::Open failed with code 403 for http://zattoo.com/zapi/playlist/remove|acceptencoding=gzip&postdata=cmVjb3JkaW5nX2lkPTY3MTU2ODgw
    07:58:58 113.037010 T:1960378368 ERROR: Open - failed to open source <http://zattoo.com/zapi/playlist/remove|acceptencoding=gzip&postdata=cmVjb3JkaW5nX2lkPTY3MTU2ODgw>
    07:58:58 113.136330 T:1960378368 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403
    07:58:58 113.136528 T:1960378368 ERROR: CCurlFile::Open failed with code 403 for http://zattoo.com/zapi/session/hello|acceptencoding=gzip&postdata=dXVpZD04ODhiNGY1NC1jMTI3LTExZTUtOTkxMi1iYTBiZTA0ODNjMTgmbGFuZz1lbiZmb3JtYXQ9anNvbiZjbGllbnRfYXBwX3Rva2VuPWE4ZjI2YWExMDdhYTE1Njg3ZmUxMTFkZWIzYWQyNWQw
    07:58:58 113.136780 T:1960378368 ERROR: Open - failed to open source <http://zattoo.com/zapi/session/hello|acceptencoding=gzip&postdata=dXVpZD04ODhiNGY1NC1jMTI3LTExZTUtOTkxMi1iYTBiZTA0ODNjMTgmbGFuZz1lbiZmb3JtYXQ9anNvbiZjbGllbnRfYXBwX3Rva2VuPWE4ZjI2YWExMDdhYTE1Njg3ZmUxMTFkZWIzYWQyNWQw>
    07:58:58 113.136909 T:1960378368 ERROR: AddOnLog: Zattoo PVR Client: Open URL failed during init.
    07:58:58 113.136978 T:1960378368 ERROR: AddOnLog: Zattoo PVR Client: Hello failed.
    07:58:58 113.137054 T:1960378368 ERROR: AddOnLog: Zattoo PVR Client: Re-init of session. Failed.
    07:58:58 113.137138 T:1960378368 ERROR: PVR - DeleteRecording - addon 'Zattoo PVR Add-on:connected' returned an error: rejected by the backend
    07:58:58 113.137207 T:1960378368 ERROR: PVR - DeleteRecording - cannot delete recording from client '15870792': rejected by the backend

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!