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:
parent
3fdde4d712
commit
8aa798318a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user