glujan / drpg

Download and keep up to date your purchases from DriveThruRPG
MIT License
18 stars 6 forks source link

Limited sync #37

Open matthewturk opened 1 year ago

matthewturk commented 1 year ago

Hi! This is amazing and I love it. Is it possible to have it selectively sync, and just download a handful of the files?

If you would be open, I could try to provide a patch to start support, but I also don't want to jump in if not!

glujan commented 1 year ago

Hi, I'm glad you find this little project useful 😃

Currently only archived products won't be downloaded, there is no way to further narrow down what will be downloaded.

I'm open for external contributions 😃 But first I think we should align how should this new feature work. What's your use case for it (why do you need it)? Do you want to only download files from certain publishers, only newest ones or for a certain rule system?

glujan commented 1 year ago

Hi @matthewturk , any thoughts on this?

matthewturk commented 1 year ago

Hi @glujan ! Sorry for not replying. One reason I was thinking about this specific enhancement was that through bundles and the like I've ended up with a fair number of items, and while I would like to be up-to-date on many of them, not necessarily all of them need to be on my machine at once. But, the bulk download option is still really interesting to me, and this is a good library to do that! I understand it may be out of scope, however.

glujan commented 1 year ago

@matthewturk No worries!

I was thinking about having interactive synchronization so user can select what products should be downloaded but in case of a bigger library it may take longer to select those products than just do a full sync.

Maybe it is possible to filter by a purchase date (ie only download newer/older than a given date) by I'm not sure if it is possible in API.