Skip to content

Commit

Permalink
Fix migu (#294), bump v2.6.0
Browse files Browse the repository at this point in the history
* Update migu.js

* Update manifest.json

* Update manifest_firefox.json

* Update listen1.html

* Update README.md

* Update README_EN.md
  • Loading branch information
listen1 authored Apr 27, 2020
1 parent 2587e62 commit 64d9ff2
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 8 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Listen 1 (Chrome Extension) V2.5.2
Listen 1 (Chrome Extension) V2.6.0
==========
最后更新于2019年11月27日
最后更新于2020年04月27日

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

Expand Down Expand Up @@ -46,6 +46,9 @@ Firefox打包安装

更新日志
-------
`2020-04-27`
* 修复咪咕音乐无法播放的bug

`2019-11-27`
* 加入法语支持, 特别感谢 @Leoche

Expand Down
7 changes: 5 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.5.2
Listen 1 (Chrome Extension) V2.6.0
==========
(Last Update Sep 7th, 2019)
(Last Update April 27th, 2020)

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

Expand Down Expand Up @@ -33,6 +33,9 @@ Install (Firefox)

Changelog
-------
`2020-04-27`
* fix migu music

`2019-11-27`
* add frech language, special thanks to @Leoche

Expand Down
2 changes: 1 addition & 1 deletion js/provider/migu.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ function build_migu() {
} = response;
const {
playUrl
} = res_data.data.hqPlayInfo;
} = res_data.data;
if (playUrl != null) {
sound.url = playUrl; // eslint-disable-line no-param-reassign
success();
Expand Down
2 changes: 1 addition & 1 deletion listen1.html
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,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.5.2 {{_LICENSE_NOTICE}}</p>
<p> {{_VERSION}}: 2.6.0 {{_LICENSE_NOTICE}}</p>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"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.5.2",
"version": "2.6.0",
"web_accessible_resources": [ "images/*" ],
"commands": {
"play_next": {
Expand Down
2 changes: 1 addition & 1 deletion manifest_firefox.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"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.5.2",
"version": "2.6.0",
"web_accessible_resources": [ "images/*" ],
"content_scripts": [{
"matches": ["https://listen1.github.io/listen1/*"],
Expand Down

0 comments on commit 64d9ff2

Please sign in to comment.