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_ppGet a specific track by ID:
curl localhost:8080/tracks/1(Endpoint /tracks supports other RESFful CRUD operations.)
Upload a file:
curl -X POST -F 'File=@song.mp3' localhost:8080/example-audio/newOr 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/newGet a recommendation based on your current emotion:
curl 'localhost:8080/murecom?Valence=0.5&Arousal=0.5'