sharkusmanch/playnite-pcgamingwiki-metadata-provider

strict search of PCGW causes problems

Opened this issue · 2 comments

While trying to download metadata(in my case only the series) for some games i get no results.
This is because the name of the game in Playnite doesn't exactly match the name on PCGW.
Some examples:

"The Settlers - History Edition":
While The Settlers - History Edition and The Settlers 7 - History Edition have series metadata,
the titles from 2 to 6 don't have it. PCGW uses the original release titles.
2 to 4 use roman numbers, 5 is The Settlers: Heritage of Kings - History Edition and 6 is The Settlers: Rise of an Empire - History Edition

"Watch Dogs":
Ubisoft named these WATCH_DOGS at least 1 and 2.

The whole Tom Clancy's Series is an odd one out, none of those get the metadata despite having the same name from what i can tell.

And a lot others which i am not going name all unless you want it.

Yea, this is tricky. This is largely an issue with the PCGamingWiki search API not matching searches well. Seen this lots of time myself with "definitive edtions".

Can probably do some enhancement on the extension to retry searching with a substring if the initial search returns no matches

Acru commented

I think the problem could possibly be resolved by the plugin understanding redirects.

For example, "Saints Row IV: Re-Elected" fails to be found by the plugin, but it does exist as a redirect page to "Saints Row IV"

If a specific edition doesn't exist separately on PCGW, anyone can just add a wiki redirect to the base edition, and in that case there would be no need to mess around with truncated search strings and possible mismatches to unrelated titles, if the plugin could just follow redirects.

The question is, can it be done?