diff --git a/pkg/externalreference/stashdb.go b/pkg/externalreference/stashdb.go index 8918f3cdd..ac1e7bc23 100644 --- a/pkg/externalreference/stashdb.go +++ b/pkg/externalreference/stashdb.go @@ -249,7 +249,8 @@ func checkMatchedScenes() { // if len(ref.XbvrLinks) == 0 { for _, xbvrActor := range xbvrScene.Cast { - if strings.EqualFold(strings.TrimSpace(simplifyName(xbvrActor.Name)), strings.TrimSpace(simplifyName(performer.Performer.Name))) { + if strings.EqualFold(strings.TrimSpace(simplifyName(xbvrActor.Name)), strings.TrimSpace(simplifyName(performer.Performer.Name))) || + strings.EqualFold(strings.TrimSpace(simplifyName(xbvrActor.Name)), strings.TrimSpace(simplifyName(performer.As))) { // check if actor already matched exists := false for _, link := range ref.XbvrLinks {