Skip to content

Commit

Permalink
nzbget: fix unrar and 7z paths
Browse files Browse the repository at this point in the history
  • Loading branch information
saltydk committed Mar 16, 2024
1 parent 5a615bf commit f46e01b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion roles/nzbget/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ nzbget_config_new_installs_settings_default:
- { regexp: '^Extensions\s?=.*', line: 'Extensions=nzbgetpp/unzip.py, flatten.py, DeleteSamples.py, HashRenamer.py, reverse_name.py' }
- { regexp: '^ScriptOrder\s?=.*', line: 'ScriptOrder=nzbgetpp/unzip.py, flatten.py, DeleteSamples.py, HashRenamer.py, reverse_name.py' }
# Unpacking
- { regexp: '^UnrarCmd\s?=.*', line: 'UnrarCmd=ionice -c3 ${AppDir}/unrar' }
- { regexp: '^UnrarCmd\s?=.*', line: 'UnrarCmd=ionice -c3 /usr/bin/unrar' }
- { regexp: '^SevenZipCmd\s?=.*', line: 'SevenZipCmd=ionice -c3 /usr/bin/7z' }
- { regexp: '^ParIgnoreExt\s?=.*', line: 'ParIgnoreExt=.sfv, .nzb, .nfo, .srr, .1.rar' }
- { regexp: '^ExtCleanupDisk\s?=.*', line: 'ExtCleanupDisk=.nzb, .par2, .sfv, .sfv.*, .rar.*,
.htm, .html, _brokenlog.txt, .srr,
Expand All @@ -127,6 +128,9 @@ nzbget_config_existing_installs_settings_default:
- { regexp: '^RotateLog\s?=.*', line: 'RotateLog=3' }
# Scripts
- { regexp: '^ShellOverride\s?=.*', line: 'ShellOverride=.py=/usr/bin/python3' }
# Unpacking
- { regexp: '^UnrarCmd\s?=.*', line: 'UnrarCmd=ionice -c3 /usr/bin/unrar' }
- { regexp: '^SevenZipCmd\s?=.*', line: 'SevenZipCmd=ionice -c3 /usr/bin/7z' }
nzbget_config_existing_installs_settings_custom: []
nzbget_config_existing_installs_settings_list: "{{ nzbget_config_existing_installs_settings_default
+ nzbget_config_existing_installs_settings_custom }}"
Expand Down

0 comments on commit f46e01b

Please sign in to comment.