added 2nd screenshot in art

This commit is contained in:
2026-01-07 20:24:57 +01:00
parent 0132358cfc
commit 79d9d300cb

View File

@@ -9,13 +9,14 @@ import (
) )
type artUrls struct { type artUrls struct {
cover string cover string
cover2 string cover2 string
background string background string
disc string disc string
spine string spine string
logo string logo string
screenshot string screenshot string
screenshot2 string
} }
func getArtUrlForGameFromGithub(gameID string) artUrls { func getArtUrlForGameFromGithub(gameID string) artUrls {
@@ -26,13 +27,14 @@ func getArtUrlForGameFromGithub(gameID string) artUrls {
} }
return artUrls{ return artUrls{
cover: genURL("COV"), cover: genURL("COV"),
cover2: genURL("COV2"), cover2: genURL("COV2"),
background: genURL("BG_00"), background: genURL("BG_00"),
disc: genURL("ICO"), disc: genURL("ICO"),
spine: genURL("LAB"), spine: genURL("LAB"),
logo: genURL("LGO"), logo: genURL("LGO"),
screenshot: genURL("SCR_00"), screenshot: genURL("SCR_00"),
screenshot2: genURL("SCR_01"),
} }
} }
@@ -49,6 +51,7 @@ func downloadArtForGame(gameID string, targetDir string) error {
dl(urls.disc, "ICO") dl(urls.disc, "ICO")
dl(urls.background, "BG") dl(urls.background, "BG")
dl(urls.screenshot, "SCR") dl(urls.screenshot, "SCR")
dl(urls.screenshot2, "SRC2")
dl(urls.spine, "LAB") dl(urls.spine, "LAB")
return nil return nil