[skip ci] Final hotfix

This commit is contained in:
iPromKnight
2024-03-10 23:34:28 +00:00
parent fa27b0cda9
commit 75ac89489e

View File

@@ -96,6 +96,9 @@ export class TorrentEntriesService implements ITorrentEntriesService {
newVideo.kitsuId = 0;
newVideo.kitsuEpisode = 0;
}
if (newVideo.imdbEpisode && !newVideo.imdbSeason) {
newVideo.imdbSeason = 1;
}
return this.repository.createFile(newVideo)
})))
.then(() => this.logger.info(`Created ${torrent.provider} entry for [${torrent.infoHash}] ${torrent.title}`));