Hyphenated titles

Issue #389 wontfix
Former user created an issue

Hyphenated titles are not correctly matched in Serviio. This may be to do with the online metadata sources such as thetvdb.com, however manually searching via thetvdb.com website this does not become a problem.

As an example:

I previously had mismatched video files from the anime series, Yu-Gi-Oh! that were incorrectly tagged as Yu Yu Hakusho.

Once I had renamed the Yu-Gi-Oh! episodes to be more descriptive (e.g. Yu-Gi-Oh!.Duel.Monsters.S01E01.xxxx.avi etc.), Serviio still matched them as 'Yu Yu Hakusho'. However, once I had removed 'Yu-Gi-Oh!' so the titles became just 'Duel.Monsters.S01E01.xxxx.avi' they were matched correctly. I do not think this is an ideal solution, Serviio should be able to match the full title correctly with hyphens or no hyphens.

Comments (6)

  1. Petr Nejedly repo owner

    hyphens are removed from the file name used for searching to get the best possible match for different scenarios. It didn't work in your case, but it'll help in others. There is no simple way to deal with this and renaming your files helped, so that's the main thing.

    Closing this issue.

  2. Former user Account Deleted

    The problem stems from truncating the filename of the video to the first instance of the hyphen character, regardless of the regular expression pattern used to correctly identify the episode. This is not a problem when scanning the series' folder. However, when it is scraping TheTVDB.com it is first searching using the video filename to find a match before it tries the parent folder name.

    The result is that Serviio is scraping TheTVDB.com using "yu" as the search criteria and results in retrieving the first list from this URL:

    Whilst the parent folder name never gets a chance to search since Serviio has already found a 'match', so this URL:

    never gets executed.

    I don't believe this is just something to be fobbed off to one side and not acknowledged as a bug, because I believe that's rather short-sighted. There are actually quite a few relevant cases where this will also be a problem for fans of other TV series, here are just a few other examples I have also tried:

    • The A-Team
    • K-Ville
    • 3-2-1 Contact
    • Adam-12
    • Spider-Man
    • The X-Files
    • X-Men

    I don't think it's reasonable to simply ask fans of these series to just remove the hyphens from their filenames, especially since the folder names aren't affected. What it could possibly do, is to verify the search results from the episode against the folder name to see if they are from the same TV series.

  3. Log in to comment