* make sure {genre} is going through invalid characters removal

This commit is contained in:
Reinhard Pointner 2014-12-24 18:09:38 +00:00
parent b7e018bcb3
commit dd41be38cf
1 changed files with 2 additions and 2 deletions

View File

@ -537,8 +537,8 @@ public class MediaBindingBean {
}
@Define("genre")
public Object getPrimaryGenre() {
return ((Iterable<?>) getGenres()).iterator().next();
public String getPrimaryGenre() {
return ((Iterable<?>) getGenres()).iterator().next().toString();
}
@Define("director")