Skip to content
  • 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