diff --git a/src/delarte/__main__.py b/src/delarte/__main__.py index 7d54d48..bdbabf6 100644 --- a/src/delarte/__main__.py +++ b/src/delarte/__main__.py @@ -51,17 +51,17 @@ def _build_rendition_label(rendition): label = "" if rendition.audio.is_original: label += "original " - elif not rendition.audio.is_accessible: + elif not rendition.audio.provides_accessibility: label += "dubbed " label += _lookup_language_name(rendition.audio.lang) - if rendition.audio.is_accessible: + if rendition.audio.provides_accessibility: label += " audio description" if rendition.subtitles: - if rendition.subtitles.is_accessible: + if rendition.subtitles.provides_accessibility: if rendition.subtitles.lang != rendition.audio.lang: label += f" with {_lookup_language_name(rendition.subtitles.lang)} text description" else: