From 7b533bb0df291565325038f79b2b70c54f78f77b Mon Sep 17 00:00:00 2001 From: Yutousama <583819556@qq.com> Date: Tue, 17 May 2022 15:11:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=AB=E6=8F=8F=E9=9F=B3=E4=B9=90=E5=89=8D?= =?UTF-8?q?=E6=B8=85=E7=A9=BA=E6=95=B0=E6=8D=AE=E5=BA=93=EF=BC=8C=E4=BB=A5?= =?UTF-8?q?=E9=98=B2=E6=AD=A2=E9=87=8D=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/yutou/nas/Services/impl/MusicToolsServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 9fad179..3f99124 100644 --- a/src/main/java/com/yutou/nas/Services/impl/MusicToolsServiceImpl.java +++ b/src/main/java/com/yutou/nas/Services/impl/MusicToolsServiceImpl.java @@ -61,10 +61,11 @@ public class MusicToolsServiceImpl implements IMusicToolsService { new Thread(() -> { long startTime = System.currentTimeMillis(); QQBotManager.getInstance().sendMessage("开始扫描音乐夹"); + musicDataDao.truncate(); isScan = true; scan(new File(musicPath)); isScan = false; - com.yutou.nas.utils.Log.i("扫描完成"); + Log.i("扫描完成"); QQBotManager.getInstance().sendMessage("音乐扫描完成,共" + getLength() + "首歌,耗时:" + (System.currentTimeMillis() - startTime)); }).start();