diff --git a/CHANGELOG.md b/CHANGELOG.md index 9dd3f98636..a0b56e7d05 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file. * New highly simplified EmuDeck theme (only recommended for EmuDeck users as it hides parser config). Credit to @dragoonDorise. * Everyone who has made a feature contribution is now in the about page. * Legacy banner images now sym-linked instead of copied (reduces storage usage by 17%) +* Steam images become sources immediately after hitting save apps to steam. This means that if you have some (or many) SGDB requests time out you can just wait a few seconds and hit "save apps to steam" again and it will get only those images. ### Changed * Major re-factor of parsers service, parsers component, and preview component. Preparation for new and more powerful preview. diff --git a/src/lib/vdf-screenshots-file.ts b/src/lib/vdf-screenshots-file.ts index 699acefafc..5b94dce743 100644 --- a/src/lib/vdf-screenshots-file.ts +++ b/src/lib/vdf-screenshots-file.ts @@ -1,4 +1,5 @@ import { VDF_ScreenshotsData, VDF_ScreenshotItem, xRequestOptions } from "../models"; +import { artworkTypes, artworkIdDict } from "./artwork-types"; import { xRequest } from './x-request'; import { VDF_Error } from './vdf-error'; import { APP } from '../variables'; @@ -51,7 +52,10 @@ export class VDF_ScreenshotsFile { set extraneous(value: string[]) { this.extraneousAppIds = value.reduce((r, e)=>{ - r.push(e, ids.shortenAppId(e), ids.shortenAppId(e).concat('p'),ids.shortenAppId(e).concat('_hero'),ids.shortenAppId(e).concat('_logo'),ids.shortenAppId(e).concat('_icon')); + r.push(e); + for(const artworkType of artworkTypes) { + r.push(ids.shortenAppId(e).concat(artworkIdDict[artworkType])); + } return r; }, []); }