Thread: [Solved] Problem with NinjaStream.to
View Single Post
  #5  
Old 11.12.2020, 15:09
timschumi timschumi is offline
Modem User
 
Join Date: Dec 2020
Posts: 3
Default

I'm currently trying to track down the issue (or rather, I already found it), but I need some help with fully fixing it.

Basically, Ninjastream splits up their files into 50MB chunks (or less) and prepends a "fake" PNG-File to each chunk (for whatever reason, but it's always the same size and presumably the same data; EDIT: it is the same data). Right now, the JD plugin only downloads the first chunk (using a hardcoded name) and dumps it to disk as-is.

I already modified my local source checkout to retrieve all the chunk filenames, but right now I'm stuck on the task of "download each chunk, remove the PNG data from the start of each, and concat them into a single file". Are there any existing plugins where I can look up how such a functionality is implemented?
Reply With Quote