diff --git a/generate.js b/generate.js index 3195f51..9555437 100755 --- a/generate.js +++ b/generate.js @@ -420,7 +420,8 @@ const BMetadataType = { "OFFICIAL": 0b10000, "EXPLICIT": 0b100000, "PREFERED": 0b1000000, - "PSEUDONYM": 0b10000000 + "PSEUDONYM": 0b10000000, + "UNAVAILABLE": 0b100000000 } for (const key in BMetadataType) { @@ -1522,6 +1523,75 @@ const mediaItems = [ .setURI("mxc://glowers.club/nMeEwePIzXGmGExipZUTSQqz") .addPreview("mxc://glowers.club/TWDjcpCgIdZIykkHtTmMPJNS", "image/jpg", "390x390")), + RadioItem.new("badapple") + .addItemInfo(RadioMetadata.newLAV("Bad Apple!! but its Vintage Mac sounds", "Raw Elements", RadioMetadata.createYouTubeURI("I7B_OQ1qn44")).bOfficial()) + .addItemInfo(RadioMetadata.newLA("Bad Apple!!", "nomico", RadioMetadata.createNicoNicoURI("sm8628149")).setFor(0).bOriginal()) + .addItemInfo(RadioMetadata.newLA(null, null, RadioMetadata.createAppleMusicURI(1440636627)).setFor(0).bOriginal().bOfficial().bAlt()) + .addTags([ "metadata-prefer-id" ]) + .addSource(RadioSource.new("video/mp4", [ "avc1.4D4029", "mp4a.40.2" ]) + .setURI("mxc://glowers.club/vTjtZkwykdUKcTDGVziJwXHv") + .addPreview("mxc://glowers.club/OgAhAkVDicCifAJmdrhePLrT", "image/jpg", "800x450")) + .addSource(RadioSource.new("audio/mp3", [ "mp3" ]) + .setURI("mxc://glowers.club/ZdoDgZQdPUPEaJqgfqXtAPAn") + .addPreview("mxc://glowers.club/gEDWLnUzgvGmDWwIAuIMDmcX", "image/jpg", "500x500")), + + RadioItem.new("kramer") + .setMiscInfo(RadioMiscInfo.new().bExplicit()) + .addItemInfo(RadioMetadata.newLAV("wholesome ytpmv :3", "KrazedDonut", RadioMetadata.createYouTubeURI("LVdJ6cqqiUA")).bOfficial().bUnavailable().bExplicit()) + .addItemInfo(RadioMetadata.newLA("Spin ye Bottle (Minigame)", "Jake Kaufman", RadioMetadata.createBandcampURI("spin-ye-bottle-minigame", "virt")).setFor(0).bOriginal().bOfficial()) + .addItemInfo(RadioMetadata.newLA(null, null, RadioMetadata.createAppleMusicURI(1170509291)).setFor(0).bOriginal().bOfficial().bAlt()) + .addTags([ "metadata-prefer-id" ]) + .addSource(RadioSource.new("video/mp4", [ "avc1.4D4029", "mp4a.40.2" ]) + .setURI("mxc://glowers.club/FztaIVnDJeHkYQfZmdHFOdnP") + .addPreview("mxc://glowers.club/FKCKRytGQEFRJUxTfeKjXmXz", "image/jpg", "800x450")) + .addSource(RadioSource.new("audio/mp3", [ "mp3" ]) + .setURI("mxc://glowers.club/hqRzxaQMWfQoZGpiPIbyNSEk") + .addPreview("mxc://glowers.club/JurRLPteOyFLrfJoRJuzbZkH", "image/jpg", "500x500")), + + RadioItem.new("bonuspie") + .addItemInfo(RadioMetadata.newLAV("i baked you a bonus room", "seki", RadioMetadata.createYouTubeURI("8yoda3JQfVE")).bOfficial()) + .addItemInfo(RadioMetadata.newLA("Bonus Room Blitz", "Jake Kaufman", RadioMetadata.createYouTubeURI("zXJtgIwPLTA")).setFor(0).bOriginal()) + .addTags([ "metadata-prefer-id", "ylyl" ]) + .addSource(RadioSource.new("video/mp4", [ "avc1.4D4029", "mp4a.40.2" ]) + .setURI("mxc://glowers.club/RettRchnnJFSpMrffDAlAyhm") + .addPreview("mxc://glowers.club/eAYaMQSCbyLAGxhAvcoPxCfO", "image/jpg", "800x450")) + .addSource(RadioSource.new("audio/mp3", [ "mp3" ]) + .setURI("mxc://glowers.club/UphXdyanOsNnuwyBMomhsKYF") + .addPreview("mxc://glowers.club/ZNZnUEjHrBxDZAINwaXSbxMw", "image/jpg", "430x430")), + + RadioItem.new("preciouswindows") + .addItemInfo(RadioMetadata.newLAV("Windowsが大切なファイルを盗んだ", "fennecHex", RadioMetadata.createYouTubeURI("UptbjNjPjE0")).bOfficial()) + .addItemInfo(RadioMetadata.newLAV("魔理沙は大変なものを盗んでいきました", "IOSIS", RadioMetadata.createInternetArchiveURI("precious_thing")).setFor(0).bOriginal()) + .addSource(RadioSource.new("video/mp4", [ "avc1.4D4029", "mp4a.40.2" ]) + .setURI("mxc://glowers.club/ZVEWHCaQvDwUTMNFmMYaoTsl") + .addPreview("mxc://glowers.club/oxMUApdwmYtgIDkXacPVVOIP", "image/jpg", "800x450")) + .addSource(RadioSource.new("audio/mp3", [ "mp3" ]) + .setURI("mxc://glowers.club/WDAmEuAHkKqndZvANrwJQSzB") + .addPreview("mxc://glowers.club/nqjlJDKzeJHdonTlxaoRPXsk", "image/jpg", "493x493")), + + RadioItem.new("quagmire") + .addItemInfo(RadioMetadata.newLAV("ytpmv quagmire", "ManGuyAlt", RadioMetadata.createYouTubeURI("8yoda3JQfVE")).bOfficial()) + .addItemInfo(RadioMetadata.newLA("The World Revolving", "Toby Fox", RadioMetadata.createYouTubeURI("Z01Tsgwe2dQ")).setFor(0).bOriginal().bOfficial()) + .addItemInfo(RadioMetadata.newLA(null, null, RadioMetadata.createAppleMusicURI(1443475747)).setFor(0).bOriginal().bOfficial().bAlt()) + .addTags([ "metadata-prefer-id" ]) + .addSource(RadioSource.new("video/mp4", [ "avc1.4D4029", "mp4a.40.2" ]) + .setURI("mxc://glowers.club/gXaCMGISyZNKPyFmYmKutopp") + .addPreview("mxc://glowers.club/hOVpKbqGxKKvzpujMiRhcnzg", "image/jpg", "800x450")) + .addSource(RadioSource.new("audio/mp3", [ "mp3" ]) + .setURI("mxc://glowers.club/EZBKbhtPQBvrHACxCtiHmrSs") + .addPreview("mxc://glowers.club/kWIPOTRFxeRmQNbGZWYQBorZ", "image/jpg", "64x64")), + + RadioItem.new("hummerguy") + .addItemInfo(RadioMetadata.newLAV("hummer guy ytpmv", "gud boi", RadioMetadata.createYouTubeURI("A2Fd4NHreI0")).bOfficial()) + .addItemInfo(RadioMetadata.newLA("Skrillex - Scary Monsters and Nice Sprites (Sihk Happy Hardcore Remix)", "SIHK", RadioMetadata.createYouTubeURI("Z01Tsgwe2dQ")).setFor(0).bOriginal().bOfficial()) + .addItemInfo(RadioMetadata.newLA(null, null, RadioMetadata.createSoundcloudURI("skrillex-scary-monsters-nice-sprites-sihk-happy-hardcore-remix-free-dl", "sihk66")).setFor(0).bOriginal().bOfficial().bAlt()) + .addSource(RadioSource.new("video/mp4", [ "avc1.4D4029", "mp4a.40.2" ]) + .setURI("mxc://glowers.club/jnmPzoUhxCTrvRZmpxmGXYMr") + .addPreview("mxc://glowers.club/AmkQLtUuuCixPKNzkugAkiHh", "image/jpg", "800x449")) + .addSource(RadioSource.new("audio/mp3", [ "mp3" ]) + .setURI("mxc://glowers.club/wtsFmPEzerDPdzOSQraBzupN") + .addPreview("mxc://glowers.club/UPPtHMbKXrEaeHLDYovVkZRt", "image/jpg", "440x440")), + ].filter(Boolean).map((a,i) => a.serialize(i)).sort((a,b) => a.id.localeCompare(b.id)) const lintCodecWarnings = {