<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    Firstly, thanks for all the effort put into MythTV. It's really nice
    having something so full-featured that's also open source.<br>
    <br>
    Yesterday I finally got around to converting some of my DVDs to
    files with handbrake so MythTV could manage them. But I'm finding
    that when I run <b><tt>mythutil --scanvideos</tt></b>, mythvideo
    thinks they are all the same file because they all hash to
    QUERY_FILE_HASH.<br>
    <br>
    This is with self-compiled software 0.27.3-159-g2d4a7c9.<br>
    <br>
    To boil this down a little, I hid all my video files and ran a video
    scan to start with a clean videometadata table.<br>
    Then I un-hid a file that I had originally imported in late May,
    that was in the database with hash ef7a3d3b5f93a941.<br>
    I re-ran the video scan and saw this in the system log:<br>
    <br>
    <blockquote>
      <pre>mythbackend[14089]: I VideoScanner videoscan.cpp:164 (run) Beginning Video Scan.</pre>
      <pre>mythbackend[14089]: I VideoScanner videoscan.cpp:393 (buildFileList) buildFileList directory = myth://Videos@sunraycer/var/lib/mythtv/videos/</pre>
      <pre>mythbackend[14089]: I VideoScanner dirscan.cpp:256 (ScanVideoDirectory) MythVideo::ScanVideoDirectory Scanning Group (myth://Videos@sunraycer/var/lib/mythtv/videos/)</pre>
      <pre>mythbackend[14089]: E VideoScanner mythcorecontext.cpp:335 (ConnectToMasterServer) ERROR: Master backend tried to connect back to itself!</pre>
      <pre>mythbackend[14089]: I VideoScanner videoscan.cpp:354 (updateDB) Adding :  : stomp.mpg : QUERY_FILE_HASH</pre>
      <pre>mythbackend[14089]: I CoreContext metadatafactory.cpp:601 (customEvent) Video Scan Complete: a(1) m(0) d(0)</pre>
    </blockquote>
    ..and this in mysql:<br>
    <br>
    <blockquote>
      <pre>MariaDB [mythconverg]&gt; select intid,filename,hash FROM videometadata;</pre>
      <pre>+-------+-----------+-----------------+</pre>
      <pre>| intid | filename  | hash            |</pre>
      <pre>+-------+-----------+-----------------+</pre>
      <pre>|    10 | stomp.mpg | QUERY_FILE_HASH |</pre>
      <pre>+-------+-----------+-----------------+</pre>
      <pre>1 row in set (0.00 sec)

</pre>
    </blockquote>
    Now, the system I have today is not the one I had back in May - I
    rebuilt it around Mint 17 (14.04) recently, and back then was
    probably on Mint 13 (12.04).<br>
    Is there some system configuration thing I could have botched when I
    rebuilt? Or is this a genuine bug?<br>
    <br>
    Thanks,<br>
    <pre>------------------------------------------------------------------------</pre>
    <pre> Steven J. Magnani               "I claim this network for MARS!</pre>
    <pre> <a class="moz-txt-link-abbreviated" href="http://www.digidescorp.com">www.digidescorp.com</a>              Earthling, return my space modulator!"</pre>
    <pre>
 #include &lt;standard.disclaimer&gt;</pre>
    <br>
  </body>
</html>