Page 1 of 1

Is there a rename script ?

Posted: June 4th, 2018, 8:10 am
by KalEl
Hello,

after fighting for days against obfuscated nzbs, i like to start a script after the download that gives
the .mkv the foldername.

Because, the folder is named correct, only the file is cryptic.

Re: Is there a rename script ?

Posted: June 7th, 2018, 1:10 am
by safihre
You can do this with SABnzbd, just enable in Config > Sorting > "Job Name as Folder Name".
Then make sure to enable it for the right categories (Series for series, and Movies for movies, or just use the Default category).

Or you can use the Deobfuscate.py script that is included with SABnzbd, it's in the /scripts/ folder of your SABnzbd installation folder.

Re: Is there a rename script ?

Posted: June 7th, 2018, 5:18 am
by KalEl
Thank you. In sorting there is only "Job name as filename". No foldername.
If i want to use a .py script, i need to install python, right ? (Win 7 64)

Re: Is there a rename script ?

Posted: June 7th, 2018, 6:36 am
by safihre
Yes and Yes ;)
Make sure to select "Add to path" during the Python install.

Re: Is there a rename script ?

Posted: June 7th, 2018, 6:04 pm
by KalEl
Tested the sorting. Doesnt work.
Can i have a default renaming for every file or do i have to klick all tv, movie etc ?

Re: Is there a rename script ?

Posted: June 9th, 2018, 5:06 am
by safihre
The sorting does work, but it will only do it for the categories you selected and if your download is in those categories. Also make sure to have it enabled (extra checkbox).
And of course it will only work if it can match things correctly, so not activating Movie sorting on series.

The Dobfuscate.py script will work for everything, so maybe easier to use that and set it for your Default category. All other categories the script should be set to "Default".

Re: Is there a rename script ?

Posted: June 9th, 2018, 5:37 am
by KalEl
I thought, if i do not check any categories, only default, the renaming will work for everything.

I will install python then...