I am using Sabnzbd to download tv shows from an RSS feed for my HTPC.
Here is my problem: Half the time, one of my favorite shows is named Show.Name on the RSS feed. The other half, it is named Show.Name.US
This creates all sorts of problems, because a new folder is created, my TV show manager (myTV) wants me to add a new show to the database.
Is there anyway I can make sabnzbd still put the office in "Show Name" folder, even when the episode is tagged as Show.Name.US ?
TV Show folders
Forum rules
Help us help you:
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.
TV Show folders
Last edited by Anonymous on December 12th, 2008, 5:23 pm, edited 1 time in total.
Re: TV Show folders
You can write a script to rename the folder.
@echo off
cd /d %1
set old=%3
set new=%old:US.=%
if not %new% == %old% ren %old% %new%
@echo off
cd /d %1
set old=%3
set new=%old:US.=%
if not %new% == %old% ren %old% %new%
Re: TV Show folders
thank you for your response.
i have pasted this code into a text file and put it in the folder I set for my post-processing scripts folder....is that all I have to do? does it matter what the file is named? Sorry, I am a big noob... i guess I will know the next time it downloads the office if it works or not...
i have pasted this code into a text file and put it in the folder I set for my post-processing scripts folder....is that all I have to do? does it matter what the file is named? Sorry, I am a big noob... i guess I will know the next time it downloads the office if it works or not...
Re: TV Show folders
It needs to end in .bat
I'm not sure it will work however, as it's just renaming the folder which won't work if the non US folder already exists (which it will for subsequent downloads).
Unfortunately supporting this feature is a bit of a niche. I suppose we could have an option to remove country tags from nzb names when sorting, however it requires a hard set list of country names to look for and I'm not sure most of our users would ever need to use it and may just ad to confusion.
I'm not sure it will work however, as it's just renaming the folder which won't work if the non US folder already exists (which it will for subsequent downloads).
Unfortunately supporting this feature is a bit of a niche. I suppose we could have an option to remove country tags from nzb names when sorting, however it requires a hard set list of country names to look for and I'm not sure most of our users would ever need to use it and may just ad to confusion.
Re: TV Show folders
I completely agree. It's a random problem and maybe I will just ask on the RSS feed forum what other users are doing to handle it (maybe there is a good third party app I can grab).
Although real quick - I had an idea
If I set The Office on my RSS page to a certain category, will TV show sorting still happen? Or....Could I have a category that runs a script to export to "H:\TV Shows\The Office\Season # ? Even if I had to manually change the season # every season it would be less frustrating than having my roommates add a second series of The Office onto myTV every week
I have no idea if this is even possible, but if it is and someone knows how, could they tell me what the script would look like?
I really appreciate the support. this program has been the answer to my prayers.
Although real quick - I had an idea
If I set The Office on my RSS page to a certain category, will TV show sorting still happen? Or....Could I have a category that runs a script to export to "H:\TV Shows\The Office\Season # ? Even if I had to manually change the season # every season it would be less frustrating than having my roommates add a second series of The Office onto myTV every week
I really appreciate the support. this program has been the answer to my prayers.


