Skip to content

Commit

Permalink
fix(eztv-api): Fixed show not renamed to title
Browse files Browse the repository at this point in the history
  • Loading branch information
TriPSs committed Oct 23, 2020
1 parent 6a4d0f6 commit e651bd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eztv-api/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ module.exports = class EztvApi {
} else if (title.match(dateBased)) {
// If a item becomes data based check if the name of the show is in the
// item this prevents wrongly mapped items to be added
if (!data.dateBased && !title.toLowerCase().includes(data.show.toLowerCase())) {
if (!data.dateBased && !title.toLowerCase().includes(data.title.toLowerCase())) {
return
}

Expand Down

0 comments on commit e651bd5

Please sign in to comment.