Skip to content

Commit b86f105

Browse files
Bug fix (widevine_eula changes _url)
1 parent 4fc3f3f commit b86f105

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/inputstreamhelper.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,6 @@ def _install_widevine_cdm_x86(self):
341341
def _install_widevine_cdm_arm(self):
342342
dialog = xbmcgui.Dialog()
343343
download_dict = self._parse_chromeos_recovery_conf()
344-
self._url = download_dict['url']
345-
346344
if dialog.yesno(self._language(30001), self._language(30002)) and dialog.yesno(self._language(30001), self._language(30006).format(self.sizeof_fmt(download_dict['required_diskspace']))) and self._widevine_eula():
347345
if self._os != 'Linux':
348346
dialog.ok(self._language(30004), self._language(30019).format(self._os))
@@ -360,6 +358,7 @@ def _install_widevine_cdm_arm(self):
360358
dialog.ok(self._language(30004), self._language(30021).format('losetup'))
361359
return False
362360

361+
self._url = download_dict['url']
363362
downloaded = self._http_request(download=True, message=self._language(30022))
364363
if downloaded:
365364
dialog.ok(self._language(30023), self._language(30024))

0 commit comments

Comments
 (0)