- Add
close
method to Nitpin class
- Bugfixes
- Improve handling of missing articles during NZB download
- Don't trust the subject wether the segment is yenced or not
- Use
graceful-fs
package to work around EMFILE errors - Added more function names for debugging memory leaks
- Use SlowBuffer instead of a regular Buffer
- Use
request
for getting NZB file - Accept gzip resonses when downloading the NZB file
NzbDocument
now emits agot_segment
event for each successful segment download, andmissed_segment
for every missNzbFile
segment objects now have afrom_cache
propertyNzbDocument
now emits apar_progress
event- Add
yenc_throttle
to the Nitpin config (defaults to 50) - Use
par2repair
instead ofpar2 r
, because the latter sometimes hangs for no reason - Only rar groups with the highest number of files are used in NZB documents
- Bugfix: caching downloaded segments won't leave any file descriptors open
- Update for new Protoblast version
- Nitpin server command methods now return promise-like objects that can be paused, resumed or cancelled.
- Article bodies fetched during an NZB download will be cached
- A
progress
event is emitted on NzbFile instances when a segment is done - De-yencing an nzb file is now throttled, so the process isn't maxed out
- Nzb-segments will now be processed through a FunctionQueue, so they'll arive in order
- Added PAR repair support
- Added first (basic) unit tests
- Issued commands will no longer be spread randomly (but evenly) over the workers, but will wait for a worker to announce himself as free. This makes commands run in order more.
- Fixed multiline responses not being ended properly.
- Fix: Multiline chunk responses are no longer being kept in an array
- More NZB support and some info on it in the README
- Fix: remove dot stuffing from server response
- Feature: Add option to convert \r\n to \n (off by default)
- Improve response handling with buffers
- Add NZB parse support
- Initial release