352 lines
11 KiB
JavaScript
352 lines
11 KiB
JavaScript
const Webamp = window.Webamp;
|
|
const webamp = new Webamp({
|
|
initialTracks: [
|
|
{
|
|
"metaData": {
|
|
"artist": "Dave",
|
|
"title": "Sprinter"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/01.%20Dave%20-%20Sprinter.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "Coolio",
|
|
"title": "Gangsta's Paradise"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/02.%20Coolio%20-%20Gangsta's%20Paradise.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "Central Cee",
|
|
"title": "BAND4BAND"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/03.%20Central%20Cee%20-%20BAND4BAND.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "Central Cee",
|
|
"title": "Doja"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/04.%20Central%20Cee%20-%20Doja.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "BenzZ",
|
|
"title": "Je M'appelle"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/05.%20BenzZ%20-%20Je%20M'appelle.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "Aitch",
|
|
"title": "Rain"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/06.%20Aitch%20-%20Rain.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "21 Savage",
|
|
"title": "redrum"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/07.%2021%20Savage%20-%20redrum.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "ArrDee",
|
|
"title": "Oliver Twist"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/08.%20ArrDee%20-%20Oliver%20Twist.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "SR",
|
|
"title": "Welcome To Brixton"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/09.%20SR%20-%20Welcome%20To%20Brixton.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "Hzino",
|
|
"title": "Violation"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/10.%20Hzino%20-%20Violation.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "Tion Wayne",
|
|
"title": "Body (Remix) [feat. ArrDee, E1 (3x3), ZT (3x3), Bugzy Malone, Buni, Fivio Foreign & Darkoo]"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/11.%20Tion%20Wayne%20-%20Body%20(Remix)%20[feat.%20ArrDee,%20E1%20(3x3),%20ZT%20(3x3),%20Bugzy%20Malone,%20Buni,%20Fivio%20Foreign%20&%20Darkoo].flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "Russ Millions",
|
|
"title": "Body"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/12.%20Russ%20Millions%20-%20Body.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "Central Cee",
|
|
"title": "Day in the Life"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/13.%20Central%20Cee%20-%20Day%20in%20the%20Life.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "Central Cee",
|
|
"title": "Loading"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/14.%20Central%20Cee%20-%20Loading.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "OTP",
|
|
"title": "BM"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/15.%20OTP%20-%20BM.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "Central Cee",
|
|
"title": "Commitment Issues"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/16.%20Central%20Cee%20-%20Commitment%20Issues.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "Central Cee",
|
|
"title": "Obsessed With You"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/17.%20Central%20Cee%20-%20Obsessed%20With%20You.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "Central Cee",
|
|
"title": "6 For 6"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/18.%20Central%20Cee%20-%206%20For%206.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "Central Cee",
|
|
"title": "Khabib"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/19.%20Central%20Cee%20-%20Khabib.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "Central Cee",
|
|
"title": "Retail Therapy"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/20.%20Central%20Cee%20-%20Retail%20Therapy.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "Central Cee",
|
|
"title": "Daily Duppy (feat. GRM Daily)"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/21.%20Central%20Cee%20-%20Daily%20Duppy%20(feat.%20GRM%20Daily).flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "Asake",
|
|
"title": "Wave"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/22.%20Asake%20-%20Wave.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "Dave",
|
|
"title": "UK Rap"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/23.%20Dave%20-%20UK%20Rap.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "Central Cee",
|
|
"title": "gen z luv"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/24.%20Central%20Cee%20-%20gen%20z%20luv.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "BenzZ",
|
|
"title": "Je M'appelle (Remix)"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/25.%20BenzZ%20-%20Je%20M'appelle%20(Remix).flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "BenzZ",
|
|
"title": "Alors Alors"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/26.%20BenzZ%20-%20Alors%20Alors.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "Ice Spice",
|
|
"title": "Did It First"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/27.%20Ice%20Spice%20-%20Did%20It%20First.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "The Police",
|
|
"title": "Every Breath You Take (Remastered 2003)"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/28.%20The%20Police%20-%20Every%20Breath%20You%20Take%20(Remastered%202003).flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "Dave",
|
|
"title": "Trojan Horse"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/29.%20Dave%20-%20Trojan%20Horse.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "Russ Millions",
|
|
"title": "Reggae & Calypso (Russ Millions x Buni x YV)"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/30.%20Russ%20Millions%20-%20Reggae%20&%20Calypso%20(Russ%20Millions%20x%20Buni%20x%20YV).flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "Canking",
|
|
"title": "lemme land"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/31.%20Canking%20-%20lemme%20land_.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "ArrDee",
|
|
"title": "Oliver Twist"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/32.%20ArrDee%20-%20Oliver%20Twist.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "Russ Millions",
|
|
"title": "Big Shark"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/33.%20Russ%20Millions%20-%20Big%20Shark.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "SR",
|
|
"title": "What's Good"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/34.%20SR%20-%20What's%20Good.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "D38",
|
|
"title": "No Miming"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/35.%20D38%20-%20D38%20-%20No%20Miming.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "Russ Millions",
|
|
"title": "Talk To Me Nice"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/36.%20Russ%20Millions%20-%20Talk%20To%20Me%20Nice.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "Dave",
|
|
"title": "Thiago Silva"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/37.%20Dave%20-%20Thiago%20Silva.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "Russ Millions",
|
|
"title": "6:30"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/38.%20Russ%20Millions%20-%206_30.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "Oasis",
|
|
"title": "Champagne Supernova"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/39.%20Oasis%20-%20Champagne%20Supernova.flac"
|
|
},
|
|
{
|
|
"metaData": {
|
|
"artist": "New Music Masters",
|
|
"title": "Can't Hold Us (Like the Ceiling Can't Hold Us)"
|
|
},
|
|
"url": "https://eduardskibidiedger.github.io/noah1/40.%20New%20Music%20Masters%20-%20Can't%20Hold%20Us%20(Like%20the%20Ceiling%20Can't%20Hold%20Us).flac"
|
|
},
|
|
],
|
|
initialSkin: {
|
|
url: "../../skins/PurpleGlow.wsz",
|
|
},
|
|
availableSkins: [
|
|
{
|
|
url: "../../skins/Axon.wsz",
|
|
name: "Axon",
|
|
},
|
|
{
|
|
url: "../../skins/m-lo_black.wsz",
|
|
name: "Black",
|
|
},
|
|
{
|
|
url: "../../skins/PurpleGlow.wsz",
|
|
name: "Purple Glow",
|
|
},
|
|
{
|
|
url: "../../skins/purpleplayer.wsz",
|
|
name: "Purple",
|
|
},
|
|
{
|
|
url: "../../skins/TSWNN.wsz",
|
|
name: "TSWNN",
|
|
},
|
|
{
|
|
url: "../../skins/Vaporwave.wsz",
|
|
name: "Vaporwave",
|
|
},
|
|
],
|
|
__butterchurnOptions: {
|
|
importButterchurn: () => Promise.resolve(window.butterchurn),
|
|
getPresets: () => {
|
|
const presets = window.butterchurnPresets.getPresets();
|
|
return Object.keys(presets).map((name) => {
|
|
return {
|
|
name,
|
|
butterchurnPresetObject: presets[name],
|
|
};
|
|
});
|
|
},
|
|
butterchurnOpen: true,
|
|
},
|
|
});
|
|
// Disguise Dropdown Functionality
|
|
document.querySelectorAll('.dropdown-content a[data-title]').forEach(function(element) {
|
|
element.addEventListener('click', function(event) {
|
|
event.preventDefault();
|
|
const newTitle = this.getAttribute('data-title');
|
|
const newIcon = this.getAttribute('data-icon');
|
|
|
|
// Change the document title
|
|
document.title = newTitle;
|
|
|
|
// Change the favicon
|
|
const favicon = document.getElementById('favicon');
|
|
if (favicon) {
|
|
favicon.href = newIcon;
|
|
} else {
|
|
const link = document.createElement('link');
|
|
link.id = 'favicon';
|
|
link.rel = 'icon';
|
|
link.type = 'image/x-icon';
|
|
link.href = newIcon;
|
|
document.head.appendChild(link);
|
|
}
|
|
});
|
|
});
|
|
webamp.renderWhenReady(document.getElementById("app"));
|