This is a developer type question and I hope a member of the team can give me some insight so I can do what I want to do.
I want to script the comskip executable and depending on the show, either run my own commercial detector or call the comskip binary. Comskip is terrible on the TVE type channels that just show the banner instead of running a commercial. Of course on channels (like OTA) comskip does a terrific job.
At this point it works in the sense that channels-dvr calls my script and then in turn runs my program. My program I've tried to duplicate the stdout that the real comskip does and I duplicate the 5 output files it generates. Even though my program does detect the banner type breaks well (at least for my tests on the Travel Channel) channels logs a message that there were no detections when the program finishes.
My question is if you could tell me what your code does to get the detections from comskip. I think in other threads I read that you store the detections in your own DB, which is cool but you must get the detections from comskip somehow and that is eluding me. I thought perhaps you added code to comskip and hit a REST service to get the data into your DB. I would have no way of knowing that of course.
I really would like to this working for myself as it would add a lot of value. I really hate commercials but being properly detected I can live with them. Otherwise I'll probably go back to buying the few shows I do watch and skip the DVR.
Thanks in advance for any info you could supply.