fix(filters): enable IsScene parsing for value 1 (#676)

This commit is contained in:
Kyle Sanderson 2023-01-28 08:00:09 -08:00 committed by GitHub
parent b7e43dd13f
commit 3713985dcc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -479,7 +479,7 @@ func (r *Release) MapVars(def *IndexerDefinition, varMap map[string]string) erro
} }
if scene, err := getStringMapValue(varMap, "scene"); err == nil { if scene, err := getStringMapValue(varMap, "scene"); err == nil {
r.IsScene = StringEqualFoldMulti(scene, "true", "yes") r.IsScene = StringEqualFoldMulti(scene, "true", "yes", "1")
} }
// set origin. P2P, SCENE, O-SCENE and Internal // set origin. P2P, SCENE, O-SCENE and Internal