Your "Vinyl Record Storage Shelf".
musicstore = audiofilestore + crud(metadata) + murecom
vim config.yaml # edit the config file
go run . # -h for help
Get all tracks:
curl localhost:8080/tracks # | json_pp
Get a specific track by ID:
curl localhost:8080/tracks/1
(Endpoint /tracks
supports other RESFful CRUD operations.)
Upload a file:
curl -X POST -F '[email protected]' localhost:8080/example-audio/new
Or let server download the file from a URL:
curl -X POST -F 'AudioFileURL=https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3' localhost:8080/example-audio/new
Get a recommendation based on your current emotion:
curl 'localhost:8080/murecom?Valence=0.5&Arousal=0.5'