Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

当查询歌曲出现有的歌曲displayName为空的情况时,所有歌曲显示不出来 #26

Open
zhuzhaolin opened this issue Oct 22, 2016 · 1 comment
Labels

Comments

@zhuzhaolin
Copy link

9kg3s2rd oz0wa c 8xg
ulochfext8e2rq_w8nqzg

@zhuzhaolin zhuzhaolin changed the title 当查询歌曲的数据库时出现有的displayName为空歌曲显示不出来的情况 当查询歌曲时出现有的歌曲displayName为空的情况时,导致所有歌曲显示不出来 Oct 22, 2016
@zhuzhaolin zhuzhaolin changed the title 当查询歌曲时出现有的歌曲displayName为空的情况时,导致所有歌曲显示不出来 当查询歌曲出现有的歌曲displayName为空的情况时,所有歌曲显示不出来 Oct 22, 2016
@ryanhoo ryanhoo added the bug label Oct 23, 2016
@zhuzhaolin
Copy link
Author

问题找到了用MediaMetadataRetriever获取媒体数据时,有些音乐的String displayName = metadataRetriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_TITLE);返回null,导致把数据把displayName放进数据库时出现约束失败,和用dispplayName排序是出现空指针异常

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants