updated trakt episode and movie image URLs to use poster instead of thumb
This commit is contained in:
parent
c712c387ae
commit
37c167fc38
1 changed files with 2 additions and 2 deletions
4
utils.js
4
utils.js
|
|
@ -293,7 +293,7 @@ export async function getTraktEpisode(config) {
|
|||
const title = entry.querySelector('title').textContent
|
||||
const link = entry.querySelector('link').getAttribute('href')
|
||||
const image = showImage
|
||||
? `https://widgets.trakt.tv/users/${traktId}/watched/thumb@2x.jpg?type=episode&image_only=1`
|
||||
? `https://widgets.trakt.tv/users/${traktId}/watched/poster@2x.jpg?type=episode&image_only=1`
|
||||
: null
|
||||
return { text: title, url: link, image }
|
||||
}
|
||||
|
|
@ -311,7 +311,7 @@ export async function getTraktMovie(config) {
|
|||
const title = entry.querySelector('title').textContent
|
||||
const link = entry.querySelector('link').getAttribute('href')
|
||||
const image = showImage
|
||||
? `https://widgets.trakt.tv/users/${traktId}/watched/thumb@2x.jpg?type=movie&image_only=1`
|
||||
? `https://widgets.trakt.tv/users/${traktId}/watched/poster@2x.jpg?type=movie&image_only=1`
|
||||
: null
|
||||
return { text: title, url: link, image }
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue