Opened 6 years ago

Last modified 3 years ago

#1758 new defect

I2Snark-Set priorities for whole folders

Reported by: YesYesYes well maybe Owned by: zzz
Priority: minor Milestone: undecided
Component: apps/i2psnark Version: 0.9.24
Keywords: file priorities, file number dowload limit Cc:
Parent Tickets: Sensitive: no


I don't know how difficult this would be but setting the proprieties for for whole folders the same as files would be great. Specifically High-normal-skip.

I've noticed that if you "skip" enough files in a torrent then you can get around the number of files limit. This is useful in downloading books especially. Many times a certain book is in a large mass of book collections. You may only want two books in a torrent of 2000. Many times when books are torrented they have a lot of folders. With a folder priority selector you could skip all then selectively select the ones you want.

Thanks for the great work you're doing it's come a long way.


Change History (5)

comment:1 Changed 6 years ago by zzz

We have skip-all and set-all-high buttons within a folder now.

This proposal is to have buttons on the folder itself (in the next level above)? And it would apply recursively to everthing below?

comment:2 Changed 6 years ago by zzz

Status: newinfoneeded_new

No response, setting to needs-info

comment:3 Changed 4 years ago by slumlord

Status: infoneeded_newnew

That would make sense to me, setting priority for a directory affects priority for all subdirectories and files contained in them.

comment:4 Changed 4 years ago by zzz

Yeah, would be nice. The problem is needing to recurse all the way down to check the status of everything before we can know what options to display. Is the whole dir and its subdirs complete or not. Previously this may have been a O(n2) nightmare but I think with the precomputed FileAndIndex? list (see about line 3258) this could be doable.

A separate idea that could be done at the same time is a download-in-alpabetical-order button. We do support numeric (not just high/normal/skip) priorities underneath, but I never figured out a good way to represent it in the UI.

comment:5 Changed 3 years ago by uz-spark

I think that we need is to change behavior and UI so that each file and folder have info tab for current priority and item selection checkbox (bonus for simple selection by tapping on row). In header we need button to set specific priority (with dropdown to select that specific priority), button to set 'skip' priority and buttons to checkboxes management ('set all', 'set none' and 'invert selection'). Header must be doubled at the top of the list if list is more than page long.

And yes, priority set to folder must be recursive so say, you can skip entire torrent with two clicks (select all and skip), and set whatever files you want to download, rather than rummaging through entire multi-folder torrent skipping stuff.

Last edited 3 years ago by uz-spark (previous) (diff)
Note: See TracTickets for help on using tickets.