We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0427d8a commit 468512bCopy full SHA for 468512b
lib/inputstreamhelper.py
@@ -39,6 +39,14 @@ def _cdm_path(self):
39
addon = xbmcaddon.Addon('inputstream.adaptive')
40
return xbmc.translatePath(addon.getSetting('DECRYPTERPATH'))
41
42
+ def _kodi_version(self):
43
+ version = xbmc.getInfoLabel('System.BuildVersion')
44
+ return version.split(' ')[0]
45
+
46
+ def _inputstream_version(self):
47
+ addon = xbmcaddon.Addon(self._inputstream_addon)
48
+ return addon.getAddonInfo('version')
49
50
def has_widevine_cdm(self):
51
if xbmc.getCondVisibility('system.platform.android'): # widevine is built in on android
52
return True
0 commit comments