generate.js: add avemaria

This commit is contained in:
Jon 2022-12-08 04:54:19 +00:00
parent c5d17dd647
commit 8e05e3df12

View File

@ -492,7 +492,13 @@ const mediaItems = [
.addSource(RadioSource.new("video/mp4") .addSource(RadioSource.new("video/mp4")
.setURI("mxc://glowers.club/vADMHcSVAzikHdjSRXKsmllx") .setURI("mxc://glowers.club/vADMHcSVAzikHdjSRXKsmllx")
.addPreview("mxc://glowers.club/igLcLQjIYWSzTCRAPDMxSAmh", "image/jpg", "853x480") .addPreview("mxc://glowers.club/igLcLQjIYWSzTCRAPDMxSAmh", "image/jpg", "853x480")
.addPreview("mxc://glowers.club/dcqgSxtEyYBQNpYLfpXkxADL", "image/jpg", "500x500", EDisplayType.SQUARE)) .addPreview("mxc://glowers.club/dcqgSxtEyYBQNpYLfpXkxADL", "image/jpg", "500x500", EDisplayType.SQUARE)),
RadioItem.new("avemaria")
.setMetadata("Ave Maria", "Daniel Perret", "https://youtu.be/4swAeQGBvAs")
.addSource(RadioSource.new("audio/mp3")
.setURI("x-gwm://wiki/avemaria.mp3")
.addPreview("mxc://glowers.club/UvQPlQTYoDjufDtdjZnPShmm", "image/png", "546x546"))
].filter(Boolean).map(a => a.serialize()).sort((a,b) => a.id.localeCompare(b.id)) ].filter(Boolean).map(a => a.serialize()).sort((a,b) => a.id.localeCompare(b.id))