Skip to content
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

Suggestion/request to information screen #248

Closed
CastagnaIT opened this issue Jan 15, 2020 · 7 comments
Closed

Suggestion/request to information screen #248

CastagnaIT opened this issue Jan 15, 2020 · 7 comments
Labels
android Related to Android enhancement

Comments

@CastagnaIT
Copy link

Many, many, many people do not understand that on android you can not get the Widevine version with ISHelper
They read "Not found" and most of the time always think the component is missing.

I'm really tired of saying the same thing to every new person who comes in...

image

I suggest adding a variable to identify the execution on Android system
and add a new line of information such as:
- Widevine package: Embedded [on android] / Installed [to others] / Not installed

And for this line:
- Widevine version: N° of version
make it non-visible on android system

this would make it easier for everyone to understand and read the info data

@dagwieers
Copy link
Collaborator

dagwieers commented Jan 15, 2020

This is already fixed in the master branch (#208), but we haven't released it yet.

@CastagnaIT
Copy link
Author

oh luckily, well
thanks!

@dagwieers
Copy link
Collaborator

Given that we did this in October 2019, maybe we ought to consider making a new v0.5.0 release?

@dagwieers
Copy link
Collaborator

I would also like to query the library to get the version from it directly, rather than grep for a pattern.

@dagwieers dagwieers added enhancement android Related to Android labels Jan 15, 2020
@CastagnaIT
Copy link
Author

you can try to get the android widevine version in in this way:

create a instance of xbmcdrm.CryptoSession, then get the "version" string

look at android_crypto.py in CastagnaIT/plugin.video.netflix#438

@dagwieers
Copy link
Collaborator

@CastagnaIT It doesn't seem to work, every key I ask for is empty. At least on a Raspberry Pi.

@dagwieers
Copy link
Collaborator

This works to get the version on Linux:

from ctypes import *
_widevine_lib = cdll.LoadLibrary('libwidevinecdm.so')
get_cdm_version = _widevine_lib.GetCdmVersion
get_cdm_version.restype = c_char_p
print('Widevine version: %s' % get_cdm_version())

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android Related to Android enhancement
Projects
None yet
Development

No branches or pull requests

2 participants