Closed lipowskm closed 3 years ago
Ok now I've noticed that you're using that password too, my bad. Have you considered switching to the package instead of using 7z?
Honestly, I have not, but maybe it's a good idea. Two things I worry about:
Subtitles are small files anyway so decompression performance is not that important, I think.
I can work on this but not before weekend, if you @lipowskm have the time and dedication to implement it sooner, you're welcome to open first PR
The package itself is called pylzma
and it doesn't require any dependencies, so it's a good thing.
Also from the package homepage:
It states that it's platform independent. Hopefully I will have time to implement it before the weekend.
PR is now opened.
Thanks for implementation, updated version is now published on pypi as 1.1.2
after merging https://github.com/emkor/napi-py/pull/2
So one thing I noticed is that you could get rid of the necessity of having
7z
as an external tool completely.You can manage it using
py7zlib
package. Here's a sample code how I'm using it:Don't ask me about the
password
since I don't know where it came from, I found this piece of code somewhere on Github and did a little refactor, since it was outdated. But it does it's job obviously and doesn't require7z
at all.