修复音乐返回异常问题
This commit is contained in:
parent
4b91b65d43
commit
4ffd94e3d1
@ -132,8 +132,7 @@ public class MusicToolsServiceImpl implements IMusicToolsService {
|
||||
if (main.isEmpty()) {
|
||||
t2.setFile("root");
|
||||
} else {
|
||||
MusicData tmp = main.get(0);
|
||||
t2.setFile(new File(tmp.getLastdir()).getAbsolutePath());
|
||||
t2.setFile(new File(path).getParent());
|
||||
}
|
||||
com.yutou.nas.utils.Log.i("查询地址:" + path + " 设置返回地址:" + t2.getFile());
|
||||
t2.setIsdir(1);
|
||||
|
Loading…
Reference in New Issue
Block a user