func StudioImages(p *models.Studio, paths []string, aliases []string, rw models.ImageReaderWriter, cache *match.Cache) error {
	t := getStudioTagger(p, aliases, cache)

	for _, tt := range t {
		if err := tt.tagImages(paths, rw, func(subjectID, otherID int) (bool, error) {
			return addImageStudio(rw, otherID, subjectID)
		}); err != nil {
			return err
		}
	}

	return nil
}
// StudioImages searches for images whose path matches the provided studio name and tags the image with the studio, if studio is not already set on the image.
StudioImages searches for images whose path matches the provided studio name and tags the image with the studio, if studio is not already set on the image.
// StudioImages searches for images whose path matches the provided studio name and tags the image with the studio if studio is not already set on the image .
func StudioImages(p *models.Studio, paths []string, aliases []string, rw models.ImageReaderWriter, cache *match.Cache) error {
	t := getStudioTagger(p, aliases, cache)
	for _, tt := range t {
		if err := tt.tagImages(paths, rw, func(subjectID, otherID int) (bool, error) {
			return addImageStudio(rw, otherID, subjectID)
		}); err != nil {
			return err
		}
	}
	return nil
}
func StudioImages ( p * models . Studio , paths [ ] string , aliases [ ] string , rw models . ImageReaderWriter , cache * match . Cache ) error { t := getStudioTagger ( p , aliases , cache ) for _ , tt := range t { if err := tt . tagImages ( paths , rw , func ( subjectID , otherID int ) ( bool , error ) { return addImageStudio ( rw , otherID , subjectID ) } ) ; err != nil { return err } } return nil }
StudioImages searches for images whose path matches the provided studio name and tags the image with the studio, if studio is not already set on the image.
StudioImages searches for images whose path matches the provided studio name and tags the image with the studio if studio is not already set on the image .