aports/testing/subliminal/legendastv.patch
2021-12-29 22:59:34 +00:00

11 lines
487 B
Diff

--- a/subliminal/providers/legendastv.py
+++ b/subliminal/providers/legendastv.py
@@ -161,7 +161,7 @@ class LegendasTVProvider(Provider):
# Provider needs UNRAR installed. If not available raise ConfigurationError
try:
- rarfile.custom_check([rarfile.UNRAR_TOOL], True)
+ rarfile.tool_setup(unrar=False, unar=False, bsdtar=True, force=True)
except rarfile.RarExecError:
raise ConfigurationError('UNRAR tool not available')