Giter VIP home page Giter VIP logo

Comments (3)

mk-fg avatar mk-fg commented on June 7, 2024 1

No, can totally reproduce it even more obviously with "file_append_batch = 10" left as it is and 5chunks-by2 command, where resulting file is left completely empty and all chunks in the tmp dir.
It's likely due to arbitrary order in which aria2 finished downloading chunks in parallel, while script has to append them in strict order.

Anyway, that missing check was definitely an issue and skipped appending last 0-file_append_batch chunks.
If you got lucky and download ended with "n >= file_append_batch" chunks still in tmp, it'd append them, which is why cutting short only happened in some cases, but not all of them.
Can happen due to that random downloading order ([re-]started sequentially, finish whenever), e.g. if chunk-1 out of 20 finishes last, all 20 would've been appended after that just fine.

Should be fixed now, should've looked into it earlier myself.
Thanks a lot for reporting!

from fgtk.

mk-fg avatar mk-fg commented on June 7, 2024

Ah yes, I was wondering why I was seeing videos seemingly cut a little short for a while, but never thought to check, always thinking "eh, must be twitch anyway". Will look into it in a moment.

from fgtk.

mk-fg avatar mk-fg commented on June 7, 2024

Pretty sure it was missing chunks.finished check, now fixed in 7214985, but I can't seem to reproduce the issue so far, which is weird, as it definitely should happen with that check missing, will try a bit more.

from fgtk.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.