kristopolous / DRR

A DVR to record the radio that doesn't get podcasted
http://indycast.net
MIT License
19 stars 4 forks source link

for cloud files make the first intent the downloader #71

Closed kristopolous closed 9 years ago

kristopolous commented 9 years ago

so when things need to be pulled and put together, the first time a user requests it, it shouldn't just put the file pre-emptively there. No. It should create it and then when the user asks again with the podcast app it should be there?

I don't know if this sounds like a great idea after all ... let me think about it

kristopolous commented 9 years ago

I guess alternatively I could block.

kristopolous commented 9 years ago

An inverse stream request system will make this work.

The idea is that any unix time_duration mp3 can be requested and it will be reconstituted using the same stitching logic.

Then the only challenge is to make sure there is no race condition between the XML request trying to create it and the mp3 request doing so.

In fact, the preemptive first style can be deprecated.