Fix image type mismatch, convert to 500x500 jpg instead of 1200x1200 png

This commit is contained in:
q 2022-12-24 12:00:18 -05:00
parent 23b7b8ebf9
commit 6fb1a7bd61
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -1084,7 +1084,7 @@ const mediaItems = [
.setMetadata("Black Lives (Still Don't) Matter", "Moonman")
.addSource(RadioSource.new("audio/mp3", [ "mp3" ])
.setURI("mxc://glowers.club/GfcCntGLSZsYkkzzkaoJrUWx")
.addPreview("mxc://glowers.club/ZTaLkvjSzAoOmPCmiZqdVAJY", "image/jpg", "600x600")),
.addPreview("mxc://glowers.club/yyWJVkClXhWIFqgayFFtZZDJ", "image/jpg", "500x500")),
].filter(Boolean).map(a => a.serialize()).sort((a,b) => a.id.localeCompare(b.id))