show dummy icon inside media info
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Artem Anufrij 2023-09-12 20:28:35 +02:00
parent 173cf77054
commit ad6161c40a

View File

@ -206,27 +206,32 @@ export default {
album: track.parent.title,
artwork: [
{
src: track.parent.covers.cover32,
src:
track.parent.covers.cover32 || "/static/icons/dummy/album.svg",
sizes: "32x32",
type: "image/png",
},
{
src: track.parent.covers.cover64,
src:
track.parent.covers.cover64 || "/static/icons/dummy/album.svg",
sizes: "64x64",
type: "image/png",
},
{
src: track.parent.covers.cover128,
src:
track.parent.covers.cover128 || "/static/icons/dummy/album.svg",
sizes: "96x96",
type: "image/png",
},
{
src: track.parent.covers.cover128,
src:
track.parent.covers.cover128 || "/static/icons/dummy/album.svg",
sizes: "128x128",
type: "image/png",
},
{
src: track.parent.covers.cover128,
src:
track.parent.covers.cover128 || "/static/icons/dummy/album.svg",
sizes: "256x256",
type: "image/png",
},