<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8">
<style type="text/css">body { font-family:'DejaVu Sans'; font-size:13px}</style>
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">On Fri, 11 Sep 2015 22:40:15 +0100, Paul Stillwell <bigboi@wackywombats.com> wrote:<br><br><blockquote style="margin: 0 0 0.80ex; border-left: #0000FF 2px solid; padding-left: 1ex">Roger,<div class=""><br class=""></div><div class="">I saw the answer about issuing the “UPDATE recorded SET subtitle=REPLACE(subtitle, ‘\0’, ‘’);” sql command, but I want to make sure it will not mess things up further. I’m not a db guy, so I want to make sure not to do anything else to screw things up. If I do that command will it:</div><div class=""><br class=""></div><div class="">a. Potentially fix the problem</div><div class="">b. Makes things worse and not fix the problem</div><div class="">c. Do something, but not fix the problem and I’m no worse off than I am now</div><div class=""><br class=""></div></blockquote><div><br></div><div>You can check the hypothesis using:</div><div><br></div><div>$ mysql -p -u mythtv mythconverg<br>Enter password:<yout mythtv mysql password><br></div><div><br></div><div>mysql> SELECT title, subtitle FROM recorded WHERE CONCAT(title, subtitle, description) LIKE CONCAT("%", CHAR(0x00 using utf8), "%");<br></div><div><br></div><div>That will just report any recording that has null characters in it.</div><div><br></div><div>Similarly </div><div><br></div><div>mysql> SELECT callsign FROM channel WHERE CONCAT(callsign, name) LIKE CONCAT("%", CHAR(0x00 using utf8), "%");</div><div><br></div><div>will report any corrupted channels.</div><div><br></div><div>However, it's puzzling why new recordings show up fine if that really is the cause.</div><br></body></html>