forked from jon/glowers-radio
ogg has bad browser support, using mp3
This commit is contained in:
parent
9e91f0776f
commit
cf517e3c61
File diff suppressed because one or more lines are too long
19
generate.js
19
generate.js
@ -258,7 +258,7 @@ const radioEntries = [
|
|||||||
.setThumbnailURL("mxc://glowers.club/aENkwWEKXIztqyBTJrBHCmRQ")),
|
.setThumbnailURL("mxc://glowers.club/aENkwWEKXIztqyBTJrBHCmRQ")),
|
||||||
|
|
||||||
RadioItem.new("bashar")
|
RadioItem.new("bashar")
|
||||||
.setMetadata("God, Syria, and Bashar", "Jan Janko Močnik")
|
.setMetadata("God, Syria, and Bashar", "Rami Kazour")
|
||||||
.addSource(RadioSource.new("audio/mp3")
|
.addSource(RadioSource.new("audio/mp3")
|
||||||
.setURL("mxc://glowers.club/egmaXMIHsNmblfDjyTGHdyas")
|
.setURL("mxc://glowers.club/egmaXMIHsNmblfDjyTGHdyas")
|
||||||
.setThumbnailURL("mxc://glowers.club/wpwHKoSFsxkNttaNyaNFzhMk")),
|
.setThumbnailURL("mxc://glowers.club/wpwHKoSFsxkNttaNyaNFzhMk")),
|
||||||
@ -266,6 +266,9 @@ const radioEntries = [
|
|||||||
RadioItem.new("hatethem")
|
RadioItem.new("hatethem")
|
||||||
.setMetadata("Niggerz Bop", "Mike David", "https://youtu.be/VkcAXS9IKdc")
|
.setMetadata("Niggerz Bop", "Mike David", "https://youtu.be/VkcAXS9IKdc")
|
||||||
.setNiggadata("hatethem", "585a286c042231244a73b19e")
|
.setNiggadata("hatethem", "585a286c042231244a73b19e")
|
||||||
|
.addSource(RadioSource.new("audio/mp3")
|
||||||
|
.setURL("mxc://glowers.club/kYKpgAelvgRjDOVHJYKIYwdS")
|
||||||
|
.setThumbnailURL("mxc://glowers.club/IbShqtSWZksFbnOdFiVDFwqD"))
|
||||||
.addSource(RadioSource.new("audio/ogg")
|
.addSource(RadioSource.new("audio/ogg")
|
||||||
.setURL("mxc://glowers.club/wdflEjUfqAkoyOyCDBXebDkw")
|
.setURL("mxc://glowers.club/wdflEjUfqAkoyOyCDBXebDkw")
|
||||||
.setThumbnailURL("mxc://glowers.club/IbShqtSWZksFbnOdFiVDFwqD")),
|
.setThumbnailURL("mxc://glowers.club/IbShqtSWZksFbnOdFiVDFwqD")),
|
||||||
@ -273,6 +276,10 @@ const radioEntries = [
|
|||||||
RadioItem.new("wishmaster")
|
RadioItem.new("wishmaster")
|
||||||
.setMetadata("Wishmaster", "Van Canto", "https://youtu.be/XCGQiGEYl4Y")
|
.setMetadata("Wishmaster", "Van Canto", "https://youtu.be/XCGQiGEYl4Y")
|
||||||
.setNiggadata("wishmaster", "570550d318f3c6dc5677b9f6")
|
.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")
|
.addSource(RadioSource.new("audio/ogg")
|
||||||
.setURL("mxc://glowers.club/uaxDKxCUtRVXMWAJgoKeiNcJ")
|
.setURL("mxc://glowers.club/uaxDKxCUtRVXMWAJgoKeiNcJ")
|
||||||
.setThumbnailURL("mxc://glowers.club/OKTbfAlagYXulaeBmgwkNwii")
|
.setThumbnailURL("mxc://glowers.club/OKTbfAlagYXulaeBmgwkNwii")
|
||||||
@ -285,6 +292,13 @@ const radioEntries = [
|
|||||||
.setURL("mxc://glowers.club/hRDjowdyaPRkdrRkHtCeqGug")
|
.setURL("mxc://glowers.club/hRDjowdyaPRkdrRkHtCeqGug")
|
||||||
.setThumbnailURL("mxc://glowers.club/qAtvGoVERlYfFnNWeizoYiGP")),
|
.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))
|
].filter(Boolean).map(a => a.serialize()).sort((a,b) => a.id.localeCompare(b.id))
|
||||||
|
|
||||||
const radioObj = {
|
const radioObj = {
|
||||||
@ -295,6 +309,3 @@ const radioObj = {
|
|||||||
fs.writeFileSync("./data/songs.json", JSON.stringify(radioObj))
|
fs.writeFileSync("./data/songs.json", JSON.stringify(radioObj))
|
||||||
//fs.writeFileSync("./data/songs.js", `glowersRadioSongsCallback(${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>`)
|
//fs.writeFileSync("./data/songs.html", `<html><script>glowersRadioSongsCallback(${JSON.stringify(radioObj)})</script></html>`)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user