add dlna and ui fixes
This commit is contained in:
parent
d5ade09aa7
commit
a023bd619c
10 changed files with 64 additions and 46 deletions
|
@ -86,6 +86,7 @@
|
|||
this.isVisible = isVisible
|
||||
},
|
||||
getMediaItemArtwork(url, height = 64, width) {
|
||||
try{
|
||||
if (typeof url == "undefined" || url == "") {
|
||||
return "./assets/MissingArtwork.svg"
|
||||
}
|
||||
|
@ -98,7 +99,9 @@
|
|||
if (newurl.includes("900x516")) {
|
||||
newurl = newurl.replace("900x516cc", "900x516sr").replace("900x516bb", "900x516sr");
|
||||
}
|
||||
return newurl
|
||||
return newurl} catch (e){
|
||||
return "./assets/MissingArtwork.svg"
|
||||
}
|
||||
},
|
||||
}
|
||||
});
|
||||
|
|
|
@ -213,7 +213,7 @@
|
|||
}
|
||||
switch (this.kind) {
|
||||
case "385":
|
||||
artwork = this.item.attributes.editorialArtwork.subscriptionHero.url
|
||||
artwork = this.item.attributes?.editorialArtwork?.subscriptionHero?.url
|
||||
break;
|
||||
}
|
||||
if (!includeUrl) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue