From a0b5dd51c15dfd535194027b673bbd633dfbed43 Mon Sep 17 00:00:00 2001 From: Jon Date: Tue, 6 Dec 2022 00:36:03 +0000 Subject: [PATCH] generate.js: add mp4 alts --- generate.js | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/generate.js b/generate.js index a0dac2b..45b333e 100755 --- a/generate.js +++ b/generate.js @@ -153,18 +153,27 @@ const mediaItems = [ .setThumbnailURL("mxc://glowers.club/eHKVfIITgdRKERhVOPSTDQAc", "image/jpg", "432x426")), RadioItem.new("poljacked") + .addSource(RadioSource.new("video/mp4") + .setURL("mxc://glowers.club/stlNnyEIUVGluyhpPSGhtjJg") + .setThumbnailURL("mxc://glowers.club/BczfFtojBhwMxTNjoZfhemam", "image/jpg", "638x360")) .addSource(RadioSource.new("video/webm") .setURL("mxc://glowers.club/xnYQdrroEheIZBfigHGZferu") .setThumbnailURL("mxc://glowers.club/BczfFtojBhwMxTNjoZfhemam", "image/jpg", "638x360")), RadioItem.new("femalecops") .setTags([ "misc" ]) + .addSource(RadioSource.new("video/mp4") + .setURL("mxc://glowers.club/ZSyUyEGvOLOoUaqFVoCYPTif") + .setThumbnailURL("mxc://glowers.club/BVQhXkWSYbvFcSerzVZFgfrn", "image/jpg", "600x600")) .addSource(RadioSource.new("video/webm") .setURL("mxc://glowers.club/RYjIfTiZKSKBdYBvjGtyBILa") .setThumbnailURL("mxc://glowers.club/BVQhXkWSYbvFcSerzVZFgfrn", "image/jpg", "600x600")), RadioItem.new("autisticclowns") .setTags([ "misc" ]) + .addSource(RadioSource.new("video/mp4") + .setURL("mxc://glowers.club/fGszYTUkpyWsKuxphzJSfAZk") + .setThumbnailURL("mxc://glowers.club/esDPBgpoTvTtqekHAQJRwqtK", "image/jpg", "480x272")) .addSource(RadioSource.new("video/webm") .setURL("mxc://glowers.club/WqYtubpqVplLjSxxmaxNeQir") .setThumbnailURL("mxc://glowers.club/esDPBgpoTvTtqekHAQJRwqtK", "image/jpg", "480x272")), @@ -203,6 +212,9 @@ const mediaItems = [ RadioItem.new("breathe") .setMetadata("Breathe (in the Air)", "Pink Floyd") + .addSource(RadioSource.new("video/mp4") + .setURL("mxc://glowers.club/MOyzIHtapiyrpxaYRoiQqMqf") + .setThumbnailURL("mxc://glowers.club/KytvUDmLWCFKQWwHemdDTksd", "image/jpg", "640x360")) .addSource(RadioSource.new("video/webm") .setURL("mxc://glowers.club/HAGTNySLRemaDfjZMSmpktDj") .setThumbnailURL("mxc://glowers.club/KytvUDmLWCFKQWwHemdDTksd", "image/jpg", "640x360")), @@ -239,6 +251,9 @@ const mediaItems = [ RadioItem.new("thisistheinfowar") .setMetadata("In the House, In a Heartbeat", "John Murphy") + .addSource(RadioSource.new("video/mp4") + .setURL("mxc://glowers.club/HVZUugkUhbJEPDncuTpAnOfh") + .setThumbnailURL("mxc://glowers.club/klXuXEwYNmYvsZhNOaXsDGJq", "image/jpg", "640x360")) .addSource(RadioSource.new("video/webm") .setURL("mxc://glowers.club/znoCPlczXEXaEAVaiKHopnAV") .setThumbnailURL("mxc://glowers.club/klXuXEwYNmYvsZhNOaXsDGJq", "image/jpg", "640x360")), @@ -246,6 +261,9 @@ const mediaItems = [ RadioItem.new("floyd") .setMetadata("Paralyzer", "Finger Seven") .setTags([ "misc" ]) + .addSource(RadioSource.new("video/mp4") + .setURL("mxc://glowers.club/qtBuqQBqBrpyusCsWYXlgmtE") + .setThumbnailURL("mxc://glowers.club/JjsGuJkEGAbudLaYvbAcxryQ", "image/jpg", "600x600")) .addSource(RadioSource.new("video/webm") .setURL("mxc://glowers.club/IusHmBCOyJZFGHxsGjRkYqXf") .setThumbnailURL("mxc://glowers.club/JjsGuJkEGAbudLaYvbAcxryQ", "image/jpg", "600x600")), @@ -253,6 +271,9 @@ const mediaItems = [ RadioItem.new("amd") .setMetadata("Svetovid", "Jan Janko Močnik") .setTags([ "misc" ]) + .addSource(RadioSource.new("video/mp4") + .setURL("mxc://glowers.club/wgQPrdTCUUTnKgpnwDVlEakc") + .setThumbnailURL("mxc://glowers.club/GccquMupQGvDXYNeifUbxfuy", "image/jpg", "800x450")) .addSource(RadioSource.new("video/webm") .setURL("mxc://glowers.club/RBvSWrEWiFtIuDUCoxZbCDTW") .setThumbnailURL("mxc://glowers.club/GccquMupQGvDXYNeifUbxfuy", "image/jpg", "800x450")), @@ -266,6 +287,9 @@ const mediaItems = [ RadioItem.new("honorary") .setMetadata("Erika", "Major Han Friess") + .addSource(RadioSource.new("video/mp4") + .setURL("mxc://glowers.club/cQgzwWXtxDSqqOlwGZYShVXS") + .setThumbnailURL("mxc://glowers.club/aENkwWEKXIztqyBTJrBHCmRQ", "image/jpg", "800x450")) .addSource(RadioSource.new("video/webm") .setURL("mxc://glowers.club/qMkbHHunSgPzkFpcoOuYeIuE") .setThumbnailURL("mxc://glowers.club/aENkwWEKXIztqyBTJrBHCmRQ", "image/jpg", "800x450")), @@ -301,6 +325,9 @@ const mediaItems = [ RadioItem.new("negromancy") .setMetadata(undefined, undefined, "https://youtu.be/PxjA-jq1e7E") .setTags([ "misc" ]) + .addSource(RadioSource.new("video/mp4") + .setURL("mxc://glowers.club/kYDmqwhymAidlTbdFHHliXrk") + .setThumbnailURL("mxc://glowers.club/qAtvGoVERlYfFnNWeizoYiGP", "image/jpg", "640x360")) .addSource(RadioSource.new("video/webm") .setURL("mxc://glowers.club/hRDjowdyaPRkdrRkHtCeqGug") .setThumbnailURL("mxc://glowers.club/qAtvGoVERlYfFnNWeizoYiGP", "image/jpg", "640x360")),