plexinc-plugins/Scanners.bundle — pull request #20 by mmccurdy07 (2013-05-10 00:30:15+00:00)
Title: Wait for two bad tokens before skipping the rest.

This fixes #7 and #8.

The heuristic described in the comment is a good one (skip everything after two bad tokens) but the logic wasn't actually doing that -- it was skipping everything after the first one.

Thus, the Family Guy ep called "28. Internal Affairs.mkv" was getting aggressively cleaned to "28" and not matching any ep patterns in the series scanner.