SickBeard and SABNZBD+

The discussion lounge for third-party packages.
Forum rules
Please note the Disclaimer before modifying your Synology Product.

Re: SickBeard and SABNZBD+

Postby indelible » Thu Apr 19, 2012 2:53 am

i'd like some help postprocessing too....when my sabnzd downloads finish, they are unpacked into a folder named _UNPACKED_XXXXXX where XXXX is the name of the download. how do i stop this from happening?
indelible
I'm New!
I'm New!
 
Posts: 9
Joined: Thu Mar 15, 2012 5:56 am

Re: SickBeard and SABNZBD+

Postby sugewhite » Fri Apr 20, 2012 1:34 am

This is what I did... I didnt use the SSH way. I was getting no help on the set up log in bootstrap etc. I used the superzebulon packages. Here is how i got mine(ds212+) to work:


Download https://github.com/midgetspy/Sick-Beard/zipball/master on your PC
Extract on your PC (to Desktop)
Open the folder midgetspy-Sick-Beard-c0d9950
Copy only (this) autoProcessTV folder to downloads(on your disk station)

So in downloads you now should have folders: complete, incomplete and autoProcessTV

In folder autoProcessTV there should be the following files: autoProcessTV.cfg.sample, autoProcessTV.py, hellaToSickBeard.py, sabToSickBeard.py

Rename autoProcessTV.cfg.sample to autoProcessTV.cfg(on your diskstation)

Set SickBeard Post Processing in WEBUI
Menu Config, Post Processing, Post-Processing
Don't check Scan and Process or fill in TV Download Dir
The rest as you like it. (for example only check Rename Episodes)

You need to set the sickbeard category in WEBUI
Menu Config, Search Options, NZB Search, SABnzbd Category to
tv

And

Set the post processing in SABnzb WEBUI
Menu Config, Folders, Post-Processing Scripts Folder to
/volume1/downloads/autoProcessTV
(linux is Case SenSiTive)

Menu Config, Categories,Category to
tv
priority default, processing default
script sabtoSickBeard.py
folder/path tv

Let me know how it goes and I will try my best to help. I was getting to the point that i was going to return mine because I couldnt get it to work.
sugewhite
Rookie
Rookie
 
Posts: 38
Joined: Mon Mar 05, 2012 2:32 am

SABnzbd and foreign characters

Postby Lapin » Sat Apr 21, 2012 9:23 am

Hi folks,

As many happy Synology's customers, I'm running a third party SABnzbd client (zebulon source) on my DS411+.
However there is an painful issue: some NZB contains an archive encoded into a foreign (ISOxxx something) format. So when the archive is unpacked on the NAS (UTF8 encoding style), most of the file containing a foreign character (such as éèçù, etc...) will not be accessible through Samba shares (samba is expecting an UTF8 system files).
Here is the solution to fix this issue, a post-processing script must be executed by SABnzbd:
1- On the http://"your_nas_ip":8080/ GUI (Config -> Folder) , you must setup the Post-Processing Scripts Folder folder. In my case /volume1/download/SABnzbdScripts
2- Create into the specified script folder a CharTranslator.py file (don't forget to setup right access to 755). :!: this file must be Unix format ! So it is better to create it with vi under a SSH connection.
3- Copy/paste the following script:
source code

4- Under SABnzbd GUI (Config -> Categories) you must update the default category. A column script is available, please select the CharTranslator.py script and save the modification.

Et voilà !!
This script is recursive. So any files/directory will be scan and renamed if necessary.
Please, please, keep me inform if some people has got some issue. You can also post a message if you are happy!! :lol:
Have fun folks !!
:D
Last edited by Lapin on Thu Apr 26, 2012 9:19 am, edited 9 times in total.
Synology Model: DS-411+
Firmware Version: 4.1-2668
HDD Model: 4xSeagate ST2000DL003 2To - SHR
User avatar
Lapin
Versed
Versed
 
Posts: 264
Joined: Thu May 08, 2008 12:18 am
Location: Caen, France

Re: SynoCommunity is glad to announce its new repo

Postby darky » Sat Apr 21, 2012 5:15 pm

Hi,

I don't know if it's my DS1512+ but sabnzbd is not running when i reboot/shutdown, i have to manual run it. Packages show sabnzbd as stopped but when i go to run it fails.

Thanks
darky
I'm New!
I'm New!
 
Posts: 1
Joined: Tue Apr 10, 2012 12:21 pm

Re: SickBeard and SABNZBD+

Postby Lapin » Sun Apr 22, 2012 12:44 pm

Here is some news about he foreign characters issue:
In fact the data stored on the NAS must be in UTF8 format. But most of the archives are in ISO8859-1 format (windows). So a script must transcode from ISO8859-1 to UTF8. However there is an another trick: all RAR archives unpacked by the unrar command under the NAS will be in CP437 format (DOS). I'm currently working on a Python script which will detect the appropriate format, then doing the transcode according to the detection result.
First version of my script should be available very soon.
:mrgreen:
Synology Model: DS-411+
Firmware Version: 4.1-2668
HDD Model: 4xSeagate ST2000DL003 2To - SHR
User avatar
Lapin
Versed
Versed
 
Posts: 264
Joined: Thu May 08, 2008 12:18 am
Location: Caen, France

Re: SickBeard and SABNZBD+

Postby Lapin » Sun Apr 22, 2012 1:58 pm

Hi folks,
I updated my script, the source can be found here:
http://forum.synology.com/enu/viewtopic.php?f=190&t=49039&p=192731#p192524
Any comment is very welcome.

Script update to version 1.1
Code: Select all
# 12-04-22 |  1.1    | Change encoding to ISO-8859-15
#                    | Added CP437 special characters (0x80-0x9A)


PS: I don't understand why my post has been merged into this section :?
Anyway; I will post in this section each time a new version of my script will be available.

This script is also available on a french forum http://www.nas-forum.com/
Synology Model: DS-411+
Firmware Version: 4.1-2668
HDD Model: 4xSeagate ST2000DL003 2To - SHR
User avatar
Lapin
Versed
Versed
 
Posts: 264
Joined: Thu May 08, 2008 12:18 am
Location: Caen, France

Re: SickBeard and SABNZBD+

Postby Lapin » Tue Apr 24, 2012 10:35 am

Since the maintenance of several posts is not easy, I updated my post in order to point the source code to SABnzbd official forum.
Synology Model: DS-411+
Firmware Version: 4.1-2668
HDD Model: 4xSeagate ST2000DL003 2To - SHR
User avatar
Lapin
Versed
Versed
 
Posts: 264
Joined: Thu May 08, 2008 12:18 am
Location: Caen, France

Re: SickBeard and SABNZBD+

Postby Lapin » Tue Apr 24, 2012 2:54 pm

Major modification of the script -> version 1.2
Code: Select all
# 12-04-24 |   1.2   | Mixed encoding is not supported
#                    | UTF-8 encoding format detected


This new script will detect directory by directory, file by file which encoding style is used, then do the appropriate translation if necessary.
From now there is NO known restriction. The script can be executed on mixed encoding file system.
Synology Model: DS-411+
Firmware Version: 4.1-2668
HDD Model: 4xSeagate ST2000DL003 2To - SHR
User avatar
Lapin
Versed
Versed
 
Posts: 264
Joined: Thu May 08, 2008 12:18 am
Location: Caen, France

Re: SickBeard and SABNZBD+

Postby Lapin » Wed Apr 25, 2012 8:55 am

Version 1.3: fixed a stupid typo
Code: Select all
# 12-04-24 |   1.3   | Fixed typo line 57 (test must be 0xA0, not 0xA1)

The script is now stable and no more modification is plan, unless somebody find a bug.
Synology Model: DS-411+
Firmware Version: 4.1-2668
HDD Model: 4xSeagate ST2000DL003 2To - SHR
User avatar
Lapin
Versed
Versed
 
Posts: 264
Joined: Thu May 08, 2008 12:18 am
Location: Caen, France

Re: SickBeard and SABNZBD+

Postby Repi3 » Thu Apr 26, 2012 4:26 pm

i can confirm that the last update fixed my problems.

Image
As u can see in the image, now it works.

I followed the steps that Lapin, written above.
If someone need more details...
Repi3
I'm New!
I'm New!
 
Posts: 4
Joined: Wed Apr 25, 2012 10:42 am

Re: SickBeard and SABNZBD+

Postby Lapin » Fri Apr 27, 2012 8:32 am

Hi Repi3,

Glad to see that it is working well for you!! :D
From you snapshot I can see that the version 1.3 of the scripts is working well (indeed version 1.1 had an indentation issue with some UTF-8 name).
Thanks again for your feedback. :)

Anyone else did try the script??
Synology Model: DS-411+
Firmware Version: 4.1-2668
HDD Model: 4xSeagate ST2000DL003 2To - SHR
User avatar
Lapin
Versed
Versed
 
Posts: 264
Joined: Thu May 08, 2008 12:18 am
Location: Caen, France

Re: SickBeard and SABNZBD+

Postby sabre364 » Wed May 16, 2012 5:09 am

friji wrote:Would someone be able to create a Simple tutorial on setting up Sickbeard and Sabnzbd to work correctly with post processing ? I feel this would be a great help not just for me but to the Synology Community :) kindest

Toby

Agreed, sabnzbd is an excellent application but certainly not automatic to your movies/tv etc folder.
sabre364
Trainee
Trainee
 
Posts: 11
Joined: Tue Feb 08, 2011 1:10 am

Re: SickBeard and SABNZBD+

Postby k3n85 » Tue Jun 19, 2012 2:16 am

I'm trying to copy a new post processing script into the following folder, but getting access denied. Logged in I thought I would be able to at least copy.

Copied py post script to default share through Mac
SSH to DS, and try a simple:
Code: Select all
cp postScript.py /usr/local/sabnzbd/var/scripts/postScript.py


But then get access denied here, any thoughts?

I could just point the scripts folder to this share, but wanted to keep things consistant @ /usr/local/sabnzbd/var/scripts
k3n85
I'm New!
I'm New!
 
Posts: 6
Joined: Sat Jun 16, 2012 4:00 am

Re: SickBeard and SABNZBD+

Postby Lapin » Tue Jun 19, 2012 1:00 pm

To do such copy, you must be logged as root under a Telnet session on your NAS.

Your source file must be available somewhere on /volume1/...
Synology Model: DS-411+
Firmware Version: 4.1-2668
HDD Model: 4xSeagate ST2000DL003 2To - SHR
User avatar
Lapin
Versed
Versed
 
Posts: 264
Joined: Thu May 08, 2008 12:18 am
Location: Caen, France

Previous

Return to Third-party Packages

Who is online

Users browsing this forum: No registered users and 5 guests