Probably rarely used, but should be trivial to add since .gz is already being handled?
https://docs.python.org/3/library/bz2.html
https://docs.python.org/3/library/lzma.html
Support for NZB in .bz2/.lzma/.xz?
Re: Support for NZB in .bz2/.lzma/.xz?
lzma is not supported in Python 2.6 and 2.7, so that won't happen.
bz2 wouldn't be that much effort, but as you said yourself, the user base would be tiny.
Do you know any indexers that use .bz2 ?
bz2 wouldn't be that much effort, but as you said yourself, the user base would be tiny.
Do you know any indexers that use .bz2 ?
-
- Newbie
- Posts: 4
- Joined: July 15th, 2015, 5:31 am
Re: Support for NZB in .bz2/.lzma/.xz?
There's a backport for Python 2: https://pypi.python.org/pypi/backports.lzma
I'm not sure if it's possible in Python to automatically detect if it exists or not, and just use it if it does.
I don't know of any index which uses bz2, but perhaps no-one will until a client supports it? Indexes would benefit the most from better compression: less bandwidth and storage costs, after all.
I'm not sure if it's possible in Python to automatically detect if it exists or not, and just use it if it does.
I don't know of any index which uses bz2, but perhaps no-one will until a client supports it? Indexes would benefit the most from better compression: less bandwidth and storage costs, after all.
Re: Support for NZB in .bz2/.lzma/.xz?
OK, I have added .bz2 support (0.8.0Alpha4).
The rest will have to wait until later.
The rest will have to wait until later.
-
- Newbie
- Posts: 4
- Joined: July 15th, 2015, 5:31 am
Re: Support for NZB in .bz2/.lzma/.xz?
Cool! Thank you shypike!