Giter Site home page Giter Site logo

nzbfs's People

Contributors

danielfullmer avatar richardfullmer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

nzbfs's Issues

Separate nzb and rar extraction into their own scripts

Instead of doing nzb and rar "extraction" within the nzbfs.py process, we could separate those tasks into their own scripts. We'd let nzbfs trigger another script whenever a .nzb file is closed. That script would then parse, create a subdir, and write out protobuf files for each file in the nzb. It could then forward that along to another script for rar extraction, which would work similarly.

zlib.error: Error -3 when calling nzbfs-extract-rars

I'm trying to use the auto-extract feature of nzbfs, but I receive the following error.

Traceback (most recent call last):
File "/usr/local/bin/nzbfs-extract-rars", line 11, in
extract_rars_in_dir(sys.argv[1])
File "/usr/local/lib/python2.7/dist-packages/nzbfs/tools.py", line 114, in extract_rars_in_dir
extract_rar(dirpath, rar_filenames)
File "/usr/local/lib/python2.7/dist-packages/nzbfs/tools.py", line 43, in extract_rar
'%s/%s-raw' % (dirpath, rar_filename))
File "/usr/local/lib/python2.7/dist-packages/nzbfs/files.py", line 452, in load_nzbfs_file
data = zlib.decompress(compressed_data)
zlib.error: Error -3 while decompressing data: unknown compression method

I have the following zlib packages installed.
ii zlib1g:amd64 1:1.2.8.dfsg-1ubuntu1 amd64 compression library - runtime
ii zlib1g-dev:amd64 1:1.2.8.dfsg-1ubuntu1 amd64 compression library - development

Any help would be hugely appreciated. Thank you for the really useful software!

Randomly uses 100% of CPU

Sometimes, some thread decides to use up as much CPU as possible. This is probably due to livelock in in the complicated locking system I'm using.

Use a better caching system

Either:

  1. Improve the existing cache
  2. Use another cache like "beaker"

Specifically, I would really like to have an on-disk cache that is given a particular amount of space it can use, while rotating out old cache entries if they haven't been used for a while.

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.