Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Sort inner files for optimal download order #364

Closed
hugbug opened this issue Apr 22, 2017 · 2 comments
Closed

Sort inner files for optimal download order #364

hugbug opened this issue Apr 22, 2017 · 2 comments
Labels
Milestone

Comments

@hugbug
Copy link
Member

hugbug commented Apr 22, 2017

When nzb-file is added to queue the files listed within nzb can be in a random order. To ensure download of archive parts in correct order the files must reordered (alphabetically).

This feature is a prerequisite for unpack during downloading which is the ultimate goal.

Even without advanced unpack the sorting of inner files have another usage: when archive files come in sorted order it is possible to start watching of video file directly from archive (when using video players supporting playback from archives).

When direct renaming is active (#362) the sorting must be done again after the correct file names become known.

@hugbug hugbug added the feature label Apr 22, 2017
@hugbug hugbug added this to the v19 milestone Apr 22, 2017
hugbug added a commit that referenced this issue Apr 22, 2017
hugbug added a commit that referenced this issue Apr 22, 2017
- reordering inner files after adding nzb to queue;
- reordering inner files after adding direct renaming;
- new command “GroupSortFiles” in api-method “editqueue”.
hugbug added a commit that referenced this issue Apr 22, 2017
subcommand “SF” of remote command “-E“
@hugbug
Copy link
Member Author

hugbug commented Apr 22, 2017

Implementation

  • new option ReorderFiles;
  • new command GroupSortFiles of API-method editqueue;
  • new subcommand SF of remote command --edit/-E.

@hugbug
Copy link
Member Author

hugbug commented Apr 30, 2017

To fix: .rar must be sorted before .r01.

@hugbug hugbug reopened this Apr 30, 2017
@hugbug hugbug closed this as completed Apr 30, 2017
hugbug added a commit that referenced this issue Apr 30, 2017
hugbug added a commit that referenced this issue May 1, 2017
@hugbug hugbug mentioned this issue May 3, 2017
8 tasks
hugbug added a commit that referenced this issue Oct 9, 2017
hugbug added a commit that referenced this issue Oct 9, 2017
- reordering inner files after adding nzb to queue;
- reordering inner files after adding direct renaming;
- new command “GroupSortFiles” in api-method “editqueue”.
hugbug added a commit that referenced this issue Oct 9, 2017
subcommand “SF” of remote command “-E“
hugbug added a commit that referenced this issue Oct 9, 2017
hugbug added a commit that referenced this issue Oct 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant