This is a simple implementation of a music player inspired by this.
Drop this files on a flat folder with your mp3/ogg/webm files and run:
node generate.js
This will generate a db.json
file with a simple list of all files in that folder.
{
"files": [
"filename.mp3",
"otherfile.mp3",
...
]
}
Custom db.json
can also be created pointing to external files, etc...