In addition to the suggested changes the following is now possible as
upstream uses python3-rarfile now:

Using the following patch and adding unar to the Depends rar files will
be extracted using unar (which has more complete format support).
unrar-free still has to be a Depends to satisfy the start-up check.

--- a/sabnzbd/newsunpack.py
+++ b/sabnzbd/newsunpack.py
@@ -180,7 +180,7 @@ def find_programs(curdir: str):
         sabnzbd.newsunpack.PAR2_TURBO = 
par2_turbo_check(sabnzbd.newsunpack.PAR2_COMMAND)

     # Set the path for rarfile
-    rarfile.UNRAR_TOOL = sabnzbd.newsunpack.RAR_COMMAND
+    rarfile.UNRAR_TOOL = "/usr/bin/unar"


 ENV_NZO_FIELDS = [

Reply via email to