Sabnzb Post Proc Not Renaming

Come up with a useful post-processing script? Share it here!
Post Reply
elpabloB
Newbie
Newbie
Posts: 6
Joined: December 30th, 2015, 2:16 am

Sabnzb Post Proc Not Renaming

Post by elpabloB »

Hi guys,

I've followed all the tutorials for post processing but can't get SAB to rename the tv shows correctly.
I've got the NZB filtering into my SAB queue with 'tv' category attached,
I've got the autoprocess script configured (only blank section in the cfg file is web root, as its on the same mac, I assume it doesnt need this ?).

It's not throwing any errors out when post processing, it just doesnt rename the files !! Any ideas ?

Ive been using this a while, and previously had a custom script which converted to .264 mp4 as it did this, but still only renamed files on occasion. I then lost my hard drive and had to start from scratch, and now I can't get a single one to rename !!

Thanks,

Pablo
elpabloB
Newbie
Newbie
Posts: 6
Joined: December 30th, 2015, 2:16 am

Re: Sabnzb Post Proc Not Renaming

Post by elpabloB »

Copy of the log from SAB around the post processing - doesnt say any errors or unsual throwback ... confused !!

2015-12-30 03:46:54,291::INFO::[newsunpack:150] Running external script /Users/Omega/Downloads/NZB/Scripts/sabToSickBeard.py(/Users/Omega/Downloads/Jekyll.and.Hyde.S01E07.The.Reaper.HDTV.x264-ORGANiC-Obfuscated, Jekyll.and.Hyde.S01E07.The.Reaper.HDTV.x264-ORGANiC-Obfuscated.nzb, Jekyll.and.Hyde.S01E07.The.Reaper.HDTV.x264-ORGANiC-Obfuscated, , tv, alt.binaries.hdtv.x264, 0, )
2015-12-30 03:46:54,907::INFO::[postproc:543] Cleaning up Jekyll.and.Hyde.S01E07.The.Reaper.HDTV.x264-ORGANiC-Obfuscated (keep_basic=False)
2015-12-30 03:46:54,907::INFO::[__init__:908] /Users/Omega/Downloads/incomplete/Jekyll.and.Hyde.S01E07.The.Reaper.HDTV.x264-ORGANiC-Obfuscated/__ADMIN__/SABnzbd_nzf_arQ2wF removed
2015-12-30 03:46:54,908::INFO::[__init__:908] /Users/Omega/Downloads/incomplete/Jekyll.and.Hyde.S01E07.The.Reaper.HDTV.x264-ORGANiC-Obfuscated/__ADMIN__/SABnzbd_nzf_GQMtoN removed
2015-12-30 03:46:54,908::INFO::[__init__:908] /Users/Omega/Downloads/incomplete/Jekyll.and.Hyde.S01E07.The.Reaper.HDTV.x264-ORGANiC-Obfuscated/__ADMIN__/SABnzbd_nzf_F360sF removed
2015-12-30 03:46:54,908::INFO::[__init__:908] /Users/Omega/Downloads/incomplete/Jekyll.and.Hyde.S01E07.The.Reaper.HDTV.x264-ORGANiC-Obfuscated/__ADMIN__/SABnzbd_nzf_qrBkZK removed
2015-12-30 03:46:54,909::INFO::[postproc:85] Saving postproc queue
2015-12-30 03:46:54,909::INFO::[__init__:919] Saving data for postproc1.sab in /Users/Omega/Library/Application Support/SABnzbd/admin/postproc1.sab
2015-12-30 03:46:54,910::INFO::[downloader:246] Post-processing finished, resuming download
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Sabnzb Post Proc Not Renaming

Post by shypike »

It looks like the script is being run.
Keep in mind a few things though:
The current directory in which the script starts is not the location of the files to be renamed.
You need to switch (in the script) to $1
Files may be in sub folders of $1 (depending on what you told SABnzbd to do).
You should add quotes around each parameter, because there may be embedded spaces. So: "$3"
elpabloB
Newbie
Newbie
Posts: 6
Joined: December 30th, 2015, 2:16 am

Re: Sabnzb Post Proc Not Renaming

Post by elpabloB »

Sorry, I've not delved into script writing myself, just using the standard script provided in the package, could you explain in a little more detail ?
elpabloB
Newbie
Newbie
Posts: 6
Joined: December 30th, 2015, 2:16 am

Re: Sabnzb Post Proc Not Renaming

Post by elpabloB »

Is anyone able to help surely this is just something simple Im missing ? Using the standard post proc SabtoSickbeard.py script, I've set up the cfg file, the script is running for files, it's just not renaming them ... what am I missing ?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Sabnzb Post Proc Not Renaming

Post by shypike »

If it's the SickBeard integration, please ask the question on the SickBeard forum.
elpabloB
Newbie
Newbie
Posts: 6
Joined: December 30th, 2015, 2:16 am

Re: Sabnzb Post Proc Not Renaming

Post by elpabloB »

but I'm not wanting sickbeard to do it, Im wanting sab to do it ? I'm pretty sure it's not rocket science, Im obviously missing something simple, just need someone to help me ?!
elpabloB
Newbie
Newbie
Posts: 6
Joined: December 30th, 2015, 2:16 am

Re: Sabnzb Post Proc Not Renaming

Post by elpabloB »

So can no-one help with this ?? All Im wanting to do is have the autprocess script run, and it's not renaming any of my files, so I'm having to rename them by hand. This has been up over a month with 400 views, I just need a little help guys. I've no idea what I'm doing wrong
ALbino
Full Member
Full Member
Posts: 214
Joined: October 23rd, 2014, 12:28 am

Re: Sabnzb Post Proc Not Renaming

Post by ALbino »

SickBeard is abandonware. Try switching to the Sick Rage fork, or ditching both and moving to Sonarr.
Post Reply