Since we need to check if media exists before putting a command on the queue, we check for it immediately, but currently we also immediately download it.
Pros:
Downloading the media immediately usually means the media is ready by the time its time to process that command.
Cons:
Big queue could use a LOT of storage while waiting.
Tons of parallel downloads is resource hungry.
With this in mind, we should 100% split it into 2 steps, getting the location of the file, and then downloading from that location later.
Since we need to check if media exists before putting a command on the queue, we check for it immediately, but currently we also immediately download it.
Pros:
Cons:
With this in mind, we should 100% split it into 2 steps, getting the location of the file, and then downloading from that location later.