What about music stored on the server on which CloudTunes is running? Can it play that?
Client-side model:
https://github.com/jakubroztocil/cloudtunes/blob/master/clou...
API endpoint: for local files, it could simply serve the file:
https://github.com/jakubroztocil/cloudtunes/blob/master/clou...
Plus it would also need indexing, configuration, and to introduce a new media type across the app.