Page 1 of 3

Movie post processing.

Posted: February 1st, 2014, 6:19 am
by psykix
I use SABNZBD, SickBeard and Couchpotato all together and it all works great.

Recently however, I have switched to using Couchpotato manually as I prefer to have control over which file is downloaded.

Thinking about it, I would prefer to ditch Couchpotato and send the nzb from my NZB provider straight to SABNZBD (which works great also).

However, what I need then is some sort of script I guess which will rename the movie to Movie Name (year) and then move the file to my NAS in a folder under /Multimedia/Movies of the same name.

I had a search of the post-processing scripts forum, and there seem a few for Windows, but I am running Linux - is there something already available that someone can point me to?

Much thanks!

Re: Movie post processing.

Posted: February 1st, 2014, 6:39 am
by shypike
Have you looked at the Config=>Sorting options of SABnzbd itself?
They're more basic than CouchPotato, but they could be useful.

Re: Movie post processing.

Posted: February 1st, 2014, 8:25 am
by psykix
I'll have a look.. I presumed sorting was just that - sorting the queue!

I only need basic really so I'll take a look when I get to my machine!

Re: Movie post processing.

Posted: February 1st, 2014, 8:50 am
by psykix
I've just taken a look at it - I can see how to rename but I'm not sure how I tell it to move the file to my NAS or is that not possible?

Re: Movie post processing.

Posted: February 1st, 2014, 10:07 am
by shypike
There are two ways.
Set a proper network path in Config->Categories per category.
Or embed the network path in your sort expression.

Re: Movie post processing.

Posted: February 1st, 2014, 12:09 pm
by psykix
Thanks for the reply. I want the post processing done first, and then finally the move.

If I set the path on the category (which I did look at earlier) then will SABNZBD use the NAS path as it is downloading?

Maybe embedding it in the sort expression is the way to go..

Re: Movie post processing.

Posted: February 1st, 2014, 12:44 pm
by psykix
Excellent, embedding it in the path works perfectly :-)

It also moved the nzb file though - where is the setting to keep the folder clean? I only want the movie file.

Edit : think I found it - just need to add it to the tuning section :-)

Re: Movie post processing.

Posted: February 1st, 2014, 1:18 pm
by psykix
Sorry to keep replying to my own post!

It works, but there seems to be an issue - I tried to download a couple of small SD movies to test with (I don't normally bother with SD) and one worked, and the other left me with an empty folder.

Checking the log it seems that it thought they were sample files (which I have set to do not download) so not sure why it is deleting them? Is there a setting somewhere that I have missed?

Code: Select all

2014-02-01 18:07:52,413::INFO::[postproc:766] Removing unwanted sample file /Multimedia/Movies/Skyline (2010)/Skyline.2010.iNTERNAL.DVDRip.x264-utL/utl-s.srr
2014-02-01 18:07:52,413::INFO::[postproc:766] Removing unwanted sample file /Multimedia/Movies/Skyline (2010)/Skyline.2010.iNTERNAL.DVDRip.x264-utL/utl-s.mkv

Re: Movie post processing.

Posted: February 1st, 2014, 2:22 pm
by shypike
There's a lower limit on the size, used to recognize the main media file.
You can lower the limit.
Config->Special->movie_rename_limit
The default is 100 (MB).

Re: Movie post processing.

Posted: February 1st, 2014, 3:39 pm
by psykix
Ah.. that explains it - it probably won't be an issue since I don't normally bother with SD :-)

Thanks for your help!

Re: Movie post processing.

Posted: February 3rd, 2014, 1:26 pm
by psykix
Hmm.. I moved to Windows 8.1 as was having problems with Plex on Ubuntu.

I have set the sorting string to the following :-

\\QNAP\Multimedia\Movies\%title (%y)/%title (%y).%ext

But instead of it placing it on my QNAP like expected, it puts it in C:\QNAP\Multimedia\Movies\%title (%y)/%title (%y).%ext

How do I get it to recognise a UNC path?

I don't really want to have to map a drive if possible.

Re: Movie post processing.

Posted: February 3rd, 2014, 6:15 pm
by shypike
Does DNS recognize QNAP as a Windows system name?

Re: Movie post processing.

Posted: February 4th, 2014, 11:33 am
by psykix
Yes, the QNAP is listed on the left hand side under networks.

I noticed that when I enter the sort string, and begin with \\QNAP, SABNZBD removes one of the back slashes, and it actually becomes \QNAP

I could map a drive, but it doesn't always reconnect and requires a double click on it to wake it up. I don't usually use the machine with a keyboard and mouse so it's a pain!

A symlink maybe another way to go.. But would prefer if I could just type a UNC path in!

Re: Movie post processing.

Posted: February 4th, 2014, 12:16 pm
by shypike
Maybe there is an issue with sort expressions and UNC paths.
As a work- around you could set a category-specific path in Config->Categories
and use a relative path in Sort.
I'll check the potential issue.

Re: Movie post processing.

Posted: February 4th, 2014, 1:20 pm
by psykix
Will the category-specific path not actually also download it to that location though?

Reason I run sabnzbd on a Windows machine rather than the NAS, is that the processor on the NAS cannot cope with 8 SSL connections at my internet speed - the Windows box breezes it :-)

I want all the downloading/processing done on the Windows box, and then just moved when complete to the NAS :-)

Thanks for looking at it :-)