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 88114ed commit 77b6d7aCopy full SHA for 77b6d7a
lib/inputstreamhelper.py
@@ -62,11 +62,11 @@ def _inputstream_version(self):
62
return addon.getAddonInfo('version')
63
64
def _has_widevine_cdm(self):
65
- if not xbmcvfs.exists(self._cdm_path()):
66
- xbmcvfs.mkdir(self._cdm_path())
67
if xbmc.getCondVisibility('system.platform.android'): # widevine is built in on android
68
return True
69
else:
+ if not xbmcvfs.exists(self._cdm_path()):
+ xbmcvfs.mkdir(self._cdm_path())
70
for filename in os.listdir(self._cdm_path()):
71
if 'widevine' in filename and filename.endswith(config.WIDEVINE_CDM_EXTENSIONS):
72
self._log('Found Widevine binary at {0}'.format(os.path.join(self._cdm_path(), filename)))
0 commit comments