Have you tried the script from the first post? It is written in python and should work on Windows too.Telman12 wrote:you have the regex code for Windows?
i have readwusa wrote: Help
Maybe, the RegEx can be improved!?
Problem with some letters in filename (windows only).
Is there a way to set Nzbget so that only .nzb files are passed to scan-scripts? These .bts files are placeholders and there doesn't seem to be a way to disable their creation in Bittorrent Sync:hugbug wrote:All files are scanned and passed to scan-scripts. After processing by scan-scripts NZBGet enqueues nzb-files; files with other extensions are renamed by adding extension ".processed". Successfully scanned nzb-fiels become extensions ".queued". Nzb-files which failed to parse become extension ".error". Files with extensions ".processed", ".queued" or ".error" are never scanned.
Code: Select all
Thu May 21 18:55:37 2015 INFO Executing scan-script pfftn_2x.py for D1 apbrr 00065.nzb.bts
Thu May 21 18:55:37 2015 INFO pfftn_2x: nzbget.conf(56): Invalid value for option "UnpackPassFile": /share/Download/nzbget/nzb/passwords.txt. File not found
Thu May 21 19:00:48 2015 INFO Executing scan-script pfftn_2x.py for D1 apbrr 00065.nzb
Thu May 21 19:00:48 2015 INFO pfftn_2x: nzbget.conf(56): Invalid value for option "UnpackPassFile": /share/Download/nzbget/nzb/passwords.txt. File not found
Thu May 21 19:00:51 2015 INFO Adding collection D1 apbrr 00065.nzb to queue
Thu May 21 19:00:51 2015 ERROR Error parsing nzb-file D1 apbrr 00065.nzb
Thu May 21 19:00:51 2015 ERROR Could not add collection D1 apbrr 00065.nzb to queue
Thu May 21 19:10:55 2015 ERROR Error parsing nzb-file: Document is empty
Thu May 21 19:10:55 2015 ERROR Error parsing nzb-file: Start tag expected, '<' not found
Hello guys.wusa wrote:What is this?
This script is filling the Unpack-password from the filename and removes it from NZB Name: file*{{password}}*.nzb
Installation, usage:
x. pfftn_2x, pfftn_3x tested with: nzbget v13, Python v2.7.4, v3.4.1 @ Win8 x64 and Python 2.6.2 @ NSA325 (Linux 2.6.31.8)
1. safe file to ScriptDir and set chown/chmod (for linux only)
2. adjust first line for your OS! (ex. WIN: #!c:/python/python.exe --- LINUX/NAS: #!/usr/local/zy-pkgs/bin/python2.6 or #!/usr/bin/env python)
3. start/restart nzbget (PFFTN_2X or/and PFFTN_3X should appear on left side in settings page of nzbget)
4. nzbget settings -> EXTENSION SCRIPTS -> ScanScript -> Choose (Python v3: pfftn_3x.py / Python v2: pfftn_2x.py)
Code: Select all
#!/usr/bin/python
#!/usr/bin/env python
#!/usr/lib/python2.7
Of course I read the how-to from the first post.hugbug wrote:Have you selected the script in option ScanScript?
Users browsing this forum: No registered users and 22 guests