Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Added RSS server so that other applications or devices can consume downloaded content. #197
Original report from Nick Sharples at 09:33:59 on 2011-07-04
It would be useful to have the ability to access downloaded content from a 3rd party application (such as iTunes) in order for it to be handled in the same manner as content sourced from elsewhere (directly from the BBC for example) which is provided in the form of podcasts.
The primary benefits of an approach such as this is that it could allow Radio Downloader to be used as an aggregation device on a local network and at the same time allow the end-user to manage content on a portable device in a familiar manner.
In addition, so long as a Windows host exists to run Radio Downloader (or a Mac or Linux machine in the case of the proposed Mono distribution), this approach could provide a simple solution to platform independence.
Attached is some example code that provides a very basic proof of concept.
There are known limitation to this implementation. Primarily:
1/ The System.Net.HttpListener used to provide the HTTP capability does not allow for concurrent requests. Currently only one file can be downloaded at a time. This is a significant drawback.
2/ As a POC, this code does very little in terms of error checking and cannot be guaranteed at this time not to affect the stability of any Radio Downloader installation that is built from source to include it.
Imported from Bug 502 in the NerdoftheHerd.com Bugzilla.