Skip to content

Commit

Permalink
Add humor and nsfw filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucki authored and boppreh committed Mar 1, 2021
1 parent b307969 commit 171f6b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion steamgrid.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ func startApplication() {
steamGridStyles := flag.String("styles", "alternate", "Comma separated list of styles to download from SteamGridDB.\nExample: \"white_logo,material\"")
// "static" "animated"
steamGridTypes := flag.String("types", "static", "Comma separated list of types to download from SteamGridDB.\nExample: \"static,animated\"")
steamGridNsfw := flag.String("nsfw", "false", "Set to false to filter out nsfw, true to only include nsfw, any to include both.")
steamGridHumor := flag.String("humor", "false", "Set to false to filter out humor, true to only include humor, any to include both.")
skipSteam := flag.Bool("skipsteam", false, "Skip downloads from Steam servers")
skipGoogle := flag.Bool("skipgoogle", false, "Skip search and downloads from google")
skipBanner := flag.Bool("skipbanner", false, "Skip search and processing banner artwork")
Expand All @@ -69,7 +71,7 @@ func startApplication() {
}

// Process command line flags
steamGridFilter := "?styles=" + *steamGridStyles + "&types=" + *steamGridTypes
steamGridFilter := "?styles=" + *steamGridStyles + "&types=" + *steamGridTypes + "&nsfw=" + *steamGridNsfw + "&humor=" + *steamGridHumor
if *skipBanner {
delete(artStyles, "Banner")
}
Expand Down

0 comments on commit 171f6b1

Please sign in to comment.