diff --git a/src/node/consumer/src/lib/services/torrent_entries_service.ts b/src/node/consumer/src/lib/services/torrent_entries_service.ts index 3958e7e..60f9236 100644 --- a/src/node/consumer/src/lib/services/torrent_entries_service.ts +++ b/src/node/consumer/src/lib/services/torrent_entries_service.ts @@ -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}`));