Add subtitle dump just in case.
This commit is contained in:
parent
0b54549c64
commit
68885db538
@ -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';
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user