junkstore icon indicating copy to clipboard operation
junkstore copied to clipboard

Duplicate genre and publisher in game info

Open Efreak opened this issue 11 months ago • 3 comments

Describe the bug For some games the publisher and genre is duplicated multiple times over. Alan Wake is the best example I've seen, with Microsoft Game Studio listed 6 times, but it occurs with others as well.

To Reproduce Steps to reproduce the behavior:

  1. Go to Alan Wake in Junk Store
  2. Scroll down to publisher and genre information

Expected behavior The information is presented once

Screenshots

Image Image Image

Handheld device (please complete the following information):

  • Device: Steam Deck
  • OS: SteamOS
  • Version: 3.6.21 (beta, but this was occurring on both last beta and stable as well)
Screenshot of version

Image

Efreak avatar Jan 17 '25 21:01 Efreak

This is most likely a gamesDB issue but we will add it to the list of things to look at.

mrsjunkrunner avatar Jan 18 '25 03:01 mrsjunkrunner

If this is the information coming in, and the rest is good quality, it may be worthwhile to just detect and remove duplication when presenting the information: [...new Set(publishers.split(/,\s*/))].join(', ').

Efreak avatar Jan 26 '25 23:01 Efreak

It's probably better to just scrub it before it enters the DB...

ebenbruyns avatar Jan 27 '25 00:01 ebenbruyns

This is a gamesdb issue as it is where all game metadat is pulled from. I am linking this issue to #65 as they are all related.

If someone from the community wants to work on this issue and submits a PR it will be reviewed and merged.

mrsjunkrunner avatar Sep 29 '25 20:09 mrsjunkrunner