|
|
|
@ -17,7 +17,7 @@ class TrackCodec(Enum):
|
|
|
|
|
SRT = {'identifier': 'subrip', 'format': 'srt', 'extension': 'srt' , 'label': 'SRT'}
|
|
|
|
|
ASS = {'identifier': 'ass', 'format': 'ass', 'extension': 'ass' , 'label': 'ASS'}
|
|
|
|
|
PGS = {'identifier': 'hdmv_pgs_subtitle', 'format': 'sup', 'extension': 'sup' , 'label': 'PGS'}
|
|
|
|
|
VOBSUB = {'identifier': 'dvd_subtitle', 'format': 'mkv', 'extension': 'mks' , 'label': 'VobSub'}
|
|
|
|
|
VOBSUB = {'identifier': 'dvd_subtitle', 'format': None, 'extension': 'mkv' , 'label': 'VobSub'}
|
|
|
|
|
|
|
|
|
|
PNG = {'identifier': 'png', 'format': None, 'extension': 'png' , 'label': 'PNG'}
|
|
|
|
|
|
|
|
|
@ -33,7 +33,7 @@ class TrackCodec(Enum):
|
|
|
|
|
return str(self.value['label'])
|
|
|
|
|
|
|
|
|
|
def format(self):
|
|
|
|
|
"""Returns the codec format"""
|
|
|
|
|
"""Returns the codec """
|
|
|
|
|
return self.value['format']
|
|
|
|
|
|
|
|
|
|
def extension(self):
|
|
|
|
|