File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -386,6 +386,7 @@ class AudioStream(MediaPartStream):
386386 profile (str): The profile of the audio stream.
387387 samplingRate (int): The sampling rate of the audio stream (ex: xxx)
388388 streamIdentifier (int): The stream identifier of the audio stream.
389+ visualImpaired (bool): True if this is a visually impaired (AD) audio stream.
389390
390391 Track_only_attributes: The following attributes are only available for tracks.
391392
@@ -413,6 +414,7 @@ def _loadData(self, data):
413414 self .profile = data .attrib .get ('profile' )
414415 self .samplingRate = utils .cast (int , data .attrib .get ('samplingRate' ))
415416 self .streamIdentifier = utils .cast (int , data .attrib .get ('streamIdentifier' ))
417+ self .visualImpaired = utils .cast (bool , data .attrib .get ('visualImpaired' , '0' ))
416418
417419 # Track only attributes
418420 self .albumGain = utils .cast (float , data .attrib .get ('albumGain' ))
You can’t perform that action at this time.
0 commit comments