MCEBuddy uses Comskip or ShowAnalyzer to “identify” commercials. You can tweak it using tips from here