mirror of
https://github.com/mitb-archive/filebot
synced 2025-03-09 22:09:47 -04: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)
|
if (infoObject instanceof Episode)
|
||||||
return getSeriesInfo().getGenres();
|
return getSeriesInfo().getGenres();
|
||||||
if (infoObject instanceof AudioTrack)
|
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;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user