So, I did some searching and found other users of SickBeard who've made attempts to fix the problem themselves on SickBeard's side, which I've already implemented in my installation and that works great. Now the problem I'm having is doing the same to FileBot. I'm using a script that based off of and nearly identical to the amc.groovy script that you have available online. Going through it, I can't really pinpoint a location where I could write in my own code to detect the special case of American Dad and renumber the season and episodes correctly. Is there I way I can modify a function to do what I need?
I would sincerely appreciate any help I could get!
EDIT:
I just re-read this and I don't even know if I'm being clear. Basically I want to inject something like the following pseudo-code into the renamer or somewhere before it so it correctly converts a release to the correct TVDB episode:
Code: Select all
if (showname == "American Dad!") {
if (season == 1 && episode > 7) {
season = 2
episode = episode-7
} else if (season >= 2) {
season = season+1
}
}