[skip ci] Final hotfix
This commit is contained in:
@@ -96,6 +96,9 @@ export class TorrentEntriesService implements ITorrentEntriesService {
|
|||||||
newVideo.kitsuId = 0;
|
newVideo.kitsuId = 0;
|
||||||
newVideo.kitsuEpisode = 0;
|
newVideo.kitsuEpisode = 0;
|
||||||
}
|
}
|
||||||
|
if (newVideo.imdbEpisode && !newVideo.imdbSeason) {
|
||||||
|
newVideo.imdbSeason = 1;
|
||||||
|
}
|
||||||
return this.repository.createFile(newVideo)
|
return this.repository.createFile(newVideo)
|
||||||
})))
|
})))
|
||||||
.then(() => this.logger.info(`Created ${torrent.provider} entry for [${torrent.infoHash}] ${torrent.title}`));
|
.then(() => this.logger.info(`Created ${torrent.provider} entry for [${torrent.infoHash}] ${torrent.title}`));
|
||||||
|
|||||||
Reference in New Issue
Block a user