Comments (6)
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.
Great! Could you tell which lines need to be commented out?
from plugin.video.youtube.
In inputstream.adaptive addon you need to find the file:
- wvdecrypter/cdm/media/cdm/cdm_adapter.cc
- 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.
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.
Did you fix the crash on stop issue?
from plugin.video.youtube.
Yes. There are some additions as mentioned previously required so that every is cleaned when playback stops.
from plugin.video.youtube.
Related Issues (20)
- Some videos play with incorrect audio sync
- Viewtype option is not persisted between pages HOT 5
- Color issues when viewing mpeg-dash vp9 videos on my S10+
- Does it display ads? Can I connect my phone? HOT 3
- Message "No stream found" even latest version of plugin HOT 2
- 6.8.21 - Element/video for page Value - Is value it's not anymore available from addon settings... HOT 4
- 6.8.21 - exception on exiting the addon HOT 4
- 'My Subscriptions' fails to load and causes error in 6.8.21 HOT 15
- v6.8.21 disabled Watched status reporting (possibly accidentally) HOT 2
- Allow playback of content with "other-than-age-gate" restrictions HOT 4
- Needs new and updated instructions: please and thank you HOT 2
- Icons not red anymore HOT 6
- Playback history still not working HOT 1
- Wrongly saved client_id in api_keys.json file
- Skip sponsor segments in YouTube videos (SponsorBlock) HOT 1
- Add filter to allow filter already watched videos
- Codec: add AV1 support HOT 1
- 'My Subscriptions' fails to load and causes error in 6.8.24 HOT 14
- All videos fail with "The following content is not available on this app." HOT 43
- Configuration page http_server should treat URLs as case-insensitive HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plugin.video.youtube.