File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -386,6 +386,7 @@ class AudioStream(MediaPartStream):
386
386
profile (str): The profile of the audio stream.
387
387
samplingRate (int): The sampling rate of the audio stream (ex: xxx)
388
388
streamIdentifier (int): The stream identifier of the audio stream.
389
+ visualImpaired (bool): True if this is a visually impaired (AD) audio stream.
389
390
390
391
Track_only_attributes: The following attributes are only available for tracks.
391
392
@@ -413,6 +414,7 @@ def _loadData(self, data):
413
414
self .profile = data .attrib .get ('profile' )
414
415
self .samplingRate = utils .cast (int , data .attrib .get ('samplingRate' ))
415
416
self .streamIdentifier = utils .cast (int , data .attrib .get ('streamIdentifier' ))
417
+ self .visualImpaired = utils .cast (bool , data .attrib .get ('visualImpaired' , '0' ))
416
418
417
419
# Track only attributes
418
420
self .albumGain = utils .cast (float , data .attrib .get ('albumGain' ))
You can’t perform that action at this time.
0 commit comments