New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort inner files for optimal download order #364

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

Comments

Projects
None yet
1 participant
@hugbug
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

#364: implemented file reordering
- 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

#364: remote command for sorting of inner files
subcommand “SF” of remote command “-E“
@hugbug

This comment has been minimized.

Show comment
Hide comment
@hugbug

hugbug Apr 22, 2017

Member

Implementation

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

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

This comment has been minimized.

Show comment
Hide comment
@hugbug

hugbug Apr 30, 2017

Member

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

Member

hugbug commented Apr 30, 2017

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

@hugbug hugbug reopened this Apr 30, 2017

@hugbug hugbug closed this Apr 30, 2017

hugbug added a commit that referenced this issue May 1, 2017

@hugbug hugbug referenced this issue May 3, 2017

Closed

Unpack during downloading #371

8 of 8 tasks complete

hugbug added a commit that referenced this issue Oct 9, 2017

hugbug added a commit that referenced this issue Oct 9, 2017

#364: implemented file reordering
- 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

#364: remote command for sorting of inner files
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 join this conversation on GitHub. Already have an account? Sign in to comment