Skip to content

Commit

Permalink
Update plugin.py
Browse files Browse the repository at this point in the history
fix extract. Removed the subrip in the codec search that was left
  • Loading branch information
soultaco83 authored Aug 24, 2024
1 parent af28482 commit 7b34374
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/extract_ass_subtitles_to_files/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def _get_language_list(self):
def test_stream_needs_processing(self, stream_info: dict):
"""Any text based will need to be processed"""

if stream_info.get('codec_name', '').lower() not in ['ass', 'subrip', 'mov_text']:
if stream_info.get('codec_name', '').lower() not in ['ass', 'ssa']:
return False

languages = self._get_language_list()
Expand Down Expand Up @@ -355,4 +355,4 @@ def on_postprocessor_task_results(data):
directory_info.save()
logger.info("ass subtitles processed for '{}' and recorded in .unmanic file.".format(destination_file))

return data
return data

0 comments on commit 7b34374

Please sign in to comment.