Re: Epgsearch mysteries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

probably the following code is the reason for this behaviour:

epgsearchtools.c:

   // last try with Levenshtein Distance, only compare the first 1000 chars
   double fMatch = FuzzyMatch(eDescr, rDescr, 1000);
   double tmp_matchlimit = matchLimit/100.0;
   if(maxLength - minLength < 5)
   {
      tmp_matchlimit = 0.95;
      LogFile.Log(2,"difference between both descriptions is < 5 setting matchlimit to: %.2f %%", tmp_matchlimit*100);
   }

Please change the line

   if(maxLength - minLength < 5)

to

   if(maxLength - minLength < 5 && matchLimit < 95)

and let me know if it works for you.

cheers,
Christian


Am 04.04.2013 20:04, schrieb Teemu Suikki:

Hi!

I have vdr 1.7.27 and epgsearch 1.0.1.beta2, from yavdr..

I'm recording "Game of Thrones" from Canal Digital Nordic. The third season is starting in a few days..

The episodes have no episode name, and the description field simply says:
"(1:10/s3) 3. kausi maailman suosituimmasta HBO-sarjasta."

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?



_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux