mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Use video_full_resolution for optimized versions in the activity card
This commit is contained in:
parent
2737d52279
commit
a59e8298fd
1 changed files with 1 additions and 2 deletions
|
@ -1957,8 +1957,7 @@ class PmsConnect(object):
|
||||||
if stream_details['optimized_version']:
|
if stream_details['optimized_version']:
|
||||||
source_bitrate = helpers.cast_to_int(source_media_details.get('bitrate'))
|
source_bitrate = helpers.cast_to_int(source_media_details.get('bitrate'))
|
||||||
optimized_version_profile = '{} Mbps {}'.format(round(source_bitrate / 1000.0, 1),
|
optimized_version_profile = '{} Mbps {}'.format(round(source_bitrate / 1000.0, 1),
|
||||||
plexpy.common.VIDEO_RESOLUTION_OVERRIDES.get(source_media_details['video_resolution'],
|
source_media_details['video_full_resolution'])
|
||||||
source_media_details['video_resolution']))
|
|
||||||
else:
|
else:
|
||||||
optimized_version_profile = ''
|
optimized_version_profile = ''
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue