Apply automatic changes

This commit is contained in:
cdransf 2023-09-10 20:03:01 +00:00 committed by Cory Dransfeldt
parent cb7195ab10
commit 700a90b501
No known key found for this signature in database
3 changed files with 23 additions and 3 deletions

View file

@ -51,7 +51,7 @@ module.exports = async function () {
`https://cdn.coryd.dev/tv/${matchedEpisode['name']
.replace(':', '')
.replace(/\s+/g, '-')
.toLowerCase()}.jpg?crop=450,662&crop_gravity=center&quality=100` ||
.toLowerCase()}.jpg?width=450&height=662&quality=100` ||
'https://cdn.coryd.dev/tv/missing-tv.jpg',
startingEpisode: matchedEpisode['episode'],
startingSeason: matchedEpisode['season'],
@ -70,7 +70,8 @@ module.exports = async function () {
`https://cdn.coryd.dev/tv/${episode['show']['title']
.replace(':', '')
.replace(/\s+/g, '-')
.toLowerCase()}.jpg` || 'https://cdn.coryd.dev/tv/missing-tv.jpg',
.toLowerCase()}.jpg?width=450&height=662&quality=100` ||
'https://cdn.coryd.dev/tv/missing-tv.jpg',
episode: episodeNumber,
season: seasonNumber,
type: 'tv',