diff --git a/config/mediaFilters.js b/config/mediaFilters.js index 4ac4dd96..5e1a7da7 100644 --- a/config/mediaFilters.js +++ b/config/mediaFilters.js @@ -25,6 +25,11 @@ module.exports = { normalized['alt'] = `${item['title']} from ${item['name']}` normalized['subtext'] = item['subtext'] } + if (item.type === 'tv-range') { + normalized['title'] = item['name'] + normalized['alt'] = `${item['subtext']} from ${item['name']}` + normalized['subtext'] = item['subtext'] + } return normalized }), } diff --git a/src/_data/tv.js b/src/_data/tv.js index 64e85cea..fdaef3a3 100644 --- a/src/_data/tv.js +++ b/src/_data/tv.js @@ -53,7 +53,7 @@ module.exports = async function () { startingSeason: matchedEpisode['season'], episode: episode['episode']['number'], season: episode['episode']['season'], - type: 'tv', + type: 'tv-range', }) } else { // if an episode with the same show name doesn't exist, push it to the array