|
|
@ -499,7 +499,7 @@ class MediaDescriptor:
|
|
|
|
matchingSubtitleTrackDescriptor = [s for s in subtitleTracks if s.getIndex() == msfd["index"]]
|
|
|
|
matchingSubtitleTrackDescriptor = [s for s in subtitleTracks if s.getIndex() == msfd["index"]]
|
|
|
|
if matchingSubtitleTrackDescriptor:
|
|
|
|
if matchingSubtitleTrackDescriptor:
|
|
|
|
# click.echo(f"Found matching subtitle file {msfd["path"]}\n")
|
|
|
|
# click.echo(f"Found matching subtitle file {msfd["path"]}\n")
|
|
|
|
self.__logger.debug(f"importSubtitles(): Found matching subtitle file {msfd["path"]}")
|
|
|
|
self.__logger.debug(f"importSubtitles(): Found matching subtitle file {msfd['path']}")
|
|
|
|
matchingSubtitleTrackDescriptor[0].setExternalSourceFilePath(msfd["path"])
|
|
|
|
matchingSubtitleTrackDescriptor[0].setExternalSourceFilePath(msfd["path"])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|