So "AD" refers to "American Dad" then? I can't know that kinda shit.
1.
Check TheTVDB:
http://thetvdb.com/?tab=seasonall&id=73141&lid=7
e.g.
Code: Select all
filebot -list --q "American Dad" --format "{absolute} => {episode}" --filter "absolute"
Code: Select all
1 => American Dad! - 1x01 - Pilot
2 => American Dad! - 1x02 - Threat Levels
97 => American Dad! - 7x01 - 100 A.D. (1)
98 => American Dad! - 7x02 - Son of Stan (2)
99 => American Dad! - 7x03 - Best Little Horror House in Langley Falls
100 => American Dad! - 7x04 - Stan's Food Restaurant
101 => American Dad! - 7x05 - White Rice

The first ~100 episodes are missing the absolute episode number field.

It's now your job to enter the missing information.
2.
Since you have the episode names, you could use those.
e.g.
Code: Select all
$ ls
001 - AD - Pilot.mp4 100 - AD - Stan's Food Restaurant.mp4
020 - AD - Roger and Me.mp4
Strip misleading information:
Code: Select all
$ filebot -rename --db xattr -non-strict . --format "{fn.after(/ - AD - /)}"
Rename files using [Extended Attributes]
[MOVE] Rename [001 - AD - Pilot.mp4] to [Pilot.mp4]
[MOVE] Rename [020 - AD - Roger and Me.mp4] to [Roger and Me.mp4]
[MOVE] Rename [100 - AD - Stan's Food Restaurant.mp4] to [Stan's Food Restaurant.mp4]
Try again, now with episode title being the only identifying information left in the filename:
Code: Select all
$ filebot -rename . --db TheTVDB -non-strict --q "American Dad" --filter "n =~ /American.Dad/"
[MOVE] Rename [Pilot.mp4] to [American Dad! - 1x01 - Pilot.mp4]
[MOVE] Rename [Roger and Me.mp4] to [American Dad! - 2x13 - Roger 'n Me.mp4]
[MOVE] Rename [Stan's Food Restaurant.mp4] to [American Dad! - 7x04 - Stan's Food Restaurant.mp4]

You probably wanna use
--action TEST beforehand for every call.