First all, a big thanks to Andrey Prygunkov for showing me the way to do post-processing with NZBGet.
What the script will do for you:
It will fix all foreign characters which are not managed by NZBGet, when it is running on a Synology NAS.
NOTE: This script is for the users wich have a correct configuration running on a Synology NAS with NZBGet and Python installed from Synocommunity repo.
Download the attached file (end of this message) on your NAS, then type the flowing commands through a Telnet connection from where the file has been copied:
Code: Select all
unzip CharTransProcess_1v0.zip
cp CharTransProcess.py /usr/local/nzbget/share/nzbget/ppscripts/
chown nzbget:root /usr/local/nzbget/share/nzbget/ppscripts/CharTransProcess.py
Code: Select all
ll /usr/local/nzbget/share/nzbget/ppscripts/
drwxr-xr-x 3 nzbget root 4096 Nov 3 13:58 .
drwxr-xr-x 4 nzbget root 4096 Nov 3 13:55 ..
-rwxr-xr-x 1 nzbget root 8183 Sep 1 10:47 EMail.py
-rwxr-xr-x 1 nzbget root 3705 Sep 1 10:47 Logger.py
drwxr-xr-x 7 nzbget root 4096 Nov 3 13:55 nzbToMedia
Restart NZBGet.
Finally, you must setup this script as default:
Et voilà!
=)