jan-carreras / torrentpreviewer

Simple application that lets you generate img previews from torrents without downloading all the content
MIT License
2 stars 0 forks source link

Refactor downloadPartials so that queues the jobs to be done, and not actually processes them #15

Closed jan-carreras closed 3 years ago

jan-carreras commented 3 years ago

Right now DownloadPartials is doing a little bit too much. This service can be refactored so that it only generates a plan made out of different DownloadPlans — each plan is going to be triggered as a Command Event. Those plans are going to be idempotent and going to be processed in parallel.

Right now we only download one DownloadPlan, the first one, and some videos are not processed. That needs to change.