diff --git a/source/net/filebot/format/MediaBindingBean.java b/source/net/filebot/format/MediaBindingBean.java index cb015c5f..cd28fa10 100644 --- a/source/net/filebot/format/MediaBindingBean.java +++ b/source/net/filebot/format/MediaBindingBean.java @@ -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")