diff --git a/src/main/java/com/yutou/nas/Services/impl/MusicToolsServiceImpl.java b/src/main/java/com/yutou/nas/Services/impl/MusicToolsServiceImpl.java index de729e9..1d8bd0f 100644 --- a/src/main/java/com/yutou/nas/Services/impl/MusicToolsServiceImpl.java +++ b/src/main/java/com/yutou/nas/Services/impl/MusicToolsServiceImpl.java @@ -158,7 +158,9 @@ public class MusicToolsServiceImpl implements IMusicToolsService { Comparator compare = Collator.getInstance(Locale.CHINA); return compare.compare(o1.getTitle(), o2.getTitle()); }); - + if(filter){ + list.removeIf(data -> data.getTitle().contains("instrumental")); + } return list; }