File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -236,9 +236,9 @@ def _supports_hls(self):
236
236
self ._log ('HLS is not supported on {0} version {1}' .format (self ._inputstream_addon , self ._inputstream_version ()))
237
237
return False
238
238
239
- def _check_for_drm (self ):
239
+ def _check_drm (self ):
240
240
"""Main function for ensuring that specified DRM system is installed and available."""
241
- if self .drm :
241
+ if self .drm and self . _inputstream_addon == 'inputstream.adaptive' :
242
242
if self .drm == 'widevine' :
243
243
if not self ._supports_widevine ():
244
244
return False
@@ -271,4 +271,4 @@ def check_inputstream(self):
271
271
return False
272
272
273
273
self ._log ('{0} is installed and enabled.' .format (self ._inputstream_addon ))
274
- return self ._check_for_drm ()
274
+ return self ._check_drm ()
You can’t perform that action at this time.
0 commit comments