From d193fdac88907129535983ff14f00dee0ef01471 Mon Sep 17 00:00:00 2001 From: Jon Date: Sat, 19 Nov 2022 11:49:47 +0000 Subject: [PATCH] generate.js: cleanup, add yatta --- generate.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/generate.js b/generate.js index c43b230..a0dac2b 100755 --- a/generate.js +++ b/generate.js @@ -313,7 +313,7 @@ const mediaItems = [ .setThumbnailURL("mxc://glowers.club/ITHVCToEENFZhXGKaYuHplFV", "image/jpg", "500x500")), RadioItem.new("tapeworms") - .setMetadata("I Staple Tapeworms on my Penis", "SillyJenny9000", "https://www.youtube.com/watch?v=v21iDJeWfVE") + .setMetadata("I Staple Tapeworms on my Penis", "SillyJenny9000", "https://youtu.be/v21iDJeWfVE") .setNiggadata("tapeworms", "570550d318f3c6dc5677b9b0") .addSource(RadioSource.new("audio/mp3") .setURL("mxc://glowers.club/NnrVJeWXXzqEUDhDQazMDYrr") @@ -348,7 +348,7 @@ const mediaItems = [ .setThumbnailURL("mxc://glowers.club/VFehbVZaCVcNhQTYWuWRYTiM", "image/jpg", "500x500")), RadioItem.new("loneimposter") - .setMetadata("Lone Impostor", "maki ligon", "https://www.youtube.com/watch?v=QbIckU4sXBM") + .setMetadata("Lone Impostor", "maki ligon", "https://youtu.be/QbIckU4sXBM") .setTags([ "sus" ]) .addSource(RadioSource.new("audio/mp3") .setURL("mxc://glowers.club/oswdiINtTUUbQYEMEKpVmsHN") @@ -437,6 +437,13 @@ const mediaItems = [ .setURL("mxc://glowers.club/vsMepElCpNKFgLltczQRjxfJ") .setThumbnailURL("mxc://glowers.club/zUXbbLOCCxZoZDRIwVCzHFYC", "image/jpg", "654x480")), + RadioItem.new("yatta") + .setMetadata("YATTA!", "HAPPATAI!", "https://youtu.be/rW6M8D41ZWU") + .setNiggadata("yatta", "570550d318f3c6dc5677b9bc") + .addSource(RadioSource.new("audio/mp3") + .setURL("mxc://glowers.club/oKXrDvGUNQJWzBsmwYwjsCZs") + .setThumbnailURL("mxc://glowers.club/dBJtIlaEcsZoflXYqPnihooO", "image/jpg", "374x374")) + ].filter(Boolean).map(a => a.serialize()).sort((a,b) => a.id.localeCompare(b.id)) for (const item of mediaItems) {