• Thomas Guillem's avatar
    input: item: fix false positives when matching slaves · aa4c7ce7
    Thomas Guillem authored
     - don't match 2 possible slaves between each others
     - The slave name len should not be twice longer than the item name len.
       (avoid matching "2016 - blabla.aac" with "20.mkv" for example)
    
    The matching algorithm is still quite dumb and far from perfect. We should
    detect item as slaves only if they have a language indication in their path
    name.
    
    Fixes #18913
    aa4c7ce7
Name
Last commit
Last update
autotools Loading commit data...
bin Loading commit data...
compat Loading commit data...
contrib Loading commit data...
doc Loading commit data...
extras Loading commit data...
include Loading commit data...
lib Loading commit data...
m4 Loading commit data...
modules Loading commit data...
po Loading commit data...
share Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
THANKS Loading commit data...
bootstrap Loading commit data...
configure.ac Loading commit data...
make-alias Loading commit data...