XenorPLxx / playnite-library-psn

Playnite library extension for PSN.
MIT License
16 stars 3 forks source link

Games duplicated if name changed manually #1

Closed XenorPLxx closed 3 years ago

XenorPLxx commented 3 years ago

From Jonathan on Discord: one thing I've noticed with the Playstation library import, if I edit the name within Playnite and then update the PlayStation library it's adding the same game again? Maybe not matching properly, I'm not sure.

As an example, it's imported "HEAVY RAIN" but I prefer having my library like so "Heavy Rain" so I edit the name, but the next time I run the library update for PlayStation, it will import "HEAVY RAIN" again even though it's already there

XenorPLxx commented 3 years ago

Trying to reproduce with no success: https://user-images.githubusercontent.com/6712823/135752266-7ae0bd01-ce16-4b05-946f-d4dd65be35db.mp4

XenorPLxx commented 3 years ago

image image It was the same game twice, with different IDs. Happens on PSN API, removing those duplicates would require hard-coding possible IDs for each game, as matching just by name would lead to all kinds of other issues.