128 lines
3.6 KiB
JavaScript
128 lines
3.6 KiB
JavaScript
/* FediMusicPlayer - An HTML5 + Javascript Music Player
|
||
* Copyright (C) 2023 Anon <@Anon@yandere.cc>
|
||
*
|
||
* This program is free software: you can redistribute it and/or modify
|
||
* it under the terms of the GNU Affero General Public License as published by
|
||
* the Free Software Foundation, either version 3 of the License, or
|
||
* (at your option) any later version.
|
||
*
|
||
* This program is distributed in the hope that it will be useful,
|
||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
* GNU Affero General Public License for more details.
|
||
*
|
||
* You should have received a copy of the GNU Affero General Public License
|
||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||
*/
|
||
|
||
/* Each list in the musicList should contain 5 strings as follows
|
||
* 0: Track title
|
||
* 1: Artist name
|
||
* 2: Track length
|
||
* 3: Path to the music file
|
||
* 4: Path to the art file
|
||
*/
|
||
|
||
const musicList = [
|
||
[ "Declare War on All Vocaloid",
|
||
"Sukone Tei",
|
||
"05:53",
|
||
[
|
||
{src: "media/declare_war_on_all_vocaloid.ogg", type: "audio/ogg"},
|
||
{src: "media/declare_war_on_all_vocaloid.m4a", type: "audio/m4a"},
|
||
{src: "media/declare_war_on_all_vocaloid.mp3", type: "audio/mp3"}
|
||
],
|
||
"art/declare_war_on_all_vocaloid.png"
|
||
],
|
||
[ "Chains",
|
||
"Sukone Tei",
|
||
"05:46",
|
||
[
|
||
{src: "media/chains.ogg", type: "audio/ogg"},
|
||
{src: "media/chains.m4a", type: "audio/m4a"},
|
||
{src: "media/chains.mp3", type: "audio/mp3"}
|
||
],
|
||
"art/chains.png"
|
||
],
|
||
[ "Verheerender - LOYALTY",
|
||
"Azur Lane",
|
||
"01:45",
|
||
[
|
||
{src: "media/loyalty.ogg", type: "audio/ogg"},
|
||
{src: "media/loyalty.m4a", type: "audio/m4a"},
|
||
{src: "media/loyalty.mp3", type: "audio/mp3"}
|
||
],
|
||
"art/loyalty.jpg"
|
||
],
|
||
[ "True Love Restraint",
|
||
"Len Kagamine",
|
||
"03:35",
|
||
[
|
||
{src: "media/true_love_restraint.ogg", type: "audio/ogg"},
|
||
{src: "media/true_love_restraint.m4a", type: "audio/m4a"},
|
||
{src: "media/true_love_restraint.mp3", type: "audio/mp3"}
|
||
],
|
||
"art/true_love_restraint.jpg"
|
||
],
|
||
[ "Tei",
|
||
"Sukone Tei",
|
||
"03:58",
|
||
[
|
||
{src: "media/tei.ogg", type: "audio/ogg"},
|
||
{src: "media/tei.m4a", type: "audio/m4a"},
|
||
{src: "media/tei.mp3", type: "audio/mp3"}
|
||
],
|
||
"art/tei.png"
|
||
],
|
||
[ "iNSaNiTY",
|
||
"Kasane Teto + Namine Ritsu",
|
||
"04:55",
|
||
[
|
||
{src: "media/insanity.ogg", type: "audio/ogg"},
|
||
{src: "media/insanity.m4a", type: "audio/m4a"},
|
||
{src: "media/insanity.mp3", type: "audio/mp3"}
|
||
],
|
||
"art/insanity.png"
|
||
],
|
||
[ "You’re Seriously Mad? I’m Not Mistaken Here?",
|
||
"MAYU",
|
||
"03:50",
|
||
[
|
||
{src: "media/youre_seriously_mad.ogg", type: "audio/ogg"},
|
||
{src: "media/youre_seriously_mad.m4a", type: "audio/m4a"},
|
||
{src: "media/youre_seriously_mad.mp3", type: "audio/mp3"}
|
||
],
|
||
"art/your_seriously_mad.png"
|
||
],
|
||
[ "Psychotic Love Song",
|
||
"Sukone Tei",
|
||
"05:02",
|
||
[
|
||
{src: "media/psychotic_love_song.ogg", type: "audio/ogg"},
|
||
{src: "media/psychotic_love_song.m4a", type: "audio/m4a"},
|
||
{src: "media/psychotic_love_song.mp3", type: "audio/mp3"}
|
||
],
|
||
"art/psychoticlovesong.png"
|
||
],
|
||
[ "Rotten Girl, Grotesque Romance",
|
||
"Hatsune Miku",
|
||
"04:10",
|
||
[
|
||
{src: "media/rotten_girl.ogg", type: "audio/ogg"},
|
||
{src: "media/rotten_girl.m4a", type: "audio/m4a"},
|
||
{src: "media/rotten_girl.mp3", type: "audio/mp3"}
|
||
],
|
||
"art/grotesquromance.png"
|
||
],
|
||
[ "Monopolizing Romance",
|
||
"Hatsune Miku",
|
||
"03:36",
|
||
[
|
||
{src: "media/monopolizing_romance.ogg", type: "audio/ogg"},
|
||
{src: "media/monopolizing_romance.m4a", type: "audio/m4a"},
|
||
{src: "media/monopolizing_romance.mp3", type: "audio/mp3"}
|
||
],
|
||
"art/monopolizing_romance.png"
|
||
]
|
||
]
|