Skip to content

修复扫描到特定文件路径时出现异常而中断,歌曲列表不显示的问题#41

Open
honyxiao wants to merge 1 commit intoryanhoo:developfrom
honyxiao:develop
Open

修复扫描到特定文件路径时出现异常而中断,歌曲列表不显示的问题#41
honyxiao wants to merge 1 commit intoryanhoo:developfrom
honyxiao:develop

Conversation

@honyxiao
Copy link

@honyxiao honyxiao commented Jan 4, 2018

No description provided.

try {
metadataRetriever.setDataSource(file.getAbsolutePath());
} catch (Exception e) {
return null;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

最好是打印出为什么出现异常的信息,而不是直接拦截掉异常不作处理

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants