Clapper.SubtitleStream
- Subclasses:
 
None
 
Class Details
- 
class Clapper.SubtitleStream(**kwargs)
 
- Bases:
 
Clapper.Stream
 
- Abstract:
 
No
 
- Structure:
 
Clapper.SubtitleStreamClass
 
Represents a subtitle stream within media.
- 
get_lang_code()
 
- Returns:
 
the language code of subtitle stream.
 
- Return type:
 
str or None
 
Get an ISO-639 language code of the self.
- 
get_lang_name()
 
- Returns:
 
the language name of subtitle stream.
 
- Return type:
 
str or None
 
Get language name of the self.
This function will try to return a translated string into current
locale if possible, with a fallback to a name extracted from tags.
Property Details
- 
Clapper.SubtitleStream.props.lang_code
 
- Name:
 
lang-code
 
- Type:
 
str
 
- Default Value:
 
None
 
- Flags:
 
READABLE, EXPLICIT_NOTIFY
 
Stream language code in ISO-639 format.
- 
Clapper.SubtitleStream.props.lang_name
 
- Name:
 
lang-name
 
- Type:
 
str
 
- Default Value:
 
None
 
- Flags:
 
READABLE, EXPLICIT_NOTIFY
 
Stream language name.