Closed AbdullahM0hamed closed 3 years ago
I don't like this tbh. What if there is a ,
in the title and the user wants to search that? The results would look confusing.
I don't see how this is much different from
anime dl 'naruto' -c 1 ; anime dl 'black fox' -c 1
either.
I have to agree lol. And queueing the commands instead of having a queue flag is way cleaner looking too
Closes #418.
The issue made 3 requests: • Auto-shutdown - this will not be added as per #419. • An option to pause - this can be done by cancelling mid-download with aria2c, and re-running the command when you wish to continue. • The ability to queue anime - this is what this PR is for.
Normal usage is unaffected. This PR adds a
-q
flag, which when used, allows the user to provide a comma delimited list of anime to queue: e.g:anime dl -q "Naruto, Black Fox"
. When using the-q
, if either the-c
flag or the-e
flag are used, they are also expected to be a comma delimited list of choices/episode selections and must match the number of queued anime.I've tested and everything appears to work, but I recommend that others do rigorous testing as well.