Page 7 of 9

Re: [Synology NAS] Fixed non-ASCII chars and more...(2013/10

Posted: April 9th, 2014, 9:06 pm
by nebbs82
LapinFou wrote:Yes you can (as explained in the middle of the tutorial... ::) ).
From a telnet session using the following command line, if you are using the SynoCommunity repository.
For example if you want to fix the folder download/complete, then type the command:
/usr/local/sabnzbd/var/scripts/CharTranslator.py /volume1/download/complete

Note1: no options must be enabled in CharTranslator.py script (such as DLNA, sickbeard, etc...). This is the case by default.
Note2: the script is recursive, so all sub-folders inside the target folder will also be processed.

Keep me inform if it did work.
:)
Thank you very much for this solution, it fixed my problem!

Re: [Synology NAS] Fixed non-ASCII chars and more...(2013/10

Posted: April 10th, 2014, 2:34 am
by LapinFou
Hi nebbs82,

Thanks for taking time to reply. :)
I'm glad to see a new happy user. ;D
Don't hesitate to reply if you shall meet any issues with my script.

Re: [Synology NAS] Fixed non-ASCII chars and more...(2013/10

Posted: May 15th, 2014, 4:45 pm
by marlowe310
Not sure if this is the right place, but I had an issue I think you guys might be able to help with -- essentially, since installing an SSL cert (StartSSL) on my NAS, I can't access SabNZBD. I figure that's due to some mismatch of the SSL/Port settings, but I just cannot get to the Web GUI -- I've tried restarting the service, the nas, uninstalling and reinstalling -- the works.

The only thing I can think left to do short of an entire wipe of the NAS itself is to SSH in and delete ALL traces of SabNZBD data, then reinstall again. Do you guys happen to know the precise location and/or cmds to delete said data?

Thanks a ton -- I really appreciate it.

Re: [Synology NAS] Fixed non-ASCII chars and more...(2013/10

Posted: May 16th, 2014, 3:06 am
by LapinFou
If you are using the SynoCommunity version, you can check the config file through a telnet session or using the package "Config File Editor":
/usr/local/sabnzbd/var/config.ini
You should also check that your new certificate is also installed in Sabnzbd.

Re: [Synology NAS] Fixed non-ASCII chars and more...(2013/10

Posted: June 5th, 2014, 8:16 pm
by Rankiz
How do you get Synology Sabnzbd to auto detect nzb files? Since sabnzbd is installed on the Synology server, you can't just click on the nzb file because then it will open on the "regular" sabnzbd client on your computer. Please help, I know I can click "Add NZB" within sabnzbd, but that is a very cumbersome method.

Re: [Synology NAS] Fixed non-ASCII chars and more...(2013/10

Posted: June 6th, 2014, 2:23 am
by LapinFou
With Sabnzbd you can used a "Watched folder". All nzb files saved in this folder will be automatically downloaded.
To setup it, go in:
config -> folders -> "Watched Folder" Field in "User Folders" section.
For ex, in my config here are my setup:
Temporary Download Folder: /volume1/download/incomplete
Completed Download Folder: /volume1/download/complete
Permissions for completed downloads: 777 (this an important in order to be sure that downloaded files will be accessible by every users on the NAS)
Watched Folder: /volume1/download/autonzb
Watched Folder Scan Speed: 5sec

Sabnzb will scan the watched folder every 5sec. If a nzb file is present, it will launch the download and remove the nzb file of this watched folder.

You must used the "Browse" button in order to select the appropriated folder. Indeed, the path must be the real NAS path (/volumeX/"something").
Under Windows, you must mount a shared folder in your network drives. In my case my shared folder P: is mapped to //NAS_IP/download

For the usage, instead having your browser sending the nzb directly to you Sabnzb, you must save the nzb in this dedicated folder (in my case) P:\autonzb.

That's all !!

Note: In my case, download is a shared folder created on the Volume1 from the Synology DSM web interface (I reserved it for Sabnzbd/Transmission/etc.. usage).
Note2: Which Sanbzbd are you using?? I strongly recommending you to use the SynoCommunity version which, by the way, will included my script.
;D

Re: [Synology NAS] Fixed non-ASCII chars and more...(2013/10

Posted: June 9th, 2014, 10:40 am
by LapinFou
Did you try???

Re: [Synology NAS] Fixed non-ASCII chars and more...(2013/10

Posted: November 23rd, 2015, 6:46 am
by vandermark
Major bump but i have the following question:

My mediaserver on my synology doesn't index new movies I manually add to sabnzbd. After reading this topic I think i need the feature:

"IndexInSynoDLNA = True" in a postprocessing script for the movie category.

My question(s):
(A) Can I just use the standard script chartranslator.py and change False to True for IndexInSynoDLNA in the Py file?
(B) I don't need anything else but "IndexInSynoDLNA = True". Can I just remove all lines in chartranslator.py and only keep "IndexInSynoDLNA = True"?
(C) Can you give me directions on how to make a script file which only performs: "IndexInSynoDLNA = True"?

Re: [Synology NAS] Fixed non-ASCII chars and more...(2013/10

Posted: November 23rd, 2015, 7:59 am
by LapinFou
(A) Yes. :)
(B) Yes for the 1st part and no, don't remove all lines. The flag IndexInSynoDLNA is used inside those lines.
(C) Well, I could, however I don't have much time right now. Anyway it won't harm to use the script as it is (expected "IndexInSynoDLNA = True"). If you do download only files without any "weird" chars, the script will simply skip them.

You should have a try and keep me inform of your results.
;D

Re: [Synology NAS] Fixed non-ASCII chars and more...(2013/10

Posted: November 23rd, 2015, 8:22 am
by LapinFou
By the way, here is a direct download.
OneDrive link: CharTranslator.py

Re: [Synology NAS] Fixed non-ASCII chars and more...(2013/10

Posted: November 23rd, 2015, 8:35 am
by LapinFou
OK, finally I've done a simple version of the script named IndexDLNA.py

I just kept 2 options:
- MoveToThisFolder: False by default. As explained you can move the completed SABnzbd downloaded file/folder, then index it in the DLNA.
- IndexInSynoDLNA: True by default.

I don't have time to test it. So, there is no guarantee. :)
Keep me in touch!

Re: [Synology NAS] Fixed non-ASCII chars and more...(2013/10

Posted: November 23rd, 2015, 8:49 am
by vandermark
Great! Thanks for your quick reply. I will test when I'm @home 8)

Re: [Synology NAS] Fixed non-ASCII chars and more...(2013/10

Posted: November 23rd, 2015, 2:47 pm
by vandermark
It worked! Nice notification in SAB after which said the movie was indexed. I checked in dsvideo and the movie showed right up, awesome and thanks so much for your help :)

Re: [Synology NAS] Fixed non-ASCII chars and more...(2013/10

Posted: November 24th, 2015, 3:19 am
by LapinFou
You're welcome.
Did you noticed the "move" option? Maybe not useful in your case.

Re: [Synology NAS] Fixed non-ASCII chars and more...(2013/10

Posted: November 24th, 2015, 2:29 pm
by vandermark
I don't need the move option. I manually add movies to sabnzbd and the category itself moves the movie to the correct folder.

Thanks!