From 19f778c88c024388e2ff25f7c9d9ed4b3644b34f Mon Sep 17 00:00:00 2001 From: Jon Date: Fri, 16 Dec 2022 10:55:52 +0000 Subject: [PATCH] generate.js: add higher quality video to ifuckinglovescience, add source, add audio /w fallback --- generate.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/generate.js b/generate.js index eb04566..00de31f 100755 --- a/generate.js +++ b/generate.js @@ -232,13 +232,16 @@ const mediaItems = [ .addPreview("mxc://glowers.club/esDPBgpoTvTtqekHAQJRwqtK", "image/jpg", "480x272")), RadioItem.new("ifuckinglovescience") - .setMetadata("I FUCKING LOVE SCIENCE", "Hank Green") + .setMetadata("I FUCKING LOVE SCIENCE", "Hank Green", "https://booru.soy/post/view/20571") + .addSource(RadioSource.new("video/mp4", [ "avc1.4D4029", "mp4a.40.2" ]) + .setURI("mxc://glowers.club/tLnDwRvJDckOIopncgUfodAn") + .addPreview("mxc://glowers.club/burAaUYSveyoVMHrijAsAxlL", "image/jpg", "768x432")) .addSource(RadioSource.new("video/webm", [ "vp9", "opus" ]) .setURI("mxc://glowers.club/abgQasVrghOSkpRZTIfHMFyF") .addPreview("mxc://glowers.club/IhivpcDssjnjSDHBdMEGGwVp", "image/jpg", "320x180")) - .addSource(RadioSource.new("video/mp4", [ "avc1.4D401F", "mp4a.40.2" ]) - .setURI("mxc://glowers.club/ieQlfAlPPGeXLsvevolcQKqO") - .addPreview("mxc://glowers.club/IhivpcDssjnjSDHBdMEGGwVp", "image/jpg", "320x180")), + .addSource(RadioSource.new("audio/mp3", [ "mp3" ]) + .setURI("mxc://glowers.club/uoohwSBNmaXjTLZFwodmEwwr") + .addPreview("mxc://glowers.club/aAYxVtwfHuIqXzYkrVwHZDjl", "image/jpg", "500x500")), RadioItem.new("dootnukem") .setMetadata("Doot Nukem", "Sylva", "https://youtu.be/cHJQ6LqZ4ks")