Comments (3)
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.
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.
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)
- vfat sort HOT 9
- ssh-keyparse --patch-key timings HOT 1
- ssh-keyparse base64 HOT 5
- Connect to PAN from Smartphone HOT 1
- base64 encoding discrepancy HOT 1
- Interoperability with OpenSSL HOT 3
- twitch_vod_fetch: final file move fails when --ytdl-output-format specifies non-existing directory HOT 1
- vfat_shuffler: cannot import name 'Embedded' from 'construct' HOT 2
- vfat_shuffler: Cannot re-mount into /media/$user/$autoname HOT 1
- twitch_vod_fetch download fails (with with rpc error?) HOT 14
- vfat_shuffler: Listing crashes with KeyError: '.' HOT 3
- vfat_shuffler: Listing device without path does not work HOT 1
- vfat_shuffler: Randomization crashes: get_chain() missing 1 required positional argument: 'clidx' HOT 7
- twitch_vod_fetch not using ytdl/aria2c options HOT 1
- twitch_vod_fetch --ytdl-output-format option can't move output file to another drive on Windows HOT 2
- [Duplicate Issue] twitch_vod_fetch --ytdl-output-format can't move output file to another drive on Windows
- Reverting ssh-keyparse HOT 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fgtk.