<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">On Apr 27, 2015, at 10:54 PM, dennis <<a href="mailto:deg@outlook.com" class="">deg@outlook.com</a>> wrote:<div class=""><br class=""><div><blockquote type="cite" class="">Any idea why this shows up as a capturecard for a non-existant computer?    Is it safe to just delete using sql?</blockquote><div><br class=""></div><div>No idea about why but yes you can clean things up manually. Besides the row in the capturecard table there should be a matching row in the inputgroup table based on caputurecard’s cardid equalling inputgroups’s cardinputid.</div><div><br class=""></div><div>Essentially you’re manually executing queries from the code that deletes capture cards which is in:</div><div><br class=""></div><div>    <a href="https://github.com/MythTV/mythtv/blob/master/mythtv/libs/libmythtv/cardutil.cpp" class="">https://github.com/MythTV/mythtv/blob/master/mythtv/libs/libmythtv/cardutil.cpp</a></div><div><br class=""></div><div>specifically, the methods CardUtil::DeleteCard and CardUtil::DeleteInput (lines 2084 and 1296).</div><div><br class=""></div><div>Alternatively you could use sql to change the capturecard’s hostname to match your machine and it should show up in myth-setup where you can delete it the usual way.</div><div><br class=""></div><div>- George</div><div><br class=""></div></div></div></body></html>