mirror of
https://github.com/Viren070/tmdb-addon.git
synced 2025-12-01 23:18:11 +01:00
Fix logos in Desktop version #22
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"projectName": "tmdb-addon",
|
||||
"lastCommit": "676e83c"
|
||||
"lastCommit": "25ff963"
|
||||
}
|
||||
@@ -67,6 +67,9 @@ async function getMeta(type, language, tmdbId) {
|
||||
if (resp.logo && blacklistLogoUrls.includes(resp.logo)) {
|
||||
delete resp.logo;
|
||||
}
|
||||
if (resp.logo) {
|
||||
resp.logo = resp.logo.replace("http://", "https://")
|
||||
}
|
||||
return resp;
|
||||
})
|
||||
.catch(console.error);
|
||||
@@ -118,6 +121,9 @@ async function getMeta(type, language, tmdbId) {
|
||||
if (resp.logo && blacklistLogoUrls.includes(resp.logo || '')) {
|
||||
delete resp.logo;
|
||||
}
|
||||
if (resp.logo) {
|
||||
resp.logo = resp.logo.replace("http://", "https://")
|
||||
}
|
||||
try {
|
||||
resp.videos = await getEpisodes(language, tmdbId, res.external_ids.imdb_id, res.seasons);
|
||||
} catch(e) {
|
||||
|
||||
Reference in New Issue
Block a user