fix code chaos when search qq music

This commit is contained in:
listen1 2016-05-08 09:41:08 +08:00
parent 12f70accc7
commit 6bd309f643
2 changed files with 4 additions and 3 deletions

View File

@ -32,6 +32,7 @@ Listen 1 (Chrome Extension) 最后更新于5月8日
* 增加歌词显示
* 精选歌单:添加歌单到当前播放列表,可点击跳转到原始链接
* 修复了搜索qq音乐时的乱码问题
* 修复了循环播放网易歌曲一段时间后暂停的bug
* 修复了可能导致微信公众号无法登录的bug
* 优化性能,删除了不必要的事件消息触发

View File

@ -55,10 +55,10 @@ function qq_get_image_url(qqimgid, img_type) {
function qq_convert_song(song) {
d = {
'id': 'qqtrack_' + song.songmid,
'title': song.songname,
'artist': song.singer[0].name,
'title': htmlDecode(song.songname),
'artist': htmlDecode(song.singer[0].name),
'artist_id': 'qqartist_' + song.singer[0].mid,
'album': song.albumname,
'album': htmlDecode(song.albumname),
'album_id': 'qqalbum_' + song.albummid,
'img_url': qq_get_image_url(song.albummid, 'album'),
'source': 'qq',