Skip to content

[BUG] Duplication of game items for each Steam import #995

@GreyChame1eon

Description

@GreyChame1eon

I have the strange issue with steam synchronization. First import was OK, I've got all my games. But since then each import shows that 5 games were added. I check those 5 games - they always the same (for my account, of course. I have about 300 games in total):

Dishonored RHCP
Max Payne (RU)
Max Payne 2 (RU)
Metro: Last Light Complete Edition
PURE

(I don't know if this list is important)

So for now I have 64 copies of each of those games in my profile, here is some of the records:

media_id       : 103
source         : manual
media_type     : game
title          : Max Payne (RU)
image          : http://media.steampowered.com/steamcommunity/public/images/apps/210350/341d6de6e749fb2889ea046f57702f547853a464.jpg
season_number  : 
episode_number : 
score          : 
status         : Planning
notes          : Imported from Steam
start_date     : 
end_date       : 
progress       : 0min
created_at     : 2025-11-26 15:05:49.065092+00:00
progressed_at  : 2025-11-26 15:05:48.170128+00:00

media_id       : 108
source         : manual
media_type     : game
title          : Max Payne (RU)
image          : http://media.steampowered.com/steamcommunity/public/images/apps/210350/341d6de6e749fb2889ea046f57702f547853a464.jpg
season_number  : 
episode_number : 
score          : 
status         : Planning
notes          : Imported from Steam
start_date     : 
end_date       : 
progress       : 0min
created_at     : 2025-11-26 15:05:52.311152+00:00
progressed_at  : 2025-11-26 15:05:51.161825+00:00

media_id       : 113
source         : manual
media_type     : game
title          : Max Payne (RU)
image          : http://media.steampowered.com/steamcommunity/public/images/apps/210350/341d6de6e749fb2889ea046f57702f547853a464.jpg
season_number  : 
episode_number : 
score          : 
status         : Planning
notes          : Imported from Steam
start_date     : 
end_date       : 
progress       : 0min
created_at     : 2025-11-26 15:05:56.242491+00:00
progressed_at  : 2025-11-26 15:05:54.999491+00:00

(I have exported them to csv and add the filter)

I see those items in web interface as well as in psql:

select id, media_id, media_type, source, title from app_item order by id desc limit 30;

result:

  id  | media_id | media_type | source |               title
------+----------+------------+--------+------------------------------------
 6910 | 330      | game       | manual | PURE
 6909 | 329      | game       | manual | Dishonored RHCP
 6908 | 328      | game       | manual | Max Payne (RU)
 6907 | 327      | game       | manual | Metro: Last Light Complete Edition
 6906 | 326      | game       | manual | Max Payne 2 (RU)
 6905 | 325      | game       | manual | PURE
 6904 | 324      | game       | manual | Dishonored RHCP
 6903 | 323      | game       | manual | Max Payne (RU)
 6902 | 322      | game       | manual | Metro: Last Light Complete Edition
 6901 | 321      | game       | manual | Max Payne 2 (RU)
 6900 | 320      | game       | manual | PURE
 6899 | 319      | game       | manual | Dishonored RHCP
 6898 | 318      | game       | manual | Max Payne (RU)
 6897 | 317      | game       | manual | Metro: Last Light Complete Edition
 6896 | 316      | game       | manual | Max Payne 2 (RU)
 6895 | 315      | game       | manual | PURE
 6894 | 314      | game       | manual | Dishonored RHCP
 6893 | 313      | game       | manual | Max Payne (RU)
 6892 | 312      | game       | manual | Metro: Last Light Complete Edition
 6891 | 311      | game       | manual | Max Payne 2 (RU)
 6890 | 310      | game       | manual | PURE
 6889 | 309      | game       | manual | Dishonored RHCP
 6888 | 308      | game       | manual | Max Payne (RU)
 6887 | 307      | game       | manual | Metro: Last Light Complete Edition
 6886 | 306      | game       | manual | Max Payne 2 (RU)
 6885 | 305      | game       | manual | PURE
 6884 | 304      | game       | manual | Dishonored RHCP
 6883 | 303      | game       | manual | Max Payne (RU)
 6882 | 302      | game       | manual | Metro: Last Light Complete Edition
 6881 | 301      | game       | manual | Max Payne 2 (RU)
(30 rows)

Yamtrack version: v0.24.8 (dockerized)
Database: PostgreSQL 18

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixed in devFixed in the development branch

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions