<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 26 Oct 2012, at 09:55, Tim Phipps wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>Quoting Mark Greenwood <<a href="mailto:fatgerman@gmail.com">fatgerman@gmail.com</a>>:<br><br><blockquote type="cite">On 26 Oct 2012, at 09:22, Tim Phipps wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">That looks really interesting Tim, I'd love to give it a try. However you'll have to help me with :<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Compile the two C programs<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">This non-C programmer needs more information. Save the two files somewhere and then type?. what?<br></blockquote><br>Good point. Save the files to catagrower.c and mausc.c the run:<br><br>gcc -std=c99 -Wall -Wextra -Werror -O catagrower.c -o catagrower<br></div></blockquote><div><br></div><div>Ah.</div><div><br></div><div><div>gcc -std=c99 -Wall -Wextra -Werror -O catagrower.c -o catagrower</div><div>catagrower.c: In function ‘main’:</div><div>catagrower.c:46:13: error: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Werror=unused-result]</div><div>cc1: all warnings being treated as errors</div><div><br></div><div>My knowledge of C being what it isn't, I'm stumped by even the simplest cryptic messages from compilers. I compiled it again without the -Werror because I don't think this error/warning actually matters, and carried on.</div></div><br><blockquote type="cite"><div>gcc -std=c99 -Wall -Wextra -Werror -O mausc.c -o mausc -lsndfile -lm<br></div></blockquote><div><br></div><div>This compiled OK, once I noticed I needed libsndfile1-dev installed.</div><div><br></div><div>Where your instructions say</div><div><br></div><div><span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.200000762939453px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none; ">Follow the instructions on </span><a href="http://www.mythtv.org/wiki/Mythcommflag-wrapper" title="Mythcommflag-wrapper" style="text-decoration: none; color: rgb(11, 0, 128); background-image: none; background-color: rgb(255, 255, 255); font-family: sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.200000762939453px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-position: initial initial; background-repeat: initial initial; ">Mythcommflag-wrapper</a><span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.200000762939453px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none; ">.</span></div><div><span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.200000762939453px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none; "><br></span></div><div><span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.200000762939453px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none; ">I assume this means to change the Advert-detection command in the backend setup to '/usr/local/bin/mausc_wrapper.py -j %JOBID% -V 0'</span></div><div><span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.200000762939453px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none; "><br></span></div><div><span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.200000762939453px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none; ">I then went to my recorded programs and started commercial flagging for one of them. Nothing appears to be happening. There's nothing in any log anywhere… so I'm not sure if it's working or not. Other than watching the show to see if it has commercial breaks detected, what else can I look for?</span></div><div><span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.200000762939453px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none; "><br></span></div><div><span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.200000762939453px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none; ">Cheers,</span></div><div><span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.200000762939453px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none; "><br></span></div><div><span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.200000762939453px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none; ">Mark</span></div><div style="text-align: left;"><font class="Apple-style-span" face="sans-serif"><span class="Apple-style-span" style="font-size: 13px; line-height: 19px;"><br></span></font></div><br><blockquote type="cite"><div><br>Then copy catagrowr and masuc to /usr/local/bin.<br><br>Cheers,<br>Tim.<br><br><br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>http://www.mythtv.org/mailman/listinfo/mythtv-users<br></div></blockquote></div><br></body></html>