mirror of
https://github.com/TheBeastLT/torrentio-scraper.git
synced 2026-04-19 17:22:02 +00:00
[addon] check title equality for stream title creation in series
This commit is contained in:
parent
2ea787c0c7
commit
03d37918cd
1 changed files with 2 additions and 1 deletions
|
|
@ -34,7 +34,8 @@ function movieStream(record) {
|
|||
function seriesStream(record) {
|
||||
const tInfo = titleParser.parse(record.title);
|
||||
const eInfo = titleParser.parse(record.torrent.title);
|
||||
const sameInfo = tInfo.season === eInfo.season && tInfo.episode && eInfo.episode === tInfo.episode;
|
||||
const sameInfo = record.title === record.torrent.title ||
|
||||
tInfo.season === eInfo.season && tInfo.episode && eInfo.episode === tInfo.episode;
|
||||
const title = joinDetailParts(
|
||||
[
|
||||
joinDetailParts([record.torrent.title.replace(/[, ]+/g, ' ')]),
|
||||
|
|
|
|||
Loading…
Reference in a new issue