cooperate / SteamGridDBMetadata

A metadata extension for Playnite that uses Steam Grid DB.
43 stars 5 forks source link

Filter "Any" is broken #31

Open jupyteri opened 4 days ago

jupyteri commented 4 days ago

Tested with Humor and Adult Content filters.

Selecting "Any" excludes the content completely. Selecting "Only get assets tagged as ..." is the only way to get content tagged as such.

jupyteri commented 4 days ago

I don't know if adding the condition like this would fix it. https://github.com/cooperate/SteamGridDBMetadata/blob/master/SGDBMetadata/SGDBService.cs

            if (settings.CoverStyle != "any")
            {
                request.AddParameter("styles", settings.CoverStyle, ParameterType.GetOrPost);
            }
            if (settings.CoverDimension != "any")
            {
                request.AddParameter("dimensions", settings.CoverDimension, ParameterType.GetOrPost);
            }
            if (settings.CoverNsfw!= "any")
            {
                request.AddParameter("nsfw", settings.CoverNsfw, ParameterType.GetOrPost);
            }
            if (settings.CoverHumor!= "any")
            {
                request.AddParameter("humor", settings.CoverHumor, ParameterType.GetOrPost);
            }