Skip to content

Commit a069fc7

Browse files
authored
change default to AUTHOR and catch art director
1 parent adb4e12 commit a069fc7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

main/java/dc_metadata/Contributor.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,12 @@ else if( matchAdvisor(line)){
146146
else if( matchActor(line) ){ q = ACTOR; }
147147
else if( matchArtist(line) ){ q = ARTIST; }
148148
else if( matchDesigner(line) ){ q = DESIGNER; }
149-
else if( matchDirector(line) ){ q = DIRECTOR; }
149+
else if( matchDirector(line) ){ q = matchArt(line)? EDITOR_ART : DIRECTOR; }
150150
else if( matchIllustrator(line) ){ q = ILLUSTRATOR; }
151151
else if( matchOrganization(line) ){ q = ORGANIZATION; }
152152
else if( matchPhotographer(line) ){ q = PHOTOGRAPHER; }
153153
else if( matchProducer(line) ){ q = PRODUCER; }
154-
else if( matchReporter(line) ){ q = REPORTER; }
154+
else if( matchReporter(line) ){ q = AUTHOR; }
155155

156156

157157
else if( matchManaging(line)){
@@ -161,7 +161,7 @@ else if( matchManaging(line)){
161161
}
162162

163163
//OTHER
164-
else{ q = OTHER; }
164+
else{ q = AUTHOR
165165

166166
return q;
167167
}

0 commit comments

Comments
 (0)