Add streamIdentifier to audio stream export
This commit is contained in:
@@ -331,6 +331,7 @@ class AudioStream(MediaPartStream):
|
|||||||
self.profile = data.attrib.get('profile')
|
self.profile = data.attrib.get('profile')
|
||||||
self.requiredBandwidths = data.attrib.get('requiredBandwidths')
|
self.requiredBandwidths = data.attrib.get('requiredBandwidths')
|
||||||
self.samplingRate = cast(int, data.attrib.get('samplingRate'))
|
self.samplingRate = cast(int, data.attrib.get('samplingRate'))
|
||||||
|
self.streamIdentifier = cast(int, data.attrib.get('streamIdentifier'))
|
||||||
|
|
||||||
# For Track only
|
# For Track only
|
||||||
self.albumGain = cast(float, data.attrib.get('albumGain'))
|
self.albumGain = cast(float, data.attrib.get('albumGain'))
|
||||||
|
@@ -309,7 +309,8 @@ class Export(object):
|
|||||||
'duration': None,
|
'duration': None,
|
||||||
'profile': None,
|
'profile': None,
|
||||||
'requiredBandwidths': None,
|
'requiredBandwidths': None,
|
||||||
'samplingRate': None
|
'samplingRate': None,
|
||||||
|
'streamIdentifier': None
|
||||||
},
|
},
|
||||||
'subtitleStreams': {
|
'subtitleStreams': {
|
||||||
'codec': None,
|
'codec': None,
|
||||||
@@ -616,7 +617,8 @@ class Export(object):
|
|||||||
'duration': None,
|
'duration': None,
|
||||||
'profile': None,
|
'profile': None,
|
||||||
'requiredBandwidths': None,
|
'requiredBandwidths': None,
|
||||||
'samplingRate': None
|
'samplingRate': None,
|
||||||
|
'streamIdentifier': None
|
||||||
},
|
},
|
||||||
'subtitleStreams': {
|
'subtitleStreams': {
|
||||||
'codec': None,
|
'codec': None,
|
||||||
|
Reference in New Issue
Block a user