MestreLion / legendastv

API for Legendas.TV website, world's largest repository of Brazilian Portuguese Movie/TV Series subtitles. Utilities to search, retrieve info, download, extract and match subtitles.
15 stars 3 forks source link

Update unrar usage #23

Closed guilhermearaujo closed 6 years ago

guilhermearaujo commented 8 years ago

This fixes a couple of crashes I had while running this project on Raspbian.

I'm not entirely sure if this is due different versions of python-unrar or libunrar. I am using the latest of both.

guilhermearaujo commented 8 years ago

After further investigation, looks like the project currently uses the rarfile package, which relies on the fact that Unrar (the application) needs to be installed. This pull request will actually replace the usage of rarfile with unrar (the library, not the application). This is preferred since the application is not available at all platforms (for instance, Raspbian), while the open-source library can be compiled at most platforms.

MestreLion commented 8 years ago

And where can I get the library from? Is it available in Debian/Ubuntu repositories?

guilhermearaujo commented 8 years ago

The source code and binaries are available at WinRAR page.

MestreLion commented 6 years ago

Thanks @guilhermearaujo !