diff --git a/source/net/filebot/format/MediaBindingBean.java b/source/net/filebot/format/MediaBindingBean.java index 90508788..c529a708 100644 --- a/source/net/filebot/format/MediaBindingBean.java +++ b/source/net/filebot/format/MediaBindingBean.java @@ -642,7 +642,7 @@ public class MediaBindingBean { if (infoObject instanceof Episode) return getSeriesInfo().getGenres(); if (infoObject instanceof AudioTrack) - return Stream.of(getMusic().getGenre()).filter(Objects::nonNull).collect(toList()); + return Stream.of(getMusic().getGenre()).filter(Objects::nonNull).flatMap(SEMICOLON::splitAsStream).map(String::trim).filter(s -> s.length() > 0).collect(toList()); return null; }