Add subtitle dump just in case.

This commit is contained in:
Godzil 2018-07-29 14:30:45 +01:00
parent 0b54549c64
commit 68885db538

View File

@ -186,6 +186,11 @@ function downloadSubtitle(config: IConfig, player: IEpisodePlayer, filePath: str
return done(errSD);
}
if (config.debug)
{
log.dumpToDebug('SubtitlesXML', data);
}
const formats = subtitle.formats;
const format = formats[config.format] ? config.format : 'ass';