mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-12 21:26:10 +00:00
Improve logging
This commit is contained in:
parent
7c4ea6ecea
commit
2fc282175d
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ class PlayUtils():
|
||||||
try:
|
try:
|
||||||
mediaSources = result[u'MediaSources']
|
mediaSources = result[u'MediaSources']
|
||||||
sourceBitRate = int(mediaSources[0][u'Bitrate'])
|
sourceBitRate = int(mediaSources[0][u'Bitrate'])
|
||||||
|
self.logMsg("The video quality selected is: %s, the video bitrate required to direct stream is: %s." % (settingsVideoBitRate, sourceBitRate), 1)
|
||||||
if settingsVideoBitRate > sourceBitRate:
|
if settingsVideoBitRate > sourceBitRate:
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue