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 {
cover string
cover2 string
background string
disc string
spine string
logo string
screenshot string
cover string
cover2 string
background string
disc string
spine string
logo string
screenshot string
screenshot2 string
}
func getArtUrlForGameFromGithub(gameID string) artUrls {
@@ -26,13 +27,14 @@ func getArtUrlForGameFromGithub(gameID string) artUrls {
}
return artUrls{
cover: genURL("COV"),
cover2: genURL("COV2"),
background: genURL("BG_00"),
disc: genURL("ICO"),
spine: genURL("LAB"),
logo: genURL("LGO"),
screenshot: genURL("SCR_00"),
cover: genURL("COV"),
cover2: genURL("COV2"),
background: genURL("BG_00"),
disc: genURL("ICO"),
spine: genURL("LAB"),
logo: genURL("LGO"),
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.background, "BG")
dl(urls.screenshot, "SCR")
dl(urls.screenshot2, "SRC2")
dl(urls.spine, "LAB")
return nil