Giter Club home page Giter Club logo

Comments (6)

MisterD81 avatar MisterD81 commented on July 20, 2024

I have the same issue on Windows and LibreElec RPi. But I was not able to reproduce it on Linux x64. So I took a look at it and the issue is from my understanding not in the YT addon. The license expires after 5 minutes and inputstream.adaptive is not renewing the license.
I could see in the EME logger that CDM is triggering this event, but it was not triggered in inputstream.adaptive. I managed to modify inputstream.adaptive so that also there the license renewal is triggered, since the main code was already there but commented out. After that for me the playback worked.
If I find the time the next days I will create a PR for inputstream.adaptive.

from plugin.video.youtube.

MartChic avatar MartChic commented on July 20, 2024

Great! Could you tell which lines need to be commented out?

from plugin.video.youtube.

MisterD81 avatar MisterD81 commented on July 20, 2024

In inputstream.adaptive addon you need to find the file:

  1. wvdecrypter/cdm/media/cdm/cdm_adapter.cc
  2. wvdecrypter/wvdecrypter.cpp

In both files there are lines that start with: "//LICENSERENEWAL: ". If you remove this part and compile the addon the playback started to work for me. But when you stop the playback Kodi will crash. There are some more additions required so that Kodi does not crash.
I still need to some more testing before I can create the PR.

from plugin.video.youtube.

MisterD81 avatar MisterD81 commented on July 20, 2024

Finally I was able to test the changes successfully on the "production" system at home. Therefor I have created the two PRs for Matrix and Leia.

from plugin.video.youtube.

MartChic avatar MartChic commented on July 20, 2024

Did you fix the crash on stop issue?

from plugin.video.youtube.

MisterD81 avatar MisterD81 commented on July 20, 2024

Yes. There are some additions as mentioned previously required so that every is cleaned when playback stops.

from plugin.video.youtube.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.