DJDoubleD / QobuzDownloaderX-MOD

Downloads streams directly from Qobuz. Experimental refactoring of QobuzDownloaderX by AiiR
GNU General Public License v3.0
406 stars 14 forks source link

Adds the ability to download multiple things in a queue. #89

Open IsaacShoebottom opened 1 month ago

IsaacShoebottom commented 1 month ago

Simply splits the input URL box on newlines and downloads them all in a queue. It's not perfect but I've been using this tweak for about a year now and it hasn't failed me once. At worst its just an undocumented feature that should not impact a regular user, so I figured I'd contribute upstream. It looks a bit odd as the download URL box is only 1 line, and does not expand, but clicking download works, and runs through all input items.

If this doesn't work for you let me know of any tweaks to the coding style or any bugs you may spot

Permission granted to steal commits, don't really gaf, just wanted a feature like this so I made it, figured I'd upstream.

If you want to not import interop stuff and make it windows exclusive newlines, sure, idrc.

IsaacShoebottom commented 1 month ago

Would also somewhat fix #6, even if a bit jank

IsaacShoebottom commented 1 month ago

Some other forks seem to have implemented a more sophisticated version of queuing, see https://github.com/Eradev/QobuzDownloaderX-MOD

My version is very simple and does not do any refactoring of systems, so if the this fork decides to submit a PR, I have no objections to it going through instead, or adding mine in the interim if the other fork submits a PR.

IsaacShoebottom commented 1 month ago

It may be possible to change the early returns in the for loop to continue, if the behavior of the queue should be to silently ignore bad links in the queue, or can be left as is it the queue should error on bad links.