tsani / apollo

HTTP MPD integration for Labcoders Radio
MIT License
4 stars 0 forks source link

Direct download support #1

Open tsani opened 7 years ago

tsani commented 7 years ago

We currently only support youtube-dl downloading, but if a user has a link directly to an audio file, we should be able to download that. Also, links to zip files or other archives?

tsani commented 7 years ago

This should mean refactoring the /tracks endpoint. I think that this endpoint itself should support POST requests to create new tracks, with the request body specifying the specific strategy to use for acquiring the track (be it direct download from a URL, youtube-dl invocation, track supplied as base64, whatever).