Is there a rename script ?

Come up with a useful post-processing script? Share it here!
Post Reply
KalEl
Newbie
Newbie
Posts: 4
Joined: June 4th, 2018, 8:06 am

Is there a rename script ?

Post 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.
User avatar
safihre
Administrator
Administrator
Posts: 5523
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Is there a rename script ?

Post 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.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
KalEl
Newbie
Newbie
Posts: 4
Joined: June 4th, 2018, 8:06 am

Re: Is there a rename script ?

Post 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)
User avatar
safihre
Administrator
Administrator
Posts: 5523
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Is there a rename script ?

Post by safihre »

Yes and Yes ;)
Make sure to select "Add to path" during the Python install.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
KalEl
Newbie
Newbie
Posts: 4
Joined: June 4th, 2018, 8:06 am

Re: Is there a rename script ?

Post 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 ?
User avatar
safihre
Administrator
Administrator
Posts: 5523
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Is there a rename script ?

Post 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".
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
KalEl
Newbie
Newbie
Posts: 4
Joined: June 4th, 2018, 8:06 am

Re: Is there a rename script ?

Post by KalEl »

I thought, if i do not check any categories, only default, the renaming will work for everything.

I will install python then...
Post Reply