yanfoe / YANFOE.v2

YANFOE.v2 - Movie and TV meta data manager
http://www.yanfoe.com
21 stars 10 forks source link

TV episodes with international/alternative titles not recognized during scan #130

Open FF22 opened 13 years ago

FF22 commented 13 years ago

YANFOE 2a3.2009 doesn't seem to recognize TV show files if they're not bearing the original name of the show, but some alternative ones (for ex. the name of the show in a local language). This regardless of having the show defined with the alternative name on the TV tab.

The issue is especially annoying because by default YANFOE renames all show files when saving the set information, but uses the show titles according to the preferred scraper language (Edit>Settings>Scrapers->The TvDB->Retrieve language) to do so, not the original one. This - coupled with the issue described above - renders all show files instantly unrecognizeable for YANFOE at the next scan.

The obvious solution would be for YANFOE to try to find a match for show names not only using their original names, but also using the names defined on the TV tab and/or using the local name of the show as defined in TvDB . For ideal results YANFOE should also check for matches using both the original (probably accented) and also the US-ASCII-only (accent-removed) variants of the show names, as for most languages with accented chars users prefer to name their files with accents removed to avoid codepage/filesystem issues.

To make clear what I'm talking about let me show an example here:

Original file name: "Desperate Housewives - 1x08 - Guilty.avi" Local show name in Hungarian: "Született feleségek - 1x08 - Bűnös" (^ YANFOEv2 will automatically rename the file to this when you save the set information if you've set "hungarian" as your preferred language in the TvDB settings) Local show name in US-ASCII-only characters: "Szuletett felesegek - 1x08 - Bunos"

So, obviously YANFOE shouldn't only recognize "Desperate Housewives", but also "Született feleségek" and "Szuletett felesegek" as show files beloning to the "Desperate Housewives" show set.

Russe11 commented 12 years ago

This needs investigation on this end as you have obviously picked up on an oversight on my part. Leave it with me.