New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Widevine failing on VMP_VALIDATION_FAILED #397
Comments
Looks like I'm not correctly encoding the headers as "Cookie=" entry should do the trick :( |
Ok, I was indeed incorrectly quoting my headers (removed the quote_plus call).
|
You should indeed be quoting the cookie value. Check the header output of your script vs. the headers in a browser, perhaps try quote instead of quote_plus. |
Thanks for the tips and shame on me, some token contains '+' and '=' which where converted to space with quote_plus.
This output should sounds better to you but even by reading the doc, I'm not in a situation to understand what should exactly base64 encoded by me.
Finally, my apologies for bother you with these questions, looks like there is no bug nor improvment for inpustream.adaptive on this ticket. Tell me if you prefer having such kind of questions in another place. |
ok,
in the debug browser, one difference is on the key in parenthesis for the music agent, this change from time to time and I still not understood the logic behind... Will check on the JScripts, but maybe this error sound to you and I shall looks elsewhere... |
Sandmann79/xbmc#294, sounds like the requesting executable is checked |
Wow indeed thanks for pointing that to me. Was Trying to contribute for pitpompej/kodi_plugins#22 |
Hi there,
Can you confirm ? |
Can you attach the manifest? If it's HLS also one of the variant streams |
item parameters:
MPD manifest: test with license_type com.microsoft.playready
Post-data json and license scheme:
with "Jlicense" as license scheme, I get
|
base64 decoding content of the mspr:pro tag in the manifest give WRM Header
but setting license_type to com.microsoft.playready and removing license_key param gives:
but in this case, the widevine request for getting license is not performed and I can see this request performed twice in chrome. |
I have similar issues with the license challenge and I'm happy to see your progress. You are a step ahead to me. |
There are also XHR which I considered to not implement because of the manifest already got and thought linked to the internal HTML5 player to start playing:
Shall I? |
I think you shoud stick to widevine, playready isn't supported on most platforms. Have you tried testing on a platform other than Android? Also can you upload a full debug log, not just a snippet? There might be an issue we can't see |
will do for the full debug, need to cleanup a bit my dirty logs before :). |
I was able to receive the license and to play the songs via inputstream.
|
Nice! |
Please note I also removed the "" for the csrf information. It looks similar but it is different, at least compared to the first post. The JSON part is the same like yours, no quotes. |
I had already fixed the quote issue on the headers for csrf info, I'm in the same situation as yours |
Attached the log, I clearly see that the widevine challenge got the license license. |
You are right, it looks good. I see some differences...I do not have the following defined:
|
On which platform are you ? |
I'm on Kodi 18.6 on Ubuntu 18.04. and 19.x, all 64 Bit x86 systems. |
Ok, will test on my ubuntu box 19.10 my piece of code. |
ok, I've got an FR account, so I can't test it now. Didn't yet check your code but quite easy to extend to other countries. Look like you started from the same origin as mine. :) |
Was wrong, you did not start from any origin but inspiration |
Nice to hear and love to help. |
Hello,
in a configuration where I have to produce a license for a widevine encrypted DRM based stream.
The server is asking for cookies with the licURL post request, giving me error 400
Some tokens are provided in the headers, others are in the POST_DATA field of the license_key property but others should also be provided by cookies.
Tried to embed the cookies data into header or post_data with no luck.
Far from being an expert on these topics, google did not help me so much.
header are in the form
body in the form
Curl in debug mode from kodi:
with a web browser in debug mode, I can see requests similar but with the cookie which make the difference.
Would love to know if ther is a way to embed the cookie data in the header or post_data field of the license_key property.
Thanks for your attention
Please note that it looks to me nothing illegal there as a valid prime member, my goal is just to be able to listen my music through my loved kodi app :)
The text was updated successfully, but these errors were encountered: