mirror of
https://github.com/anxdpanic/plugin.video.youtube.git
synced 2026-05-28 06:42:56 -07:00
Change added logging to debug level
(cherry picked from commit 2b9112f047)
This commit is contained in:
parent
47e734a788
commit
d58fc5d84e
1 changed files with 3 additions and 3 deletions
|
|
@ -863,7 +863,7 @@ class VideoInfo(object):
|
|||
if 'n' in query and query.get('ratebypass', [None])[0] != 'yes' and self._calculate_n:
|
||||
self._player_js = self._player_js or self.get_player_js()
|
||||
if self._calculate_n is True:
|
||||
self._context.log_notice('nsig detected')
|
||||
self._context.log_debug('nsig detected')
|
||||
self._calculate_n = ratebypass.CalculateN(self._player_js)
|
||||
|
||||
# Cipher n to get the updated value
|
||||
|
|
@ -1001,7 +1001,7 @@ class VideoInfo(object):
|
|||
continue
|
||||
# Otherwise skip retrying clients without Authorization header
|
||||
break
|
||||
self._context.log_notice('Requested video info with client: {0} (logged {1})'.format(
|
||||
self._context.log_debug('Requested video info with client: {0} (logged {1})'.format(
|
||||
client['details']['clientName'], 'in' if auth_header else 'out'))
|
||||
|
||||
# Make a set of URL-quoted headers to be sent to Kodi when requesting
|
||||
|
|
@ -1171,7 +1171,7 @@ class VideoInfo(object):
|
|||
|
||||
if (any((True for fmt in adaptive_fmts if fmt and 'url' not in fmt and 'signatureCipher' in fmt))
|
||||
or any((True for fmt in std_fmts if fmt and 'url' not in fmt and 'signatureCipher' in fmt))):
|
||||
self._context.log_notice('signatureCipher detected')
|
||||
self._context.log_debug('signatureCipher detected')
|
||||
self._player_js = self.get_player_js()
|
||||
self._cipher = Cipher(self._context, javascript=self._player_js)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue