Skip to content

Commit

Permalink
bump v2.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
listen1 committed Oct 26, 2020
1 parent a30295a commit 6278350
Show file tree
Hide file tree
Showing 6 changed files with 101 additions and 26 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Listen 1 (Chrome Extension) V2.14.0
Listen 1 (Chrome Extension) V2.15.0
==========
最后更新于2020年10月18日
最后更新于2020年10月26日

[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE)

Expand Down Expand Up @@ -59,6 +59,11 @@ Firefox打包安装

更新日志
-------
`2020-10-26`
* 增加歌词翻译功能QQ音乐和虾米音乐的支持(感谢@RecluseWind的提交)
* 更新了虾米音乐获取歌曲播放地址,获取歌单,搜索API的获取方式,增加可靠性 (感谢@RecluseWind的提交)
* 修复安装插件后qq音乐网页部分歌单无法打开的bug

`2020-10-18`
* 增加歌词翻译功能,暂时只支持网易云音乐 (感谢@reserveword的提交)
* 修复bilibili音乐无法播放的bug
Expand Down
10 changes: 8 additions & 2 deletions README_EN.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Listen 1 (Chrome Extension) V2.14.0
Listen 1 (Chrome Extension) V2.15.0
==========
(Last Update October 18th, 2020)
(Last Update October 24th, 2020)

[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE)

Expand Down Expand Up @@ -46,6 +46,12 @@ Install (Firefox)

Changelog
-------
-------
`2020-10-26`
* add lyric translation support for qq music, xiami music (thanks @RecluseWind)
* update xiami api including get playlist, search, play music (thanks @RecluseWind)
* fix bug some playlist not response in qq music website after installed extension

`2020-10-18`
* add lyric translation, now for netease music only (thanks @reserveword)
* fix bilibili play fail bug
Expand Down
2 changes: 1 addition & 1 deletion listen1.html
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ <h2> {{ backup.id }} {{backup.description}}</h2>
<p> Listen 1 {{_HOMEPAGE}}: <a open-url="'http://listen1.github.io/listen1/'"> http://listen1.github.io/listen1/ </a> </p>
<p> Listen 1 {{_EMAIL}}: [email protected] </p>
<p> {{_DESIGNER}}: iparanoid </p>
<p> {{_VERSION}}: 2.14.0 {{_LICENSE_NOTICE}}</p>
<p> {{_VERSION}}: 2.15.0 {{_LICENSE_NOTICE}}</p>
</div>
</div>
</div>
Expand Down
51 changes: 42 additions & 9 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"background": {
"scripts": ["js/vendor/jquery-3.3.1.min.js", "js/github_api.js","js/background.js" ]
"scripts": [
"js/vendor/jquery-3.3.1.min.js",
"js/github_api.js",
"js/background.js"
]
},
"browser_action": {
"default_icon": "images/logo.png",
Expand All @@ -14,9 +18,32 @@
},
"manifest_version": 2,
"name": "Listen 1",
"permissions": [ "notifications", "unlimitedStorage", "downloads", "storage", "contextMenus", "tabs", "cookies", "*://music.163.com/*", "*://*.xiami.com/*", "*://*.qq.com/*", "*://*.kugou.com/", "*://*.kuwo.cn/", "*://*.bilibili.com/*", "*://*.bilivideo.com/*", "*://*.migu.cn/*", "*://api.github.com/*", "*://github.com/*", "*://gist.githubusercontent.com/*", "webRequest", "webRequestBlocking"],
"version": "2.14.0",
"web_accessible_resources": [ "images/*" ],
"permissions": [
"notifications",
"unlimitedStorage",
"downloads",
"storage",
"contextMenus",
"tabs",
"cookies",
"*://music.163.com/*",
"*://*.xiami.com/*",
"*://*.qq.com/*",
"*://*.kugou.com/",
"*://*.kuwo.cn/",
"*://*.bilibili.com/*",
"*://*.bilivideo.com/*",
"*://*.migu.cn/*",
"*://api.github.com/*",
"*://github.com/*",
"*://gist.githubusercontent.com/*",
"webRequest",
"webRequestBlocking"
],
"version": "2.15.0",
"web_accessible_resources": [
"images/*"
],
"commands": {
"play_next": {
"suggested_key": {
Expand All @@ -40,8 +67,14 @@
"global": true
}
},
"content_scripts": [{
"matches": ["https://listen1.github.io/listen1/*"],
"js": ["js/oauth_callback.js"]
}]
}
"content_scripts": [
{
"matches": [
"https://listen1.github.io/listen1/*"
],
"js": [
"js/oauth_callback.js"
]
}
]
}
51 changes: 41 additions & 10 deletions manifest_firefox.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
}
},
"background": {
"scripts": ["js/vendor/jquery-3.3.1.min.js", "js/github_api.js","js/background.js" ]
"scripts": [
"js/vendor/jquery-3.3.1.min.js",
"js/github_api.js",
"js/background.js"
]
},
"browser_action": {
"default_icon": "images/logo.png",
Expand All @@ -20,12 +24,39 @@
},
"manifest_version": 2,
"name": "Listen 1",
"permissions": [ "notifications", "unlimitedStorage", "downloads", "storage", "contextMenus", "tabs", "cookies", "*://music.163.com/*", "*://*.xiami.com/*", "*://*.qq.com/*", "*://*.kugou.com/", "*://*.kuwo.cn/", "*://*.bilibili.com/*", "*://*.migu.cn/*", "*://api.github.com/*", "*://github.com/*", "*://gist.githubusercontent.com/*", "webRequest", "webRequestBlocking"],
"version": "2.14.0",
"web_accessible_resources": [ "images/*" ],
"content_scripts": [{
"matches": ["https://listen1.github.io/listen1/*"],
"js": ["js/oauth_callback.js"]
}]
}

"permissions": [
"notifications",
"unlimitedStorage",
"downloads",
"storage",
"contextMenus",
"tabs",
"cookies",
"*://music.163.com/*",
"*://*.xiami.com/*",
"*://*.qq.com/*",
"*://*.kugou.com/",
"*://*.kuwo.cn/",
"*://*.bilibili.com/*",
"*://*.migu.cn/*",
"*://api.github.com/*",
"*://github.com/*",
"*://gist.githubusercontent.com/*",
"webRequest",
"webRequestBlocking"
],
"version": "2.15.0",
"web_accessible_resources": [
"images/*"
],
"content_scripts": [
{
"matches": [
"https://listen1.github.io/listen1/*"
],
"js": [
"js/oauth_callback.js"
]
}
]
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "listen1_chrome_extension",
"version": "2.14.0",
"version": "2.15.0",
"description": "one for all free music in china",
"main": "index.js",
"scripts": {
Expand All @@ -21,4 +21,4 @@
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.14.0"
}
}
}

0 comments on commit 6278350

Please sign in to comment.