Skip to content

Commit e651bd5

Browse files
committed
fix(eztv-api): Fixed show not renamed to title
1 parent 6a4d0f6 commit e651bd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/eztv-api/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ module.exports = class EztvApi {
451451
} else if (title.match(dateBased)) {
452452
// If a item becomes data based check if the name of the show is in the
453453
// item this prevents wrongly mapped items to be added
454-
if (!data.dateBased && !title.toLowerCase().includes(data.show.toLowerCase())) {
454+
if (!data.dateBased && !title.toLowerCase().includes(data.title.toLowerCase())) {
455455
return
456456
}
457457

0 commit comments

Comments
 (0)