ogg has bad browser support, using mp3

This commit is contained in:
Jon 2022-11-14 08:17:47 +00:00
parent 9e91f0776f
commit cf517e3c61
2 changed files with 16 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -258,7 +258,7 @@ const radioEntries = [
.setThumbnailURL("mxc://glowers.club/aENkwWEKXIztqyBTJrBHCmRQ")),
RadioItem.new("bashar")
.setMetadata("God, Syria, and Bashar", "Jan Janko Močnik")
.setMetadata("God, Syria, and Bashar", "Rami Kazour")
.addSource(RadioSource.new("audio/mp3")
.setURL("mxc://glowers.club/egmaXMIHsNmblfDjyTGHdyas")
.setThumbnailURL("mxc://glowers.club/wpwHKoSFsxkNttaNyaNFzhMk")),
@ -266,6 +266,9 @@ const radioEntries = [
RadioItem.new("hatethem")
.setMetadata("Niggerz Bop", "Mike David", "https://youtu.be/VkcAXS9IKdc")
.setNiggadata("hatethem", "585a286c042231244a73b19e")
.addSource(RadioSource.new("audio/mp3")
.setURL("mxc://glowers.club/kYKpgAelvgRjDOVHJYKIYwdS")
.setThumbnailURL("mxc://glowers.club/IbShqtSWZksFbnOdFiVDFwqD"))
.addSource(RadioSource.new("audio/ogg")
.setURL("mxc://glowers.club/wdflEjUfqAkoyOyCDBXebDkw")
.setThumbnailURL("mxc://glowers.club/IbShqtSWZksFbnOdFiVDFwqD")),
@ -273,6 +276,10 @@ const radioEntries = [
RadioItem.new("wishmaster")
.setMetadata("Wishmaster", "Van Canto", "https://youtu.be/XCGQiGEYl4Y")
.setNiggadata("wishmaster", "570550d318f3c6dc5677b9f6")
.addSource(RadioSource.new("audio/mp3")
.setURL("mxc://glowers.club/TWmjcXRxqaVOfYnWPItiPAcd")
.setThumbnailURL("mxc://glowers.club/OKTbfAlagYXulaeBmgwkNwii")
.setThumbnailType(EThumbnailType.STRETCH))
.addSource(RadioSource.new("audio/ogg")
.setURL("mxc://glowers.club/uaxDKxCUtRVXMWAJgoKeiNcJ")
.setThumbnailURL("mxc://glowers.club/OKTbfAlagYXulaeBmgwkNwii")
@ -285,6 +292,13 @@ const radioEntries = [
.setURL("mxc://glowers.club/hRDjowdyaPRkdrRkHtCeqGug")
.setThumbnailURL("mxc://glowers.club/qAtvGoVERlYfFnNWeizoYiGP")),
RadioItem.new("crocodilechop")
.setMetadata("Crocodile Chop", "Neil Cicierega", "https://soundcloud.com/neilcic/crocodile-chop")
.setNiggadata("crocodilechop", "570550d318f3c6dc5677b9d1")
.addSource(RadioSource.new("audio/mp3")
.setURL("mxc://glowers.club/CIwbaGcPmsbqvZtdILxJxdHN")
.setThumbnailURL("mxc://glowers.club/ITHVCToEENFZhXGKaYuHplFV"))
].filter(Boolean).map(a => a.serialize()).sort((a,b) => a.id.localeCompare(b.id))
const radioObj = {
@ -295,6 +309,3 @@ const radioObj = {
fs.writeFileSync("./data/songs.json", JSON.stringify(radioObj))
//fs.writeFileSync("./data/songs.js", `glowersRadioSongsCallback(${JSON.stringify(radioObj)})`)
//fs.writeFileSync("./data/songs.html", `<html><script>glowersRadioSongsCallback(${JSON.stringify(radioObj)})</script></html>`)