<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Am 05.04.2013 05:21, schrieb Teemu
      Suikki:<br>
    </div>
    <blockquote
cite="mid:CA+-vR2dvqqyOOBL6LPRsZOsot4F7+GMiHgX4cPRm8u5jzMkRAA@mail.gmail.com"
      type="cite">
      <p>Ok, I fixed it..</p>
      <p>In file epgsearchext.c, function CheckRepeatTimers, there is a
        line:</p>
      <p> if (EventsMatch(pEvent, pEventP, compareTitle,
        compareSubtitle, compareSummary, compareDate,
        catvaluesAvoidRepeat))</p>
      <p>There is no match limit given! So I added it like this:</p>
      <p> if (EventsMatch(pEvent, pEventP, compareTitle,
        compareSubtitle, compareSummary, compareDate,
        catvaluesAvoidRepeat, compareSummaryMatchInPercent))<br>
      </p>
      <p>Seems to work now. Still needs your earlier patch in
        epgsearchtools.c of course.<br>
      </p>
    </blockquote>
    <br>
    thanks for the feedback. After testing it in my environment I will
    push it to the git.<br>
    <br>
    cheers,<br>
    Christian<br>
    <br>
    <blockquote
cite="mid:CA+-vR2dvqqyOOBL6LPRsZOsot4F7+GMiHgX4cPRm8u5jzMkRAA@mail.gmail.com"
      type="cite">
      <p><br>
        <br>
      </p>
      <div class="gmail_quote">5.4.2013 5.48 "Teemu Suikki" <<a
          moz-do-not-send="true" href="mailto:tsuikki@zuik.org">tsuikki@zuik.org</a>>
        kirjoitti:<br type="attribution">
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <p>I tried this, no change.. </p>
          <p>Then I added some debug. For some reason, matchLimit is 90
            even if I have set it to 100! There must be some other bug
            that resets matchLimit..</p>
          <p>If I set matchLimit=100 inside the function, it works as
            expected if your patch is installed.<br>
          </p>
          <div class="gmail_quote">5.4.2013 0.32 "Christian Wieninger"
            <<a moz-do-not-send="true"
              href="mailto:cwieninger@gmx.de" target="_blank">cwieninger@gmx.de</a>>
            kirjoitti:<br type="attribution">
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000">
                <div>Hi,<br>
                  <br>
                  probably the following code is the reason for this
                  behaviour:<br>
                  <br>
                  epgsearchtools.c:<br>
                  <br>
                     // last try with Levenshtein Distance, only compare
                  the first 1000 chars<br>
                     double fMatch = FuzzyMatch(eDescr, rDescr, 1000);<br>
                     double tmp_matchlimit = matchLimit/100.0;<br>
                     if(maxLength - minLength < 5)<br>
                     {<br>
                        tmp_matchlimit = 0.95;<br>
                        LogFile.Log(2,"difference between both
                  descriptions is < 5 setting matchlimit to: %.2f
                  %%", tmp_matchlimit*100);<br>
                     }<br>
                  <br>
                  Please change the line <br>
                  <br>
                     if(maxLength - minLength < 5)<br>
                  <br>
                  to <br>
                  <br>
                     if(maxLength - minLength < 5 &&
                  matchLimit < 95)<br>
                  <br>
                  and let me know if it works for you.<br>
                  <br>
                  cheers,<br>
                  Christian<br>
                  <br>
                  <br>
                  Am 04.04.2013 20:04, schrieb Teemu Suikki:<br>
                </div>
                <blockquote type="cite">
                  <p>Hi!</p>
                  <p>I have vdr 1.7.27 and epgsearch 1.0.1.beta2, from
                    yavdr..</p>
                  <p>I'm recording "Game of Thrones" from Canal Digital
                    Nordic. The third season is starting in a few days..</p>
                  <p>The episodes have no episode name, and the
                    description field simply says:<br>
                    "(1:10/s3) 3. kausi maailman suosituimmasta
                    HBO-sarjasta."</p>
                  <p>The text part is always the same, just the episode
                    number varies. So just a single character
                    difference. But epgsearch thinks these are repeats!
                    Even if I set required match to 100%, it still
                    thinks they are repeats.. shouldn't 100% mean exact
                    match? </p>
                  <br>
                  <fieldset></fieldset>
                  <br>
                  <pre>_______________________________________________
vdr mailing list
<a moz-do-not-send="true" href="mailto:vdr@linuxtv.org" target="_blank">vdr@linuxtv.org</a>
<a moz-do-not-send="true" href="http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr" target="_blank">http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr</a>
</pre>
                </blockquote>
                <br>
              </div>
            </blockquote>
          </div>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
vdr mailing list
<a class="moz-txt-link-abbreviated" href="mailto:vdr@linuxtv.org">vdr@linuxtv.org</a>
<a class="moz-txt-link-freetext" href="http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr">http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>