mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-20 05:13:21 -07:00
Don't convert requiredBandwidths to list
This commit is contained in:
parent
454235dd9a
commit
11f2f8ff81
1 changed files with 10 additions and 10 deletions
|
@ -208,7 +208,7 @@ class Export(object):
|
||||||
'size': None,
|
'size': None,
|
||||||
'sizeHuman': lambda o: helpers.human_file_size(getattr(o, 'size', 0)),
|
'sizeHuman': lambda o: helpers.human_file_size(getattr(o, 'size', 0)),
|
||||||
'optimizedForStreaming': None,
|
'optimizedForStreaming': None,
|
||||||
'requiredBandwidths': lambda e: [int(b) for b in e.split(',')] if e else None,
|
'requiredBandwidths': None,
|
||||||
'syncItemId': None,
|
'syncItemId': None,
|
||||||
'syncState': None,
|
'syncState': None,
|
||||||
'videoProfile': None,
|
'videoProfile': None,
|
||||||
|
@ -246,7 +246,7 @@ class Export(object):
|
||||||
'pixelFormat': None,
|
'pixelFormat': None,
|
||||||
'profile': None,
|
'profile': None,
|
||||||
'refFrames': None,
|
'refFrames': None,
|
||||||
'requiredBandwidths': lambda e: [int(b) for b in e.split(',')] if e else None,
|
'requiredBandwidths': None,
|
||||||
'scanType': None,
|
'scanType': None,
|
||||||
'streamIdentifier': None,
|
'streamIdentifier': None,
|
||||||
'width': None
|
'width': None
|
||||||
|
@ -273,7 +273,7 @@ class Export(object):
|
||||||
'dialogNorm': None,
|
'dialogNorm': None,
|
||||||
'duration': None,
|
'duration': None,
|
||||||
'profile': None,
|
'profile': None,
|
||||||
'requiredBandwidths': lambda e: [int(b) for b in e.split(',')] if e else None,
|
'requiredBandwidths': None,
|
||||||
'samplingRate': None
|
'samplingRate': None
|
||||||
},
|
},
|
||||||
'subtitleStreams': {
|
'subtitleStreams': {
|
||||||
|
@ -286,7 +286,7 @@ class Export(object):
|
||||||
'index': None,
|
'index': None,
|
||||||
'language': None,
|
'language': None,
|
||||||
'languageCode': None,
|
'languageCode': None,
|
||||||
'requiredBandwidths': lambda e: [int(b) for b in e.split(',')] if e else None,
|
'requiredBandwidths': None,
|
||||||
'selected': None,
|
'selected': None,
|
||||||
'streamType': None,
|
'streamType': None,
|
||||||
'title': None,
|
'title': None,
|
||||||
|
@ -498,7 +498,7 @@ class Export(object):
|
||||||
'size': None,
|
'size': None,
|
||||||
'sizeHuman': lambda o: helpers.human_file_size(getattr(o, 'size', 0)),
|
'sizeHuman': lambda o: helpers.human_file_size(getattr(o, 'size', 0)),
|
||||||
'optimizedForStreaming': None,
|
'optimizedForStreaming': None,
|
||||||
'requiredBandwidths': lambda e: [int(b) for b in e.split(',')] if e else None,
|
'requiredBandwidths': None,
|
||||||
'syncItemId': None,
|
'syncItemId': None,
|
||||||
'syncState': None,
|
'syncState': None,
|
||||||
'videoProfile': None,
|
'videoProfile': None,
|
||||||
|
@ -536,7 +536,7 @@ class Export(object):
|
||||||
'pixelFormat': None,
|
'pixelFormat': None,
|
||||||
'profile': None,
|
'profile': None,
|
||||||
'refFrames': None,
|
'refFrames': None,
|
||||||
'requiredBandwidths': lambda e: [int(b) for b in e.split(',')] if e else None,
|
'requiredBandwidths': None,
|
||||||
'scanType': None,
|
'scanType': None,
|
||||||
'streamIdentifier': None,
|
'streamIdentifier': None,
|
||||||
'width': None
|
'width': None
|
||||||
|
@ -563,7 +563,7 @@ class Export(object):
|
||||||
'dialogNorm': None,
|
'dialogNorm': None,
|
||||||
'duration': None,
|
'duration': None,
|
||||||
'profile': None,
|
'profile': None,
|
||||||
'requiredBandwidths': lambda e: [int(b) for b in e.split(',')] if e else None,
|
'requiredBandwidths': None,
|
||||||
'samplingRate': None
|
'samplingRate': None
|
||||||
},
|
},
|
||||||
'subtitleStreams': {
|
'subtitleStreams': {
|
||||||
|
@ -576,7 +576,7 @@ class Export(object):
|
||||||
'index': None,
|
'index': None,
|
||||||
'language': None,
|
'language': None,
|
||||||
'languageCode': None,
|
'languageCode': None,
|
||||||
'requiredBandwidths': lambda e: [int(b) for b in e.split(',')] if e else None,
|
'requiredBandwidths': None,
|
||||||
'selected': None,
|
'selected': None,
|
||||||
'streamType': None,
|
'streamType': None,
|
||||||
'title': None,
|
'title': None,
|
||||||
|
@ -771,7 +771,7 @@ class Export(object):
|
||||||
'key': None,
|
'key': None,
|
||||||
'size': None,
|
'size': None,
|
||||||
'sizeHuman': lambda o: helpers.human_file_size(getattr(o, 'size', 0)),
|
'sizeHuman': lambda o: helpers.human_file_size(getattr(o, 'size', 0)),
|
||||||
'requiredBandwidths': lambda e: [int(b) for b in e.split(',')] if e else None,
|
'requiredBandwidths': None,
|
||||||
'syncItemId': None,
|
'syncItemId': None,
|
||||||
'syncState': None,
|
'syncState': None,
|
||||||
'audioStreams': {
|
'audioStreams': {
|
||||||
|
@ -798,7 +798,7 @@ class Export(object):
|
||||||
'loudness': None,
|
'loudness': None,
|
||||||
'lra': None,
|
'lra': None,
|
||||||
'peak': None,
|
'peak': None,
|
||||||
'requiredBandwidths': lambda e: [int(b) for b in e.split(',')] if e else None,
|
'requiredBandwidths': None,
|
||||||
'samplingRate': None,
|
'samplingRate': None,
|
||||||
'startRamp': None,
|
'startRamp': None,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue