1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-13 12:55:00 -05:00

Split music category tags like "hardrock;Hard Rock" as one would expect

This commit is contained in:
Reinhard Pointner 2019-02-28 11:41:59 +07:00
parent 3fdde4d712
commit 8aa798318a

View File

@ -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;
}