renaming TV shows with obfuscated filenames

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
NZBeaner
Newbie
Newbie
Posts: 13
Joined: December 6th, 2017, 10:25 pm

Re: renaming TV shows with obfuscated filenames

Post by NZBeaner » February 5th, 2019, 5:59 pm

Category? Priority? Processing? Folder/Path? Indexer Categories / Groups?

?????????????

WHY is this so needlessly complicated?

Is there anywhere I can see a complete step by step description of how to do this?

User avatar
OneCD
Sr. Member
Sr. Member
Posts: 292
Joined: March 4th, 2017, 3:47 pm

Re: renaming TV shows with obfuscated filenames

Post by OneCD » February 5th, 2019, 6:20 pm

NZBeaner wrote:
February 5th, 2019, 5:59 pm
WHY is this so needlessly complicated?
You are welcome to code your own solution. One that isn't "so needlessly complicated". ::)
Stuff I like: Apache BASH CRON DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo S20 Python Raspberry Pi RAID SABnzbd+ SickChill Transmission Usenet VirtualBox Watcher3 WordPress XFCE

User avatar
safihre
Administrator
Administrator
Posts: 3289
Joined: April 30th, 2015, 7:35 am
Location: Switzerland
Contact:

Re: renaming TV shows with obfuscated filenames

Post by safihre » February 6th, 2019, 2:48 am

Have you tried using the Sorting-approach? This is much simpler and build-in to SABnzbd.
Go to Config > Sorting and enable each of the sorting options for the right category (so Series-sorting for your "tv" or "series" category and Movie Sorting for your "movies" category). Make sure to check "Enable"
Then select the preset Job Name as Filename. This doesn't always work perfectly, if it cannot correctly parse the name of the job.


The Deobfuscate.py only works if Python 2.7 is installed.
If the Scripts Folder is empty, it won't show in Config > Categories.
Let's try this, assuming you have just installed SABnzbd without changes:
- Config > Folders > Script Folder, set: C:\Program Files\SABnzbd\scripts
- Config > Categories, there should now be a column named Script.
- For the first row, select Deobfuscate.py from the dropdown.

Post Reply