mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/lyswhut/lx-music-desktop.git
synced 2026-09-20 08:04:00 +08:00
Compare commits
197 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8d6b207833 | ||
|
|
3371a42822 | ||
|
|
fe712318b8 | ||
|
|
593d8327b2 | ||
|
|
d5c54b770f | ||
|
|
32a9a21be1 | ||
|
|
e0735f8928 | ||
|
|
c6dc962134 | ||
|
|
e068103e4d | ||
|
|
6eb5ade9ea | ||
|
|
c40168cacd | ||
|
|
a546b75986 | ||
|
|
8686ecfa54 | ||
|
|
270c48a1dd | ||
|
|
fdbec2cbac | ||
|
|
46049fd15c | ||
|
|
a81fe6ff7f | ||
|
|
fd4e8ecb01 | ||
|
|
8142e5e79e | ||
|
|
0c71772953 | ||
|
|
d54bc21441 | ||
|
|
be4bca2c15 | ||
|
|
2bd54673de | ||
|
|
4a3359f773 | ||
|
|
c35095f90e | ||
|
|
32abccd8c2 | ||
|
|
5d68ca3e18 | ||
|
|
8efa5335b0 | ||
|
|
4710bb16d8 | ||
|
|
db4f3e4e1b | ||
|
|
e18272a6d7 | ||
|
|
85aed9ce9d | ||
|
|
d03f93166f | ||
|
|
a3b1a433c6 | ||
|
|
608f63bc9c | ||
|
|
a4c118648a | ||
|
|
42866b8e4f | ||
|
|
0b7455b74f | ||
|
|
eab7bc3f5f | ||
|
|
af2623d16c | ||
|
|
e683034e77 | ||
|
|
ffa979ddc8 | ||
|
|
8a8c8a5699 | ||
|
|
2aea956fd0 | ||
|
|
1803517943 | ||
|
|
49c8081f68 | ||
|
|
3d64ca37e7 | ||
|
|
ccc88745a6 | ||
|
|
0bf6dbd402 | ||
|
|
b9abb4ce47 | ||
|
|
ad0c0f37c9 | ||
|
|
4c6257c145 | ||
|
|
6c5231dbff | ||
|
|
0454bb9b3c | ||
|
|
021f89da29 | ||
|
|
2ccca633ed | ||
|
|
fe15e025aa | ||
|
|
9e0c416db5 | ||
|
|
fa9b84a9c9 | ||
|
|
b3b1bd7bc8 | ||
|
|
91e806a619 | ||
|
|
6df6eefd3d | ||
|
|
ae35d05649 | ||
|
|
72939db2df | ||
|
|
b6f5770dc2 | ||
|
|
c1e7faa7bf | ||
|
|
37a18eae9c | ||
|
|
010bc5e328 | ||
|
|
a166051781 | ||
|
|
c2341d6697 | ||
|
|
03bba4259e | ||
|
|
80844580df | ||
|
|
a8790b9835 | ||
|
|
36262ff166 | ||
|
|
98d67be9d9 | ||
|
|
131f077c3f | ||
|
|
2c428ef099 | ||
|
|
08887cd6ed | ||
|
|
f786a29b70 | ||
|
|
d3f1d7f378 | ||
|
|
c48a31fd63 | ||
|
|
1217f06324 | ||
|
|
4cc3197be8 | ||
|
|
eb940d5968 | ||
|
|
6381389cac | ||
|
|
ab939e859a | ||
|
|
9bdc71c487 | ||
|
|
56a4abfaff | ||
|
|
769bc7f109 | ||
|
|
a587847e41 | ||
|
|
bda4650de8 | ||
|
|
4f0af93b72 | ||
|
|
4a656268b8 | ||
|
|
2ad9d5990f | ||
|
|
32585bc453 | ||
|
|
66307d4545 | ||
|
|
8b9ae2734f | ||
|
|
96f9e12d93 | ||
|
|
43c4e13c11 | ||
|
|
27f6168a29 | ||
|
|
70dbbc93f4 | ||
|
|
92c9808bfb | ||
|
|
1f8df84b87 | ||
|
|
271c1bcd51 | ||
|
|
f830b1199a | ||
|
|
b80d48aa91 | ||
|
|
691d835d16 | ||
|
|
3ac6d0ff5f | ||
|
|
68b32a20a4 | ||
|
|
88e4df4388 | ||
|
|
3e13980870 | ||
|
|
dd23af7051 | ||
|
|
7d5fc6de12 | ||
|
|
28233fbe58 | ||
|
|
32a35c6706 | ||
|
|
228ddace91 | ||
|
|
f9ffdbbce7 | ||
|
|
9b233683a2 | ||
|
|
ff78fb6b30 | ||
|
|
8efda6478c | ||
|
|
851c7871e3 | ||
|
|
a78c78f3e5 | ||
|
|
05e8442ff1 | ||
|
|
977b842df3 | ||
|
|
5bde54aac1 | ||
|
|
0f27e3ea42 | ||
|
|
d170725f0c | ||
|
|
a26fcf0cd8 | ||
|
|
18a4455511 | ||
|
|
2ab3286d0e | ||
|
|
d4a411ab4a | ||
|
|
c7facb38b1 | ||
|
|
b7434e9eaf | ||
|
|
4a174c0084 | ||
|
|
db8ad1e8eb | ||
|
|
1feaac003a | ||
|
|
c42b2fb34c | ||
|
|
5d48fa93ba | ||
|
|
527ac04c4e | ||
|
|
9644163dc5 | ||
|
|
d0090abd01 | ||
|
|
918d2ad156 | ||
|
|
b028fb955f | ||
|
|
ba33d5a39b | ||
|
|
fd0b9c55fc | ||
|
|
b28fb5c9b4 | ||
|
|
77ecd4be9b | ||
|
|
6f74003e14 | ||
|
|
63b2c2fb2f | ||
|
|
08da7a37e6 | ||
|
|
6b87a8d91b | ||
|
|
0f1364a8d7 | ||
|
|
9dbf70780d | ||
|
|
58e5592c2b | ||
|
|
02cc842cc8 | ||
|
|
e962e866b3 | ||
|
|
af3b30096d | ||
|
|
aa7ab86b62 | ||
|
|
7f864a9e35 | ||
|
|
609d345443 | ||
|
|
426815fa50 | ||
|
|
5d1b1e48d7 | ||
|
|
28d0412adc | ||
|
|
9d070b3671 | ||
|
|
cd423752d1 | ||
|
|
1f8a0eaf67 | ||
|
|
42d9fcd8b0 | ||
|
|
4e1510c840 | ||
|
|
7ebfd43f65 | ||
|
|
41d6157116 | ||
|
|
f9f8297fd6 | ||
|
|
dfbe3f665a | ||
|
|
b36df472e5 | ||
|
|
0b147f708d | ||
|
|
4e3bdbcc74 | ||
|
|
0345419ef3 | ||
|
|
9237dbbc18 | ||
|
|
68ac1b7641 | ||
|
|
2cfe4d29ba | ||
|
|
b436497555 | ||
|
|
7ac638c52c | ||
|
|
f21d2bc7c7 | ||
|
|
550917bd16 | ||
|
|
c1c0311586 | ||
|
|
489bbb6902 | ||
|
|
86af25bde3 | ||
|
|
a599e0716f | ||
|
|
30fc818771 | ||
|
|
df08f677bd | ||
|
|
7247bcad1b | ||
|
|
c0bcac25ea | ||
|
|
ae06019bdb | ||
|
|
432861780a | ||
|
|
111ee88833 | ||
|
|
487ee7015e | ||
|
|
061cc16c27 | ||
|
|
af8d9dff2d |
2
.babelrc
2
.babelrc
@@ -21,6 +21,6 @@
|
||||
"@babel/plugin-syntax-dynamic-import",
|
||||
"@babel/plugin-transform-modules-umd",
|
||||
"@babel/plugin-transform-runtime",
|
||||
"@babel/plugin-proposal-class-properties"
|
||||
"@babel/plugin-transform-class-properties"
|
||||
]
|
||||
}
|
||||
|
||||
55
.github/ISSUE_TEMPLATE/--bug.yml
vendored
55
.github/ISSUE_TEMPLATE/--bug.yml
vendored
@@ -1,55 +0,0 @@
|
||||
name: 🐞报告Bug
|
||||
description: 报告bug,请先查看常见问题及搜索issue列表中有无你要提的问题
|
||||
title: "[Bug]: "
|
||||
body:
|
||||
- type: checkboxes
|
||||
id: check-answer
|
||||
attributes:
|
||||
label: 解决方案检查
|
||||
description: 请确保你已完成以下所有操作
|
||||
options:
|
||||
- label: 我已阅读常见问题(<https://lyswhut.github.io/lx-music-doc/desktop/faq>),并没有找到解决方案
|
||||
required: true
|
||||
- label: 我已搜索issue列表(<https://github.com/lyswhut/lx-music-desktop/issues?utf8=✓&q=>),并没有发现类似的问题
|
||||
required: true
|
||||
- type: textarea
|
||||
id: expected-behavior
|
||||
attributes:
|
||||
label: 预期行为
|
||||
description: 对期望发生的事情的清晰简明描述
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: actual-behavior
|
||||
attributes:
|
||||
label: 实际行为
|
||||
description: 对实际发生的事情的清晰简明描述
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
id: version
|
||||
attributes:
|
||||
label: Lx Music 版本
|
||||
description: 你使用什么版本的LX Music?
|
||||
placeholder: 1.15.0
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
id: last-known-working-version
|
||||
attributes:
|
||||
label: 最后正常的版本
|
||||
description: 如果有,请在此处填写最后正常的版本是多少?
|
||||
placeholder: 1.15.0
|
||||
- type: input
|
||||
id: operating-system-version
|
||||
attributes:
|
||||
label: 操作系统版本
|
||||
description: 您使用的是什么操作系统版本?在 Windows 上,单击开始按钮 > 设置 > 系统 > 关于;在 macOS 上,单击 Apple 菜单 > 关于本机;在 Linux 上,使用 lsb_release 或 uname -a
|
||||
placeholder: "例如 Windows 10 版本 1909、macOS Catalina 10.15.7 或 Ubuntu 20.04"
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: additional-information
|
||||
attributes:
|
||||
label: 附加信息
|
||||
description: 如果你的问题需要进一步解释,或者你所遇到的问题不容易重现,请在此处添加更多信息。(直接把图片、视频拖到编辑框即可添加图片或视频)
|
||||
59
.github/ISSUE_TEMPLATE/bug.yml
vendored
Normal file
59
.github/ISSUE_TEMPLATE/bug.yml
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
name: 🐞 报告错误
|
||||
description: 报告一个错误(Bug),请先查看常见问题及搜索 Issue 列表中有无你要提的问题。
|
||||
title: "[Bug]: "
|
||||
body:
|
||||
- type: checkboxes
|
||||
id: check-answer
|
||||
attributes:
|
||||
label: 解决方案检查
|
||||
description: 请确保你已完成以下所有操作。
|
||||
options:
|
||||
- label: 我已阅读 [常见问题](https://lyswhut.github.io/lx-music-doc/desktop/faq),并没有找到解决方案。
|
||||
required: true
|
||||
- label: 我已搜索 [Issue 列表](https://github.com/lyswhut/lx-music-desktop/issues?q=is%3Aissue+),并没有发现类似的问题。
|
||||
required: true
|
||||
- type: textarea
|
||||
id: expected-behavior
|
||||
attributes:
|
||||
label: 预期行为
|
||||
description: 对期望发生的事情的清晰简明描述。
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: actual-behavior
|
||||
attributes:
|
||||
label: 实际行为
|
||||
description: 对实际发生的事情的清晰简明描述。
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
id: version
|
||||
attributes:
|
||||
label: LX Music 版本
|
||||
description: 你使用什么版本的 LX Music?
|
||||
placeholder: 例如 2.9.0
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
id: last-known-working-version
|
||||
attributes:
|
||||
label: 最后正常的版本
|
||||
description: 如果有,请在此处填写最后正常的版本。
|
||||
placeholder: 例如 2.8.0
|
||||
- type: input
|
||||
id: operating-system-version
|
||||
attributes:
|
||||
label: 操作系统版本
|
||||
description: |
|
||||
你使用什么版本的操作系统?
|
||||
在 macOS 上,单击「Apple 菜单 > 关于本机」;
|
||||
在 Linux 上,执行 `lsb_release` 或 `uname -a` 命令;
|
||||
在 Windows 上,单击「开始按钮 > 设置 > 系统 > 关于」。
|
||||
placeholder: "例如 Windows 11 版本 24H2、macOS Sequoia 15.1.1 或 Ubuntu 24.10"
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: additional-information
|
||||
attributes:
|
||||
label: 附加信息
|
||||
description: 如果你的问题需要进一步解释,或者你所遇到的问题不容易重现,请在此处添加更多信息。(直接把图片/视频拖到编辑框即可添加图片/视频)
|
||||
@@ -1,40 +1,38 @@
|
||||
name: ✨功能请求
|
||||
description: 为这个项目提出一个想法,请先查看常见问题及搜索issue列表中有无你要提的问题
|
||||
name: ✨ 功能请求
|
||||
description: 为这个项目提出一个想法,请先查看常见问题及搜索 Issue 列表中有无你要提的问题。
|
||||
title: "[Feature]: "
|
||||
body:
|
||||
- type: checkboxes
|
||||
id: check-answer
|
||||
attributes:
|
||||
label: 解决方案检查
|
||||
description: 请确保你已完成以下所有操作
|
||||
description: 请确保你已完成以下所有操作。
|
||||
options:
|
||||
- label: 我已阅读常见问题(<https://lyswhut.github.io/lx-music-doc/desktop/faq>),但没有找到解决方案
|
||||
- label: 我已阅读 [常见问题](https://lyswhut.github.io/lx-music-doc/desktop/faq),但没有找到解决方案。
|
||||
required: true
|
||||
- label: 我已搜索issue列表(<https://github.com/lyswhut/lx-music-desktop/issues?utf8=✓&q=>),但没有发现类似的问题
|
||||
- label: 我已搜索 [Issue 列表](https://github.com/lyswhut/lx-music-desktop/issues?q=is%3Aissue+),但没有发现类似的问题。
|
||||
required: true
|
||||
- type: textarea
|
||||
id: problem-description
|
||||
attributes:
|
||||
label: 问题描述
|
||||
description: 请添加清晰简洁的描述,说明你希望通过此功能请求解决的问题
|
||||
description: 请添加清晰简洁的描述,说明你希望通过此功能请求解决的问题。
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: proposed-solution
|
||||
attributes:
|
||||
label: 描述你想要的解决方案
|
||||
description: 简洁明了地描述你要发生的事情
|
||||
description: 简洁明了地描述你要发生的事情。
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: alternatives-considered
|
||||
attributes:
|
||||
label: 描述你考虑过的替代方案
|
||||
description: 对你考虑过的所有替代解决方案或功能的简洁明了的描述
|
||||
validations:
|
||||
required: false
|
||||
description: 对你考虑过的所有替代解决方案或功能的简洁明了的描述。
|
||||
- type: textarea
|
||||
id: additional-information
|
||||
attributes:
|
||||
label: 附加信息
|
||||
description: 如果你的问题需要进一步解释,或者想要表达其他内容,请在此处添加更多信息。(直接把图片、视频拖到编辑框即可添加图片或视频)
|
||||
description: 如果你的问题需要进一步解释,或者想要表达其他内容,请在此处添加更多信息。(直接把图片/视频拖到编辑框即可添加图片/视频)
|
||||
2
.github/actions/setup/action.yml
vendored
2
.github/actions/setup/action.yml
vendored
@@ -7,7 +7,7 @@ runs:
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
node-version: '22'
|
||||
|
||||
# - name: Get npm cache directory
|
||||
# run: node -p -e '`NPM_CACHE_DIR=${require("child_process").execSync("npm config get cache").toString()}`' >> $GITHUB_ENV
|
||||
|
||||
48
.github/workflows/beta-pack.yml
vendored
48
.github/workflows/beta-pack.yml
vendored
@@ -94,12 +94,46 @@ jobs:
|
||||
name: lx-music-desktop-win_arm64-green
|
||||
path: build/*win_arm64-green.7z
|
||||
|
||||
- name: Generate file MD5
|
||||
run: |
|
||||
cd build
|
||||
Get-FileHash *.exe,*.7z -Algorithm MD5 | Format-List
|
||||
|
||||
- name: Install old electron
|
||||
run: npm install electron@22
|
||||
Windows_7:
|
||||
name: Windows_7
|
||||
runs-on: windows-latest
|
||||
env:
|
||||
BUILD_WIN7: true
|
||||
# needs: CheckCode
|
||||
steps:
|
||||
- name: Check out git repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install python setuptools
|
||||
run: pip.exe install setuptools
|
||||
- name: Get npm cache directory
|
||||
shell: pwsh
|
||||
run: echo "NPM_CACHE=$(npm config get cache)" >> $env:GITHUB_ENV
|
||||
|
||||
- name: Setup Node Env
|
||||
env:
|
||||
NPM_CACHE: ${{ env.NPM_CACHE }}
|
||||
uses: ./.github/actions/setup
|
||||
|
||||
- name: Prepare win7 undici env
|
||||
run: |
|
||||
npm install undici@5
|
||||
Set-Content -Path .\src\common\utils\request.ts -Value "export * from './request_node16'"
|
||||
|
||||
- name: Build src code
|
||||
env:
|
||||
BUILD_WIN7: true
|
||||
run: |
|
||||
git status --porcelain
|
||||
npm run build
|
||||
|
||||
- name: Prepare win7 electron env
|
||||
run: |
|
||||
npm install electron@22
|
||||
pip.exe install setuptools
|
||||
|
||||
- name: Build Package win7 Setup x64
|
||||
run: npm run pack:win7:setup:x64
|
||||
@@ -139,11 +173,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install python setuptools
|
||||
run: |
|
||||
mkdir ~/.venv
|
||||
python3 -m venv ~/.venv
|
||||
source ~/.venv/bin/activate
|
||||
python3 -m pip install setuptools
|
||||
run: brew install python-setuptools
|
||||
|
||||
- name: Get npm cache directory
|
||||
shell: bash
|
||||
|
||||
2
.github/workflows/build-test.yml
vendored
2
.github/workflows/build-test.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
|
||||
- name: Install Dependencies
|
||||
run: npm ci
|
||||
|
||||
13
.github/workflows/release.yml
vendored
13
.github/workflows/release.yml
vendored
@@ -98,7 +98,14 @@ jobs:
|
||||
NPM_CACHE: ${{ env.NPM_CACHE }}
|
||||
uses: ./.github/actions/setup
|
||||
|
||||
- name: Prepare win7 undici env
|
||||
run: |
|
||||
npm install undici@5
|
||||
Set-Content -Path .\src\common\utils\request.ts -Value "export * from './request_node16'"
|
||||
|
||||
- name: Build src code
|
||||
env:
|
||||
BUILD_WIN7: true
|
||||
run: |
|
||||
git status --porcelain
|
||||
npm run build
|
||||
@@ -131,11 +138,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install python3 setuptools
|
||||
run: |
|
||||
mkdir ~/.venv
|
||||
python3 -m venv ~/.venv
|
||||
source ~/.venv/bin/activate
|
||||
python3 -m pip install setuptools
|
||||
run: brew install python-setuptools
|
||||
|
||||
- name: Get npm cache directory
|
||||
shell: bash
|
||||
|
||||
16
.ncurc.js
16
.ncurc.js
@@ -6,13 +6,18 @@ module.exports = {
|
||||
'del',
|
||||
'comlink',
|
||||
'vue',
|
||||
'vue-router',
|
||||
'image-size',
|
||||
'message2call',
|
||||
'@types/ws',
|
||||
'eslint',
|
||||
'@types/node',
|
||||
'electron-debug',
|
||||
'eslint-webpack-plugin',
|
||||
|
||||
'eslint-plugin-vue',
|
||||
'vue-eslint-parser',
|
||||
// 'eslint-config-standard-with-typescript',
|
||||
// 'typescript', // https://github.com/microsoft/TypeScript/pull/54567
|
||||
],
|
||||
|
||||
// target: 'newest',
|
||||
@@ -23,13 +28,20 @@ module.exports = {
|
||||
|
||||
// target: 'patch',
|
||||
// filter: [
|
||||
// 'electron',
|
||||
// 'vue',
|
||||
// 'vue-router',
|
||||
// ],
|
||||
|
||||
// target: 'minor',
|
||||
// filter: [
|
||||
// 'electron',
|
||||
// // 'electron',
|
||||
// 'eslint',
|
||||
// 'eslint-webpack-plugin',
|
||||
// 'electron-debug',
|
||||
// '@types/node',
|
||||
|
||||
// 'eslint-plugin-vue',
|
||||
// 'vue-eslint-parser',
|
||||
// ],
|
||||
}
|
||||
|
||||
151
CHANGELOG.md
151
CHANGELOG.md
@@ -6,6 +6,157 @@ Project versioning adheres to [Semantic Versioning](http://semver.org/).
|
||||
Commit convention is based on [Conventional Commits](http://conventionalcommits.org).
|
||||
Change log format is based on [Keep a Changelog](http://keepachangelog.com/).
|
||||
|
||||
## [2.12.1](https://github.com/lyswhut/lx-music-desktop/compare/v2.12.0...v2.12.1) - 2026-02-16
|
||||
|
||||
我们很高兴地宣布新项目 Any Listen 的桌面版已发布,目前已支持列表跟随本地文件自动更新、加载并播放WebDAV上的歌曲等功能,更多功能仍在积极开发中,桌面版与Web版将同步更新。
|
||||
对于有播放本地音乐或播放服务器上音乐需求的人可以试试,若遇到任何问题可以发 issue 反馈。
|
||||
|
||||
### 优化
|
||||
|
||||
- 优化托盘图标行为:在非 Windows 系统中,点击托盘图标时不再显示主窗口
|
||||
|
||||
### 修复
|
||||
|
||||
- 修复音量条在调整音量时实际音量与显示的数值不一致的问题(#2606)
|
||||
- 修复某些情况下搜索框的搜索按钮布局错位的问题(#2622)
|
||||
|
||||
## [2.12.0](https://github.com/lyswhut/lx-music-desktop/compare/v2.11.0...v2.12.0) - 2025-11-29
|
||||
|
||||
我们很高兴地宣布新项目 Any Listen 的桌面版已发布,目前已支持列表跟随本地文件自动更新、加载并播放WebDAV上的歌曲等功能,更多功能仍在积极开发中,桌面版与Web版将同步更新。
|
||||
对于有播放本地音乐或播放服务器上音乐需求的人可以试试,若遇到任何问题可以发 issue 反馈。
|
||||
|
||||
### 新增
|
||||
|
||||
- 新增「设置 → 其他设置 → 主窗口使用软件内置的圆角及阴影」选项 (#2360)
|
||||
*默认启用,关闭后将使用系统原生的窗口样式,该选项重启软件后生效*
|
||||
- 开放 API 新增播放器声音大小、静音、播放进度控制、完整歌词获取,详情看接入文档 (#2386)
|
||||
- 新增「设置 → 播放设置 → 调换歌词翻译与歌词罗马音位置」选项,默认关闭 (#2451)
|
||||
- 新增启动参数 `-hidden`,在启动时将软件最小化到系统托盘 (#2459)
|
||||
- 新增 Any Listen 歌词(用于支持已下载歌曲的歌词逐字播放)标签数据读取与播放 (#2485)
|
||||
- 新增 Any Listen 歌词(包含逐字歌词、翻译、罗马音歌词,如果有)嵌入与下载,默认启用
|
||||
- 下载列表菜单新增歌曲添加弹窗,允许将所选歌曲的在线版本添加到收藏列表 (#2537)
|
||||
|
||||
### 修复
|
||||
|
||||
- 尝试修复进度为0时仍然显示下载完成的问题 (#2471)
|
||||
- 修复TX源搜索失败 (#2575 @Folltoshe)
|
||||
- 修复MG源歌单加载失败
|
||||
- 修复MG源评论加载失败
|
||||
|
||||
### 变更
|
||||
|
||||
- 调换「歌词翻译」与「歌词罗马音」的位置,现在歌词罗马音在歌词翻译的上方展示
|
||||
*若你想要恢复以前的行为,可以开启「调换歌词翻译与歌词罗马音位置」选项*
|
||||
- 更新代理配置规则,现在不启用代理时,图片、音频加载将不再走系统代理 (#2382 @Folltoshe)
|
||||
- 字体设置可以最多设置两种字体([any-listen#82](https://github.com/any-listen/any-listen/issues/82))
|
||||
|
||||
### 其他
|
||||
|
||||
- 更新 Electron 到 37.6.0
|
||||
|
||||
## [2.11.0](https://github.com/lyswhut/lx-music-desktop/compare/v2.10.0...v2.11.0) - 2025-05-01
|
||||
|
||||
### 新增
|
||||
|
||||
- 新增「快进/快退5秒」自定义快捷键设置(#2289)
|
||||
- 新增「设置 → 桌面歌词设置 → 暂停时提高歌词透明度」设置,默认启用(#2294)
|
||||
|
||||
### 修复
|
||||
|
||||
- 修复 Windows 下桌面歌词最小高度与宽度设置问题(#2244)
|
||||
- 修复 Windows 下界面缩放后移动桌面歌词会改变歌词窗口大小的问题(#2244)
|
||||
- 修复 tx 歌单搜索名字、描述出现乱码的问题(#2250)
|
||||
- 修复本地 FLAC 文件内嵌歌词无法读取的问题
|
||||
- 修复潜在播放暂停的问题
|
||||
- 修复 kw 歌单详情出现打开失败的问题(#2317)
|
||||
- 修复 kg 热门评论无法获取的问题
|
||||
- 修复桌面歌词被遮挡时会被暂停的问题(#2320)
|
||||
- 修复 kg 歌单打开失败的问题(thanks @Folltoshe)
|
||||
|
||||
### 优化
|
||||
|
||||
- 允许更小的桌面歌词窗口宽度
|
||||
- 允许拖动桌面歌词控制栏空白处移动歌词窗口(#2280)
|
||||
- 优化「自定义源管理」对话框在小窗口下的布局(#2247, @3gf8jv4dv)
|
||||
- 优化软件文案编排(#2259, #2266, #2269, #2296, @3gf8jv4dv)
|
||||
|
||||
### 变更
|
||||
|
||||
- 我的列表-歌曲菜单中的 歌曲换源 功能从之前的类似软连接的形式改成替换歌曲的形式,也就是说,现在该功能相当于快速在线搜索歌曲,确认换源后将自动将原来的歌曲删除再将选择的歌曲插入被删除歌曲的位置。
|
||||
|
||||
### 其他
|
||||
|
||||
- 更新项目文档(@3gf8jv4dv)
|
||||
- 更新 Electron 到 35.2.2
|
||||
|
||||
## [2.10.0](https://github.com/lyswhut/lx-music-desktop/compare/v2.9.0...v2.10.0) - 2025-01-27
|
||||
|
||||
落雪祝大家新年快乐!
|
||||
|
||||
### 关于之前提到的新项目
|
||||
|
||||
新项目我取名叫 Any Listen,希望它能像它的名字一样让我们能到处任意听歌。
|
||||
经过一年多的开发,因各种原因,实际进度比预期的慢,但还是赶在年前发布了第一个web服务预览版,第一个版本仅支持播放服务器上的歌曲,扩展功能暂时未能开放,但已趋于完成,一两个月内可以搞定。
|
||||
目前的版本仅是“能用”的状态,因时间关系,部分UI未能重新设计,但后面会继续完善。
|
||||
该项目目前的目标用户是拥有自己服务器且上面存储有歌曲的人使用。
|
||||
|
||||
项目刚发布,文档未能完善,遇到使用问题或有任何建议欢迎提 issue 交流,
|
||||
项目地址: https://github.com/any-listen/any-listen
|
||||
|
||||
---
|
||||
|
||||
*感谢 @3gf8jv4dv 对 LX 系列项目翻译、文档等文案的大幅修订优化。*
|
||||
|
||||
### 不兼容性变更
|
||||
|
||||
Linux 系统至少需要 `GLIBC_2.29` 版本才能运行。
|
||||
|
||||
由于将 Electron 升级到 v32.x,原生库的编译被限制到不低于 C++ 20,试了几次无法在 docker 镜像 `node:16` 安装 gcc-10,最终将构建使用镜像更新到 `node:18`。
|
||||
|
||||
### 新增
|
||||
|
||||
- 新增下载的歌曲按列表名分组的功能,默认关闭,可以通过「设置 → 下载设置 → 将文件保存到以对应列表命名的子目录中」启用(#2145)
|
||||
- 新增托盘图标样式「跟随系统亮暗模式」设置,可以在「设置 → 其他」里启用 (#2016)
|
||||
- 支持本地同名 `.krc` 格式歌词文件的读取(#2053)
|
||||
- 开放 API 新增播放器播放/暂停、切歌、收藏当前播放歌曲等接口调用,详情看文档「开放 API 服务」部分(#2077, @14Kay)
|
||||
|
||||
### 优化
|
||||
|
||||
- 优化正常播放结束时的下一首歌曲播放衔接度,在歌曲即将结束播放时将预获取下一首歌曲的播放链接,减少自动切歌时的等待时间(#2126)
|
||||
- 优化歌曲换源机制,提升换源正确率
|
||||
- 优化 Windows 平台上桌面歌词窗口大小调整机制,改用原生的窗口调整方式(#2137)
|
||||
- 修正搜索歌曲提示框文案(#2050)
|
||||
- 优化播放详情页 UI,修复「歌曲名」「艺术家」等文字过长时被截断的问题(#2049)
|
||||
- Scheme URL 的播放歌曲允许更长的专辑名称
|
||||
- 播放本地歌曲时,将优先尝试读取本地同名 `.jpg` 或 `.png` 图片作为播放封面显示,若文件不存在则从音频文件内读取,最后再尝试使用在线图片(#2096)
|
||||
- 客户端模式的同步服务连接允许重定向 5 次(#2109)
|
||||
- 更新软件默认使用的字体,修复 macOS Sequoia (15) 上界面出现乱码的问题(#2076)
|
||||
- 优化简体、繁体中文文案编排,大幅修订英语文案编排(#2159, #2166, #2174 等, @3gf8jv4dv)
|
||||
- 优化排序歌曲、主题名称、添加/编辑主题、列表更新管理等对话框布局及长文本显示效果(#2176, #2188, #2189, #2198 等, @3gf8jv4dv)
|
||||
|
||||
### 修复
|
||||
|
||||
- 修复歌单详情页内歌单名字过长时的 UI 显示问题(#2028)
|
||||
- 修复获取自定义环境音效预设列表逻辑问题
|
||||
- 修复 `.m4a` 文件内嵌歌词无法读取的问题(#2090)
|
||||
- 修复 Windows 任务管理器中的进程名显示为软件描述的问题(#2147)
|
||||
- 修复本地歌曲同名歌词文件调整偏移时间后,下次再播放时调整的设置未被应用的问题(#2139)
|
||||
- 修复首次打开软件后直接创建并删除列表时的报错问题(#2175, @14Kay)
|
||||
|
||||
### 变更
|
||||
|
||||
- 不再长期缓存换源歌曲信息
|
||||
- 更新软件默认使用的字体,现在软件尽量使用系统自带的默认字体
|
||||
- Linux 系统至少需要 `GLIBC_2.29` 版本才能运行
|
||||
|
||||
### 其他
|
||||
|
||||
- 更新 Readme 文档,优化文案编排(#2146, Thanks @3gf8jv4dv)
|
||||
- 更新 Issue 模板(#2153, @3gf8jv4dv)
|
||||
- 更新项目文档(@3gf8jv4dv)
|
||||
- 修订项目协议文件(#2146, #2152, @3gf8jv4dv)
|
||||
- 更新 Electron 到 v32.3.0
|
||||
|
||||
## [2.9.0](https://github.com/lyswhut/lx-music-desktop/compare/v2.8.0...v2.9.0) - 2024-08-24
|
||||
|
||||
### 新增
|
||||
|
||||
2
FAQ.md
2
FAQ.md
@@ -1,6 +1,6 @@
|
||||
# lx-music-desktop 常见问题
|
||||
|
||||
本文档已迁移到:<https://lyswhut.github.io/lx-music-doc/desktop/faq>
|
||||
本文档已迁移至:<https://lyswhut.github.io/lx-music-doc/desktop/faq>
|
||||
|
||||
<!--
|
||||
在阅读本常见问题后,仍然无法解决你的问题,请提交issue或者加企鹅群`830125506`反馈(无事勿加,入群先看群公告),反馈时请**注明**已阅读常见问题!
|
||||
|
||||
126
README.md
126
README.md
@@ -1,5 +1,7 @@
|
||||
<p align="center"><a href="https://github.com/lyswhut/lx-music-desktop"><img width="200" src="https://github.com/lyswhut/lx-music-desktop/blob/master/doc/images/icon.png" alt="lx-music logo"></a></p>
|
||||
|
||||
<h1 align="center">LX Music 桌面版</h1>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://github.com/lyswhut/lx-music-desktop/releases"><img src="https://img.shields.io/github/release/lyswhut/lx-music-desktop" alt="Release version"></a>
|
||||
<a href="https://github.com/lyswhut/lx-music-desktop/actions/workflows/release.yml"><img src="https://github.com/lyswhut/lx-music-desktop/workflows/Build/badge.svg" alt="Build status"></a>
|
||||
@@ -28,143 +30,133 @@
|
||||
[9]: https://img.shields.io/github/license/lyswhut/lx-music-desktop
|
||||
[10]: https://github.com/lyswhut/lx-music-desktop/blob/master/LICENSE -->
|
||||
|
||||
<h2 align="center">洛雪音乐助手桌面版</h2>
|
||||
<p align="center">一个基于 Electron & Vue 开发的音乐软件</p>
|
||||
|
||||
### 说明
|
||||
|
||||
一个基于 Electron + Vue 开发的音乐软件。
|
||||
## 说明
|
||||
|
||||
所用技术栈:
|
||||
|
||||
- Electron 15+
|
||||
- Electron 30+
|
||||
- Vue 3
|
||||
|
||||
已支持的平台:
|
||||
|
||||
- Windows 7 及以上
|
||||
- Mac OS
|
||||
- Linux
|
||||
- macOS
|
||||
- Windows 7 及以上
|
||||
|
||||
软件变化请查看:[更新日志](https://github.com/lyswhut/lx-music-desktop/blob/master/CHANGELOG.md)<br>
|
||||
软件下载请转到:[发布页面](https://github.com/lyswhut/lx-music-desktop/releases)<br>
|
||||
或者到网盘下载(网盘内有MAC、windows版):`https://www.lanzoui.com/b0bf2cfa/` 密码:`glqw`(若链接无法打开请百度:蓝奏云链接打不开)<br>
|
||||
使用常见问题请转至:[常见问题](https://lyswhut.github.io/lx-music-doc/desktop/faq)
|
||||
*移动版项目地址:https://github.com/lyswhut/lx-music-mobile*
|
||||
|
||||
目前本项目的原始发布地址只有**GitHub**及**蓝奏网盘**,其他渠道均为第三方转载发布,与本项目无关!
|
||||
*LX Music 项目发展调整与新项目计划:https://github.com/lyswhut/lx-music-desktop/issues/1912*
|
||||
|
||||
为了提高使用门槛,本软件内的默认设置、UI操作不以新手友好为目标,所以使用前建议先根据你的喜好浏览调整一遍软件设置,阅读一遍[音乐播放列表机制](https://lyswhut.github.io/lx-music-doc/desktop/faq/playlist)及[可用的鼠标、键盘快捷操作](https://lyswhut.github.io/lx-music-doc/desktop/faq/hotkey)
|
||||
软件变化请查看[更新日志](https://github.com/lyswhut/lx-music-desktop/blob/master/CHANGELOG.md)。
|
||||
|
||||
#### Scheme URL支持
|
||||
软件下载请查看 [GitHub Releases](https://github.com/lyswhut/lx-music-desktop/releases)。
|
||||
|
||||
从v1.17.0起支持 Scheme URL,可以使用此功能从浏览器等场景下调用LX Music,我们开发了一个[油猴脚本](https://github.com/lyswhut/lx-music-script#readme)配套使用,<br>
|
||||
脚本安装地址:<https://greasyfork.org/zh-CN/scripts/438148><br>
|
||||
使用常见问题请参阅[桌面版常见问题](https://lyswhut.github.io/lx-music-doc/desktop/faq)。
|
||||
|
||||
若你想自己调用LX Music,可以看[Scheme URL支持](https://lyswhut.github.io/lx-music-doc/desktop/scheme-url)
|
||||
目前本项目的原始发布地址只有 [**GitHub**](https://github.com/lyswhut/lx-music-desktop/releases),其他渠道均为第三方转载发布,与本项目无关!
|
||||
|
||||
#### 数据同步服务
|
||||
为了提高使用门槛,本软件内的默认设置、UI 操作不以新手友好为目标,所以使用前建议先根据你的喜好浏览调整一遍软件设置,阅读一遍[音乐播放列表机制](https://lyswhut.github.io/lx-music-doc/desktop/faq/playlist)及[可用的鼠标、键盘快捷操作](https://lyswhut.github.io/lx-music-doc/desktop/faq/hotkey)。
|
||||
|
||||
从v2.2.0起,我们发布了一个独立版的[数据同步服务](https://github.com/lyswhut/lx-music-sync-server#readme),如果你有服务器,可以将其部署到服务器上作为私人多端同步服务使用,详情看该项目说明
|
||||
### Scheme URL 支持
|
||||
|
||||
#### 启动参数
|
||||
从 v1.17.0 起支持 Scheme URL,可以使用此功能在浏览器等场景下调用 LX Music,我们开发了一个[油猴脚本](https://github.com/lyswhut/lx-music-script#readme)配套使用。
|
||||
|
||||
目前软件已支持的启动参数如下:
|
||||
脚本安装地址:[LX Music 辅助脚本](https://greasyfork.org/zh-CN/scripts/438148)。
|
||||
|
||||
- `-proxy-server` 设置代理服务器,代理应用的所有流量
|
||||
- `-proxy-bypass-list` 以分号分隔的主机列表绕过代理服务器
|
||||
- `-play` 启动时播放指定列表的音乐
|
||||
- `-search` 启动软件时自动在搜索框搜索指定的内容
|
||||
- `-dha` 禁用硬件加速启动(Disable Hardware Acceleration)
|
||||
- `-dt` 以非透明模式启动(Disable Transparent)
|
||||
- `-dhmkh` 禁用硬件媒体密钥处理(Disable Hardware Media Key Handling)
|
||||
若你想自己调用 LX Music,可以参考文档「[Scheme URL 支持](https://lyswhut.github.io/lx-music-doc/desktop/scheme-url)」部分。
|
||||
|
||||
启动参数的详细说明请看[启动参数说明](https://lyswhut.github.io/lx-music-doc/desktop/run-params)
|
||||
### 数据同步服务
|
||||
|
||||
#### 数据存储路径
|
||||
从 v2.2.0 起,我们发布了一个独立的[数据同步服务](https://github.com/lyswhut/lx-music-sync-server#readme)。如果你有服务器,可以将其部署到服务器上作为私人多端同步服务使用,详情看该项目说明。
|
||||
|
||||
### 开放 API 支持
|
||||
|
||||
从 v2.7.0 起支持开放 API 服务。启用该功能后,将会在本地启动一个 HTTP 服务,提供播放器相关的接口供第三方软件调用,详情看文档「[开放 API 服务](https://lyswhut.github.io/lx-music-doc/desktop/open-api)」部分。
|
||||
|
||||
### 数据存储目录
|
||||
|
||||
默认情况下,软件的数据存储在:
|
||||
|
||||
- Windows:`%APPDATA%/lx-music-desktop`
|
||||
- Linux:`$XDG_CONFIG_HOME/lx-music-desktop` 或 `~/.config/lx-music-desktop`
|
||||
- macOS:`~/Library/Application Support/lx-music-desktop`
|
||||
- Windows:`%APPDATA%/lx-music-desktop`
|
||||
|
||||
在Windows平台下,若程序目录下存在`portable`目录,则自动使用此目录作为数据存储目录(v1.17.0新增)。
|
||||
在 Windows 平台上,若程序文件夹中存在 `portable` 文件夹,则自动使用此文件夹作为数据存储文件夹(适用于 v1.17.0 及以上版本)。
|
||||
|
||||
### 源码使用方法
|
||||
## 用户界面
|
||||
|
||||
已迁移至:<https://lyswhut.github.io/lx-music-doc/desktop/use-source-code>
|
||||
<p><img width="100%" src="./doc/images/app.png" alt="lx-music desktop UI"></p>
|
||||
|
||||
### UI界面
|
||||
## 贡献代码
|
||||
|
||||
<p><a href="https://github.com/lyswhut/lx-music-desktop"><img width="100%" src="https://github.com/lyswhut/lx-music-desktop/blob/master/doc/images/app.png" alt="lx-music UI"></a></p>
|
||||
本项目欢迎 PR,但为了 PR 能顺利合并,需要注意以下几点:
|
||||
|
||||
### 常见问题
|
||||
|
||||
常见问题已移至:<https://lyswhut.github.io/lx-music-doc/desktop/faq>
|
||||
|
||||
### 贡献代码
|
||||
|
||||
本项目欢迎PR,但为了PR能顺利合并,需要注意以下几点:
|
||||
|
||||
- 对于添加新功能的PR,建议在PR前先创建issue说明,以确认该功能是否确实需要
|
||||
- 对于修复Bug PR,请提供修复前后的说明及重现方式
|
||||
- 其他类型的PR则适当附上说明
|
||||
- 对于添加新功能的 PR,建议在提交 PR 前先创建 Issue 进行说明,以确认该功能是否确实需要。
|
||||
- 对于修复 bug 的 PR,请提供修复前后的说明及重现方式。
|
||||
- 对于其他类型的 PR,则适当附上说明。
|
||||
|
||||
贡献代码步骤:
|
||||
|
||||
1. 参照[源码使用方法](https://lyswhut.github.io/lx-music-doc/desktop/use-source-code)设置开发环境
|
||||
2. 克隆本仓库代码并切换到`dev`分支开发
|
||||
3. 提交PR至`dev`分支
|
||||
1. 参照[源码使用方法](https://lyswhut.github.io/lx-music-doc/desktop/use-source-code)设置开发环境;
|
||||
2. 克隆本仓库代码并切换至 `dev` 分支进行开发;
|
||||
3. 提交 PR 至 `dev` 分支。
|
||||
|
||||
### 项目协议
|
||||
## 源码使用方法
|
||||
|
||||
请参阅:<https://lyswhut.github.io/lx-music-doc/desktop/use-source-code>
|
||||
|
||||
## 项目协议
|
||||
|
||||
本项目基于 [Apache License 2.0](https://github.com/lyswhut/lx-music-desktop/blob/master/LICENSE) 许可证发行,以下协议是对于 Apache License 2.0 的补充,如有冲突,以以下协议为准。
|
||||
|
||||
---
|
||||
|
||||
词语约定:本协议中的“本项目”指洛雪音乐桌面版项目;“使用者”指签署本协议的使用者;“官方音乐平台”指对本项目内置的包括酷我、酷狗、咪咕等音乐源的官方平台统称;“版权数据”指包括但不限于图像、音频、名字等在内的他人拥有所属版权的数据。
|
||||
*词语约定:本协议中的“本项目”指 LX Music(洛雪音乐助手)桌面版项目;“使用者”指签署本协议的使用者;“官方音乐平台”指对本项目内置的包括酷我、酷狗、咪咕等音乐源的官方平台统称;“版权数据”指包括但不限于图像、音频、名字等在内的他人拥有所属版权的数据。*
|
||||
|
||||
#### 一、数据来源
|
||||
### 一、数据来源
|
||||
|
||||
1.1 本项目的各官方平台在线数据来源原理是从其公开服务器中拉取数据(与未登录状态在官方平台APP获取的数据相同),经过对数据简单地筛选与合并后进行展示,因此本项目不对数据的合法性、准确性负责。
|
||||
1.1 本项目的各官方平台在线数据来源原理是从其公开服务器中拉取数据(与未登录状态在官方平台 APP 获取的数据相同),经过对数据简单地筛选与合并后进行展示,因此本项目不对数据的合法性、准确性负责。
|
||||
|
||||
1.2 本项目本身没有获取某个音频数据的能力,本项目使用的在线音频数据来源来自软件设置内“音乐来源”设置所选择的“源”返回的在线链接。例如播放某首歌,本项目所做的只是将希望播放的歌曲名字、歌手名字等信息传递给“源”,若“源”返回了一个链接,则本项目将认为这就是该歌曲的音频数据而进行使用,至于这是不是正确的音频数据本项目无法校验其准确性,所以使用本项目的过程中可能会出现希望播放的音频与实际播放的音频不对应或者无法播放的问题。
|
||||
1.2 本项目本身没有获取某个音频数据的能力,本项目使用的在线音频数据来源来自软件设置内“自定义源”设置所选择的“源”返回的在线链接。例如播放某首歌,本项目所做的只是将希望播放的歌曲名、艺术家等信息传递给“源”,若“源”返回了一个链接,则本项目将认为这就是该歌曲的音频数据而进行使用,至于这是不是正确的音频数据本项目无法校验其准确性,所以使用本项目的过程中可能会出现希望播放的音频与实际播放的音频不对应或者无法播放的问题。
|
||||
|
||||
1.3 本项目的非官方平台数据(例如我的收藏列表)来自使用者本地系统或者使用者连接的同步服务,本项目不对这些数据的合法性、准确性负责。
|
||||
1.3 本项目的非官方平台数据(例如“我的列表”内列表)来自使用者本地系统或者使用者连接的同步服务,本项目不对这些数据的合法性、准确性负责。
|
||||
|
||||
#### 二、版权数据
|
||||
### 二、版权数据
|
||||
|
||||
2.1 使用本项目的过程中可能会产生版权数据。对于这些版权数据,本项目不拥有它们的所有权。为了避免侵权,使用者务必在**24小时内**清除使用本项目的过程中所产生的版权数据。
|
||||
2.1 使用本项目的过程中可能会产生版权数据。对于这些版权数据,本项目不拥有它们的所有权。为了避免侵权,使用者务必在 **24 小时内** 清除使用本项目的过程中所产生的版权数据。
|
||||
|
||||
#### 三、音乐平台别名
|
||||
### 三、音乐平台别名
|
||||
|
||||
3.1 本项目内的官方音乐平台别名为本项目内对官方音乐平台的一个称呼,不包含恶意。如果官方音乐平台觉得不妥,可联系本项目更改或移除。
|
||||
|
||||
#### 四、资源使用
|
||||
### 四、资源使用
|
||||
|
||||
4.1 本项目内使用的部分包括但不限于字体、图片等资源来源于互联网。如果出现侵权可联系本项目移除。
|
||||
|
||||
#### 五、免责声明
|
||||
### 五、免责声明
|
||||
|
||||
5.1 由于使用本项目产生的包括由于本协议或由于使用或无法使用本项目而引起的任何性质的任何直接、间接、特殊、偶然或结果性损害(包括但不限于因商誉损失、停工、计算机故障或故障引起的损害赔偿,或任何及所有其他商业损害或损失)由使用者负责。
|
||||
|
||||
#### 六、使用限制
|
||||
### 六、使用限制
|
||||
|
||||
6.1 本项目完全免费,且开源发布于 GitHub 面向全世界人用作对技术的学习交流。本项目不对项目内的技术可能存在违反当地法律法规的行为作保证。
|
||||
|
||||
6.2 **禁止在违反当地法律法规的情况下使用本项目。** 对于使用者在明知或不知当地法律法规不允许的情况下使用本项目所造成的任何违法违规行为由使用者承担,本项目不承担由此造成的任何直接、间接、特殊、偶然或结果性责任。
|
||||
|
||||
#### 七、版权保护
|
||||
### 七、版权保护
|
||||
|
||||
7.1 音乐平台不易,请尊重版权,支持正版。
|
||||
|
||||
#### 八、非商业性质
|
||||
### 八、非商业性质
|
||||
|
||||
8.1 本项目仅用于对技术可行性的探索及研究,不接受任何商业(包括但不限于广告等)合作及捐赠。
|
||||
|
||||
#### 九、接受协议
|
||||
### 九、接受协议
|
||||
|
||||
9.1 若你使用了本项目,将代表你接受本协议。
|
||||
9.1 若你使用了本项目,即代表你接受本协议。
|
||||
|
||||
---
|
||||
|
||||
若对此有疑问请 mail to: lyswhut+qq.com (请将`+`替换成`@`)
|
||||
若对此有疑问请 mail to: lyswhut+qq.com (请将 `+` 替换为 `@`)
|
||||
|
||||
@@ -10,6 +10,7 @@ const afterPack = require('./build-after-pack')
|
||||
*/
|
||||
const options = {
|
||||
appId: 'cn.toside.music.desktop',
|
||||
productName: 'lx-music-desktop',
|
||||
beforePack,
|
||||
afterPack,
|
||||
protocols: {
|
||||
@@ -65,7 +66,7 @@ const winOptions = {
|
||||
oneClick: false,
|
||||
language: '2052',
|
||||
allowToChangeInstallationDirectory: true,
|
||||
differentialPackage: true,
|
||||
// differentialPackage: true,
|
||||
license: './licenses/license.rtf',
|
||||
shortcutName: 'LX Music',
|
||||
},
|
||||
@@ -81,12 +82,18 @@ const linuxOptions = {
|
||||
icon: './resources/icons',
|
||||
category: 'Utility;AudioVideo;Audio;Player;Music;',
|
||||
desktop: {
|
||||
Name: 'LX Music',
|
||||
'Name[zh_CN]': 'LX Music',
|
||||
'Name[zh_TW]': 'LX Music',
|
||||
Encoding: 'UTF-8',
|
||||
MimeType: 'x-scheme-handler/lxmusic',
|
||||
StartupNotify: 'false',
|
||||
// https://www.electron.build/app-builder-lib.interface.linuxdesktopfile
|
||||
// https://www.electronjs.org/docs/latest/tutorial/linux-desktop-actions
|
||||
// https://specifications.freedesktop.org/desktop-entry-spec/latest/example.html
|
||||
// https://developer.gnome.org/documentation/guidelines/maintainer/integrating.html#desktop-files
|
||||
entry: {
|
||||
Name: 'LX Music',
|
||||
'Name[zh_CN]': 'LX Music',
|
||||
'Name[zh_TW]': 'LX Music',
|
||||
Encoding: 'UTF-8',
|
||||
MimeType: 'x-scheme-handler/lxmusic',
|
||||
StartupNotify: 'false',
|
||||
},
|
||||
},
|
||||
},
|
||||
appImage: {
|
||||
@@ -121,7 +128,7 @@ const macOptions = {
|
||||
path: '/Applications',
|
||||
},
|
||||
],
|
||||
title: '洛雪音乐助手 v${version}',
|
||||
title: 'LX Music v${version}',
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
build-config/lib/better_sqlite3_electron-v136-linux-arm.node
Normal file
BIN
build-config/lib/better_sqlite3_electron-v136-linux-arm.node
Normal file
Binary file not shown.
BIN
build-config/lib/better_sqlite3_electron-v136-linux-arm64.node
Normal file
BIN
build-config/lib/better_sqlite3_electron-v136-linux-arm64.node
Normal file
Binary file not shown.
BIN
build-config/lib/better_sqlite3_electron-v136-linux-x64.node
Normal file
BIN
build-config/lib/better_sqlite3_electron-v136-linux-x64.node
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
build-config/lib/qrc_decode_electron-v136-darwin-x64.node
Normal file
BIN
build-config/lib/qrc_decode_electron-v136-darwin-x64.node
Normal file
Binary file not shown.
BIN
build-config/lib/qrc_decode_electron-v136-linux-arm.node
Normal file
BIN
build-config/lib/qrc_decode_electron-v136-linux-arm.node
Normal file
Binary file not shown.
Binary file not shown.
BIN
build-config/lib/qrc_decode_electron-v136-linux-x64.node
Normal file
BIN
build-config/lib/qrc_decode_electron-v136-linux-x64.node
Normal file
Binary file not shown.
BIN
build-config/lib/qrc_decode_electron-v136-win32-arm64.node
Normal file
BIN
build-config/lib/qrc_decode_electron-v136-win32-arm64.node
Normal file
Binary file not shown.
BIN
build-config/lib/qrc_decode_electron-v136-win32-ia32.node
Normal file
BIN
build-config/lib/qrc_decode_electron-v136-win32-ia32.node
Normal file
Binary file not shown.
BIN
build-config/lib/qrc_decode_electron-v136-win32-x64.node
Normal file
BIN
build-config/lib/qrc_decode_electron-v136-win32-x64.node
Normal file
Binary file not shown.
@@ -19,7 +19,13 @@ const gitInfo = {
|
||||
}
|
||||
|
||||
try {
|
||||
if (!execSync('git status --porcelain').toString().trim()) {
|
||||
let isClean = !execSync('git status --porcelain').toString().trim()
|
||||
if (process.env.BUILD_WIN7) {
|
||||
console.warn('BUILD_WIN7 is set, skipping git status check.')
|
||||
console.log('Workspace status:', execSync('git status --porcelain').toString().trim())
|
||||
isClean = true
|
||||
}
|
||||
if (isClean) {
|
||||
gitInfo.commit_id = execSync('git log -1 --pretty=format:"%H"').toString().trim()
|
||||
gitInfo.commit_date = execSync('git log -1 --pretty=format:"%ad" --date=iso-strict').toString().trim()
|
||||
} else if (process.env.IS_CI) {
|
||||
|
||||
@@ -61,7 +61,9 @@ function startRenderer() {
|
||||
},
|
||||
setupMiddlewares(middlewares, devServer) {
|
||||
devServer.app.use(hotMiddlewareRenderer)
|
||||
devServer.middleware.waitUntilValid(resolve)
|
||||
setImmediate(() => {
|
||||
devServer.middleware.waitUntilValid(resolve)
|
||||
})
|
||||
|
||||
return middlewares
|
||||
},
|
||||
@@ -107,7 +109,9 @@ function startRendererLyric() {
|
||||
},
|
||||
setupMiddlewares(middlewares, devServer) {
|
||||
devServer.app.use(hotMiddlewareRenderer)
|
||||
devServer.middleware.waitUntilValid(resolve)
|
||||
setImmediate(() => {
|
||||
devServer.middleware.waitUntilValid(resolve)
|
||||
})
|
||||
return middlewares
|
||||
},
|
||||
}, compiler)
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 487 KiB |
@@ -1,16 +1,19 @@
|
||||
{\rtf1\adeflang1025\ansi\ansicpg936\uc2\adeff0\deff0\stshfdbch31505\stshfloch31506\stshfhich31506\stshfbi0\deflang1033\deflangfe2052\themelang1033\themelangfe2052\themelangcs0{\fonttbl{\f0\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f2\fbidi \fmodern\fcharset0\fprq1{\*\panose 02070309020205020404}Courier New;}
|
||||
{\f13\fbidi \fnil\fcharset134\fprq2{\*\panose 02010600030101010101}\'cb\'ce\'cc\'e5{\*\falt SimSun};}{\f34\fbidi \froman\fcharset0\fprq2{\*\panose 02040503050406030204}Cambria Math;}
|
||||
{\f44\fbidi \fnil\fcharset134\fprq2{\*\panose 00000000000000000000}@\'cb\'ce\'cc\'e5;}{\flomajor\f31500\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}
|
||||
{\f36\fbidi \fnil\fcharset134\fprq2{\*\panose 02010600030101010101}\'b5\'c8\'cf\'df{\*\falt DengXian};}{\f44\fbidi \fnil\fcharset134\fprq2{\*\panose 00000000000000000000}@\'cb\'ce\'cc\'e5;}
|
||||
{\f45\fbidi \fnil\fcharset134\fprq2{\*\panose 00000000000000000000}@\'b5\'c8\'cf\'df;}{\flomajor\f31500\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}
|
||||
{\fdbmajor\f31501\fbidi \fnil\fcharset134\fprq2{\*\panose 02010600030101010101}\'b5\'c8\'cf\'df Light;}{\fhimajor\f31502\fbidi \fnil\fcharset134\fprq2{\*\panose 02010600030101010101}\'b5\'c8\'cf\'df Light;}
|
||||
{\fbimajor\f31503\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\flominor\f31504\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}
|
||||
{\fdbminor\f31505\fbidi \fnil\fcharset134\fprq2{\*\panose 02010600030101010101}\'b5\'c8\'cf\'df{\*\falt DengXian};}{\fhiminor\f31506\fbidi \fnil\fcharset134\fprq2{\*\panose 02010600030101010101}\'b5\'c8\'cf\'df{\*\falt DengXian};}
|
||||
{\fbiminor\f31507\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f45\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f46\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}
|
||||
{\f48\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f49\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f50\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f51\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}
|
||||
{\f52\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f53\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f65\fbidi \fmodern\fcharset238\fprq1 Courier New CE;}{\f66\fbidi \fmodern\fcharset204\fprq1 Courier New Cyr;}
|
||||
{\f68\fbidi \fmodern\fcharset161\fprq1 Courier New Greek;}{\f69\fbidi \fmodern\fcharset162\fprq1 Courier New Tur;}{\f70\fbidi \fmodern\fcharset177\fprq1 Courier New (Hebrew);}{\f71\fbidi \fmodern\fcharset178\fprq1 Courier New (Arabic);}
|
||||
{\f72\fbidi \fmodern\fcharset186\fprq1 Courier New Baltic;}{\f73\fbidi \fmodern\fcharset163\fprq1 Courier New (Vietnamese);}{\f177\fbidi \fnil\fcharset0\fprq2 SimSun Western{\*\falt SimSun};}{\f385\fbidi \froman\fcharset238\fprq2 Cambria Math CE;}
|
||||
{\f386\fbidi \froman\fcharset204\fprq2 Cambria Math Cyr;}{\f388\fbidi \froman\fcharset161\fprq2 Cambria Math Greek;}{\f389\fbidi \froman\fcharset162\fprq2 Cambria Math Tur;}{\f392\fbidi \froman\fcharset186\fprq2 Cambria Math Baltic;}
|
||||
{\f393\fbidi \froman\fcharset163\fprq2 Cambria Math (Vietnamese);}{\f487\fbidi \fnil\fcharset0\fprq2 @SimSun Western;}{\flomajor\f31508\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}
|
||||
{\fbiminor\f31507\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f46\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f47\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}
|
||||
{\f49\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f50\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f51\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f52\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}
|
||||
{\f53\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f54\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f66\fbidi \fmodern\fcharset238\fprq1 Courier New CE;}{\f67\fbidi \fmodern\fcharset204\fprq1 Courier New Cyr;}
|
||||
{\f69\fbidi \fmodern\fcharset161\fprq1 Courier New Greek;}{\f70\fbidi \fmodern\fcharset162\fprq1 Courier New Tur;}{\f71\fbidi \fmodern\fcharset177\fprq1 Courier New (Hebrew);}{\f72\fbidi \fmodern\fcharset178\fprq1 Courier New (Arabic);}
|
||||
{\f73\fbidi \fmodern\fcharset186\fprq1 Courier New Baltic;}{\f74\fbidi \fmodern\fcharset163\fprq1 Courier New (Vietnamese);}{\f178\fbidi \fnil\fcharset0\fprq2 SimSun Western{\*\falt SimSun};}{\f386\fbidi \froman\fcharset238\fprq2 Cambria Math CE;}
|
||||
{\f387\fbidi \froman\fcharset204\fprq2 Cambria Math Cyr;}{\f389\fbidi \froman\fcharset161\fprq2 Cambria Math Greek;}{\f390\fbidi \froman\fcharset162\fprq2 Cambria Math Tur;}{\f393\fbidi \froman\fcharset186\fprq2 Cambria Math Baltic;}
|
||||
{\f394\fbidi \froman\fcharset163\fprq2 Cambria Math (Vietnamese);}{\f408\fbidi \fnil\fcharset0\fprq2 DengXian Western{\*\falt DengXian};}{\f406\fbidi \fnil\fcharset238\fprq2 DengXian CE{\*\falt DengXian};}
|
||||
{\f407\fbidi \fnil\fcharset204\fprq2 DengXian Cyr{\*\falt DengXian};}{\f409\fbidi \fnil\fcharset161\fprq2 DengXian Greek{\*\falt DengXian};}{\f488\fbidi \fnil\fcharset0\fprq2 @SimSun Western;}{\f498\fbidi \fnil\fcharset0\fprq2 @DengXian Western;}
|
||||
{\f496\fbidi \fnil\fcharset238\fprq2 @DengXian CE;}{\f497\fbidi \fnil\fcharset204\fprq2 @DengXian Cyr;}{\f499\fbidi \fnil\fcharset161\fprq2 @DengXian Greek;}{\flomajor\f31508\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}
|
||||
{\flomajor\f31509\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\flomajor\f31511\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\flomajor\f31512\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}
|
||||
{\flomajor\f31513\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\flomajor\f31514\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\flomajor\f31515\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}
|
||||
{\flomajor\f31516\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fdbmajor\f31520\fbidi \fnil\fcharset0\fprq2 DengXian Light Western;}{\fdbmajor\f31518\fbidi \fnil\fcharset238\fprq2 DengXian Light CE;}
|
||||
@@ -38,12 +41,12 @@
|
||||
\fs21\lang1033\langfe2052\kerning2\loch\f31505\hich\af2\dbch\af31505\cgrid\langnp1033\langfenp2052 \sbasedon0 \snext15 \slink16 \sunhideused Plain Text;}{\*\cs16 \additive \rtlch\fcs1 \af2 \ltrch\fcs0 \loch\f31505\hich\af2 \sbasedon10 \slink15 \slocked
|
||||
\'b4\'bf\'ce\'c4\'b1\'be \'d7\'d6\'b7\'fb;}{\*\cs17 \additive \rtlch\fcs1 \af0 \ltrch\fcs0 \ul\cf19 \sbasedon10 \sunhideused \styrsid9533173 Hyperlink;}{\*\cs18 \additive \rtlch\fcs1 \af0 \ltrch\fcs0 \cf20\chshdng0\chcfpat0\chcbpat21
|
||||
\sbasedon10 \ssemihidden \sunhideused \styrsid9533173 Unresolved Mention;}{\*\cs19 \additive \rtlch\fcs1 \af0 \ltrch\fcs0 \ul\cf22 \sbasedon10 \ssemihidden \sunhideused \styrsid9533173 FollowedHyperlink;}}{\*\pgptbl {\pgp\ipgp0\itap0\li0\ri0\sb0\sa0}}
|
||||
{\*\rsidtbl \rsid927107\rsid1398824\rsid2109456\rsid3758332\rsid3950508\rsid4133944\rsid4355753\rsid9533173\rsid10447395\rsid11081282\rsid12910709\rsid13643782\rsid14384001\rsid14511311\rsid15226681}{\mmathPr\mmathFont34\mbrkBin0\mbrkBinSub0\msmallFrac0
|
||||
\mdispDef1\mlMargin0\mrMargin0\mdefJc1\mwrapIndent1440\mintLim0\mnaryLim1}{\info{\author lysyw}{\operator lysyw}{\creatim\yr2019\mo8\dy17\hr10\min22}{\revtim\yr2023\mo10\dy5\hr14\min42}{\version10}{\edmins4}{\nofpages1}{\nofwords193}{\nofchars1105}
|
||||
{\nofcharsws1296}{\vern77}}{\*\xmlnstbl {\xmlns1 http://schemas.microsoft.com/office/word/2003/wordml}}\paperw11906\paperh16838\margl2253\margr2253\margt1440\margb1440\gutter0\ltrsect
|
||||
{\*\rsidtbl \rsid927107\rsid1398824\rsid2109456\rsid2766548\rsid3758332\rsid3950508\rsid4133944\rsid4355753\rsid9533173\rsid10447395\rsid11081282\rsid12910709\rsid13643782\rsid14384001\rsid14511311\rsid15225067\rsid15226681}{\mmathPr\mmathFont34\mbrkBin0
|
||||
\mbrkBinSub0\msmallFrac0\mdispDef1\mlMargin0\mrMargin0\mdefJc1\mwrapIndent1440\mintLim0\mnaryLim1}{\info{\author lysyw}{\operator lysyw}{\creatim\yr2019\mo8\dy17\hr10\min22}{\revtim\yr2025\mo2\dy22\hr15\min34}{\version12}{\edmins5}{\nofpages2}
|
||||
{\nofwords195}{\nofchars1117}{\nofcharsws1310}{\vern77}}{\*\xmlnstbl {\xmlns1 http://schemas.microsoft.com/office/word/2003/wordml}}\paperw11906\paperh16838\margl2253\margr2253\margt1440\margb1440\gutter0\ltrsect
|
||||
\deftab420\ftnbj\aenddoc\trackmoves0\trackformatting1\donotembedsysfont1\relyonvml0\donotembedlingdata0\grfdocevents0\validatexml1\showplaceholdtext0\ignoremixedcontent0\saveinvalidxml0\showxmlerrors1\formshade\horzdoc\dgmargin\dghspace180\dgvspace156
|
||||
\dghorigin450\dgvorigin0\dghshow0\dgvshow2\jcompress\lnongrid
|
||||
\viewkind5\viewscale100\splytwnine\ftnlytwnine\htmautsp\useltbaln\alntblind\lytcalctblwd\lyttblrtgr\lnbrkrule\nobrkwrptbl\snaptogridincell\allowfieldendsel\wrppunct\asianbrkrule\rsidroot3950508\newtblstyruls
|
||||
\dghorigin2253\dgvorigin1440\dghshow0\dgvshow2\jcompress\lnongrid
|
||||
\viewkind1\viewscale100\splytwnine\ftnlytwnine\htmautsp\useltbaln\alntblind\lytcalctblwd\lyttblrtgr\lnbrkrule\nobrkwrptbl\snaptogridincell\allowfieldendsel\wrppunct\asianbrkrule\rsidroot3950508\newtblstyruls
|
||||
\nogrowautofit\usenormstyforlist\noindnmbrts\felnbrelev\nocxsptable\indrlsweleven\noafcnsttbl\afelev\utinl\hwelev\spltpgpar\notcvasp\notbrkcnstfrctbl\notvatxbx\krnprsnet\cachedcolbal \nouicompat {\upr{\*\fchars
|
||||
!%),.:\'3b>?]\'7d\'a1\'e9\'a1\'a7\'a1\'e3\'a1\'a4\'a1\'a6\'a1\'a5\'a8\'44\'a1\'ac\'a1\'af\'a1\'b1\'a1\'ad\'a1\'eb\'a1\'e4\'a1\'e5?\'a1\'e6\'a1\'c3\'a1\'a2\'a1\'a3\'a1\'a8\'a1\'b5\'a1\'b7\'a1\'b9\'a1\'bb\'a1\'bf\'a1\'b3\'a1\'bd\'a8\'95\'a6\'e1\'a6\'e3\'a6\'e7\'a6\'e5\'a6\'eb\'a9\'77\'a9\'79\'a9\'7b\'a3\'a1\'a3\'a2\'a3\'a5\'a3\'a7\'a3\'a9\'a3\'ac\'a3\'ae\'a3\'ba\'a3\'bb\'a3\'bf\'a3\'dd\'a3\'e0\'a3\'fc\'a3\'fd\'a1\'ab\'a1\'e9
|
||||
}{\*\ud\uc0{\*\fchars
|
||||
@@ -53,122 +56,128 @@ $([\'7b{\uc2\u163 \'a1\'ea\u165 \'a3\'a4\'a1\'a4\'a1\'ae\'a1\'b0\'a1\'b4\'a1\'b6
|
||||
\ilfomacatclnup0\ltrpar \sectd \ltrsect\linex0\headery851\footery992\colsx425\endnhere\sectlinegrid312\sectspecifyl\sectrsid2109456\sftnbj {\*\pnseclvl1\pnucrm\pnstart1\pnindent720\pnhang {\pntxta \dbch .}}{\*\pnseclvl2\pnucltr\pnstart1\pnindent720\pnhang
|
||||
{\pntxta \dbch .}}{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang {\pntxta \dbch .}}{\*\pnseclvl4\pnlcltr\pnstart1\pnindent720\pnhang {\pntxta \dbch )}}{\*\pnseclvl5\pndec\pnstart1\pnindent720\pnhang {\pntxtb \dbch (}{\pntxta \dbch )}}{\*\pnseclvl6
|
||||
\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb \dbch (}{\pntxta \dbch )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb \dbch (}{\pntxta \dbch )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb \dbch (}{\pntxta \dbch )}}{\*\pnseclvl9
|
||||
\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb \dbch (}{\pntxta \dbch )}}\pard\plain \ltrpar\s15\qj \li0\ri0\nowidctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid14511311 \rtlch\fcs1 \af2\afs22\alang1025 \ltrch\fcs0
|
||||
\fs21\lang1033\langfe2052\kerning2\loch\af31505\hich\af2\dbch\af31505\cgrid\langnp1033\langfenp2052 {\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13 \'b1\'be\'cf\'ee\'c4\'bf
|
||||
\'bb\'f9\'d3\'da}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \hich\af13\dbch\af13\loch\f13 Apache License 2.0 }{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13 \'d0\'ed\'bf\'c9\'d6\'a4\'b7\'a2\'d0\'d0\'a3\'ac\'d2\'d4\'cf\'c2\'d0\'ad\'d2\'e9\'ca\'c7\'b6\'d4\'d3\'da}{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \hich\af13\dbch\af13\loch\f13 Apache License 2.0 }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13 \'b5\'c4
|
||||
\'b2\'b9\'b3\'e4\'a3\'ac\'c8\'e7\'d3\'d0\'b3\'e5\'cd\'bb\'a3\'ac\'d2\'d4\'d2\'d4\'cf\'c2\'d0\'ad\'d2\'e9\'ce\'aa\'d7\'bc\'a1\'a3}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311
|
||||
\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb \dbch (}{\pntxta \dbch )}}\pard\plain \ltrpar\qj \li0\ri0\nowidctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid2766548 \rtlch\fcs1 \af0\afs22\alang1025 \ltrch\fcs0
|
||||
\fs21\lang1033\langfe2052\kerning2\loch\af31506\hich\af31506\dbch\af31505\cgrid\langnp1033\langfenp2052 {\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'b1\'be\'cf\'ee\'c4\'bf
|
||||
\'bb\'f9\'d3\'da}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \hich\af13\dbch\af13\loch\f13 Apache License 2.0 }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\loch\af13\hich\af13\dbch\f13 \'d0\'ed\'bf\'c9\'d6\'a4\'b7\'a2\'d0\'d0\'a3\'ac\'d2\'d4\'cf\'c2\'d0\'ad\'d2\'e9\'ca\'c7\'b6\'d4\'d3\'da}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\hich\af13\dbch\af13\loch\f13 Apache License 2.0 }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'b5\'c4\'b2\'b9\'b3\'e4\'a3\'ac\'c8\'e7\'d3\'d0\'b3\'e5\'cd\'bb\'a3\'ac\'d2\'d4
|
||||
\'d2\'d4\'cf\'c2\'d0\'ad\'d2\'e9\'ce\'aa\'d7\'bc\'a1\'a3}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\par
|
||||
\par }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13 \'b4\'ca\'d3\'ef\'d4\'bc\'b6\'a8\'a3\'ba\'b1\'be\'d0\'ad\'d2\'e9\'d6\'d0\'b5\'c4\'a1\'b0\'b1\'be\'cf\'ee\'c4\'bf\'a1\'b1\'d6\'b8
|
||||
\'c2\'e5\'d1\'a9\'d2\'f4\'c0\'d6\'d7\'c0\'c3\'e6\'b0\'e6\'cf\'ee\'c4\'bf\'a3\'bb\'a1\'b0\'ca\'b9\'d3\'c3\'d5\'df\'a1\'b1\'d6\'b8\'c7\'a9\'ca\'f0\'b1\'be\'d0\'ad\'d2\'e9\'b5\'c4\'ca\'b9\'d3\'c3\'d5\'df\'a3\'bb\'a1\'b0\'b9\'d9\'b7\'bd\'d2\'f4\'c0\'d6
|
||||
\'c6\'bd\'cc\'a8\'a1\'b1\'d6\'b8\'b6\'d4\'b1\'be\'cf\'ee\'c4\'bf\'c4\'da\'d6\'c3\'b5\'c4\'b0\'fc\'c0\'a8\'bf\'e1\'ce\'d2\'a1\'a2\'bf\'e1\'b9\'b7\'a1\'a2\'df\'e4\'b9\'be\'b5\'c8\'d2\'f4\'c0\'d6\'d4\'b4\'b5\'c4\'b9\'d9\'b7\'bd\'c6\'bd\'cc\'a8\'cd\'b3
|
||||
\'b3\'c6\'a3\'bb\'a1\'b0\'b0\'e6\'c8\'a8\'ca\'fd\'be\'dd\'a1\'b1\'d6\'b8\'b0\'fc\'c0\'a8\'b5\'ab\'b2\'bb\'cf\'de\'d3\'da\'cd\'bc\'cf\'f1\'a1\'a2\'d2\'f4\'c6\'b5\'a1\'a2\'c3\'fb\'d7\'d6\'b5\'c8\'d4\'da\'c4\'da\'b5\'c4\'cb\'fb\'c8\'cb\'d3\'b5\'d3\'d0
|
||||
\'cb\'f9\'ca\'f4\'b0\'e6\'c8\'a8\'b5\'c4\'ca\'fd\'be\'dd\'a1\'a3}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311
|
||||
\par }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'b4\'ca\'d3\'ef\'d4\'bc\'b6\'a8\'a3\'ba\'b1\'be\'d0\'ad\'d2\'e9\'d6\'d0\'b5\'c4\'a1\'b0\'b1\'be\'cf\'ee\'c4\'bf\'a1\'b1\'d6\'b8}{
|
||||
\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \hich\af13\dbch\af13\loch\f13 LX Music }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\loch\af13\hich\af13\dbch\f13 \'d7\'c0\'c3\'e6\'b0\'e6\'cf\'ee\'c4\'bf\'a3\'bb}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \u8220\'a1\'b0}{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'ca\'b9\'d3\'c3\'d5\'df}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \u8221\'a1\'b1}{\rtlch\fcs1 \af13
|
||||
\ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'d6\'b8\'c7\'a9\'ca\'f0\'b1\'be\'d0\'ad\'d2\'e9\'b5\'c4\'ca\'b9\'d3\'c3\'d5\'df\'a3\'bb}{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \u8220\'a1\'b0}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'b9\'d9\'b7\'bd\'d2\'f4\'c0\'d6\'c6\'bd\'cc\'a8}{
|
||||
\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \u8221\'a1\'b1}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'d6\'b8\'b6\'d4\'b1\'be
|
||||
\'cf\'ee\'c4\'bf\'c4\'da\'d6\'c3\'b5\'c4\'b0\'fc\'c0\'a8\'bf\'e1\'ce\'d2\'a1\'a2\'bf\'e1\'b9\'b7\'a1\'a2\'df\'e4\'b9\'be\'b5\'c8\'d2\'f4\'c0\'d6\'d4\'b4\'b5\'c4\'b9\'d9\'b7\'bd\'c6\'bd\'cc\'a8\'cd\'b3\'b3\'c6\'a3\'bb}{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \u8220\'a1\'b0}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'b0\'e6\'c8\'a8\'ca\'fd\'be\'dd}{\rtlch\fcs1 \af13
|
||||
\ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \u8221\'a1\'b1}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'d6\'b8\'b0\'fc\'c0\'a8\'b5\'ab\'b2\'bb
|
||||
\'cf\'de\'d3\'da\'cd\'bc\'cf\'f1\'a1\'a2\'d2\'f4\'c6\'b5\'a1\'a2\'c3\'fb\'d7\'d6\'b5\'c8\'d4\'da\'c4\'da\'b5\'c4\'cb\'fb\'c8\'cb\'d3\'b5\'d3\'d0\'cb\'f9\'ca\'f4\'b0\'e6\'c8\'a8\'b5\'c4\'ca\'fd\'be\'dd\'a1\'a3}{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\par
|
||||
\par }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13 \'d2\'bb\'a1\'a2\'ca\'fd\'be\'dd\'c0\'b4\'d4\'b4}{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311
|
||||
\par }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'d2\'bb\'a1\'a2\'ca\'fd\'be\'dd\'c0\'b4\'d4\'b4}{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\par
|
||||
\par \hich\af13\dbch\af13\loch\f13 1.1 }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13 \'b1\'be\'cf\'ee\'c4\'bf\'b5\'c4\'b8\'f7\'b9\'d9\'b7\'bd\'c6\'bd\'cc\'a8\'d4\'da\'cf\'df
|
||||
\'ca\'fd\'be\'dd\'c0\'b4\'d4\'b4\'d4\'ad\'c0\'ed\'ca\'c7\'b4\'d3\'c6\'e4\'b9\'ab\'bf\'aa\'b7\'fe\'ce\'f1\'c6\'f7\'d6\'d0\'c0\'ad\'c8\'a1\'ca\'fd\'be\'dd\'a3\'a8\'d3\'eb\'ce\'b4\'b5\'c7\'c2\'bc\'d7\'b4\'cc\'ac\'d4\'da\'b9\'d9\'b7\'bd\'c6\'bd\'cc\'a8}{
|
||||
\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \hich\af13\dbch\af13\loch\f13 APP}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13
|
||||
\'bb\'f1\'c8\'a1\'b5\'c4\'ca\'fd\'be\'dd\'cf\'e0\'cd\'ac\'a3\'a9\'a3\'ac\'be\'ad\'b9\'fd\'b6\'d4\'ca\'fd\'be\'dd\'bc\'f2\'b5\'a5\'b5\'d8\'c9\'b8\'d1\'a1\'d3\'eb\'ba\'cf\'b2\'a2\'ba\'f3\'bd\'f8\'d0\'d0\'d5\'b9\'ca\'be\'a3\'ac\'d2\'f2\'b4\'cb\'b1\'be
|
||||
\'cf\'ee\'c4\'bf\'b2\'bb\'b6\'d4\'ca\'fd\'be\'dd\'b5\'c4\'ba\'cf\'b7\'a8\'d0\'d4\'a1\'a2\'d7\'bc\'c8\'b7\'d0\'d4\'b8\'ba\'d4\'f0\'a1\'a3}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311
|
||||
\par \hich\af13\dbch\af13\loch\f13 1.2 }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13 \'b1\'be\'cf\'ee\'c4\'bf\'b1\'be\'c9\'ed\'c3\'bb\'d3\'d0\'bb\'f1\'c8\'a1\'c4\'b3\'b8\'f6
|
||||
\'d2\'f4\'c6\'b5\'ca\'fd\'be\'dd\'b5\'c4\'c4\'dc\'c1\'a6\'a3\'ac\'b1\'be\'cf\'ee\'c4\'bf\'ca\'b9\'d3\'c3\'b5\'c4\'d4\'da\'cf\'df\'d2\'f4\'c6\'b5\'ca\'fd\'be\'dd\'c0\'b4\'d4\'b4\'c0\'b4\'d7\'d4\'c8\'ed\'bc\'fe\'c9\'e8\'d6\'c3\'c4\'da}{\rtlch\fcs1 \af13
|
||||
\ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \u8220\'a1\'b0}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13 \'d2\'f4\'c0\'d6\'c0\'b4\'d4\'b4}{
|
||||
\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \u8221\'a1\'b1}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13 \'c9\'e8\'d6\'c3
|
||||
\'cb\'f9\'d1\'a1\'d4\'f1\'b5\'c4}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \u8220\'a1\'b0}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311
|
||||
\loch\af13\hich\af13\dbch\f13 \'d4\'b4}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \u8221\'a1\'b1}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311
|
||||
\par \hich\af13\dbch\af13\loch\f13 1.1 }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'b1\'be\'cf\'ee\'c4\'bf\'b5\'c4\'b8\'f7\'b9\'d9\'b7\'bd\'c6\'bd\'cc\'a8\'d4\'da\'cf\'df\'ca\'fd
|
||||
\'be\'dd\'c0\'b4\'d4\'b4\'d4\'ad\'c0\'ed\'ca\'c7\'b4\'d3\'c6\'e4\'b9\'ab\'bf\'aa\'b7\'fe\'ce\'f1\'c6\'f7\'d6\'d0\'c0\'ad\'c8\'a1\'ca\'fd\'be\'dd\'a3\'a8\'d3\'eb\'ce\'b4\'b5\'c7\'c2\'bc\'d7\'b4\'cc\'ac\'d4\'da\'b9\'d9\'b7\'bd\'c6\'bd\'cc\'a8}{\rtlch\fcs1
|
||||
\af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \hich\af13\dbch\af13\loch\f13 APP }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'bb\'f1\'c8\'a1
|
||||
\'b5\'c4\'ca\'fd\'be\'dd\'cf\'e0\'cd\'ac\'a3\'a9\'a3\'ac\'be\'ad\'b9\'fd\'b6\'d4\'ca\'fd\'be\'dd\'bc\'f2\'b5\'a5\'b5\'d8\'c9\'b8\'d1\'a1\'d3\'eb\'ba\'cf\'b2\'a2\'ba\'f3\'bd\'f8\'d0\'d0\'d5\'b9\'ca\'be\'a3\'ac\'d2\'f2\'b4\'cb\'b1\'be\'cf\'ee\'c4\'bf
|
||||
\'b2\'bb\'b6\'d4\'ca\'fd\'be\'dd\'b5\'c4\'ba\'cf\'b7\'a8\'d0\'d4\'a1\'a2\'d7\'bc\'c8\'b7\'d0\'d4\'b8\'ba\'d4\'f0\'a1\'a3}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\par
|
||||
\par \hich\af13\dbch\af13\loch\f13 1.2 }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'b1\'be\'cf\'ee\'c4\'bf\'b1\'be\'c9\'ed\'c3\'bb\'d3\'d0\'bb\'f1\'c8\'a1\'c4\'b3\'b8\'f6\'d2\'f4
|
||||
\'c6\'b5\'ca\'fd\'be\'dd\'b5\'c4\'c4\'dc\'c1\'a6\'a3\'ac\'b1\'be\'cf\'ee\'c4\'bf\'ca\'b9\'d3\'c3\'b5\'c4\'d4\'da\'cf\'df\'d2\'f4\'c6\'b5\'ca\'fd\'be\'dd\'c0\'b4\'d4\'b4\'c0\'b4\'d7\'d4\'c8\'ed\'bc\'fe\'c9\'e8\'d6\'c3\'c4\'da}{\rtlch\fcs1 \af13
|
||||
\ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \u8220\'a1\'b0}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'d7\'d4\'b6\'a8\'d2\'e5\'d4\'b4}{
|
||||
\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \u8221\'a1\'b1}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'c9\'e8\'d6\'c3\'cb\'f9
|
||||
\'d1\'a1\'d4\'f1\'b5\'c4}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \u8220\'a1\'b0}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\loch\af13\hich\af13\dbch\f13 \'d4\'b4}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \u8221\'a1\'b1}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\loch\af13\hich\af13\dbch\f13 \'b7\'b5\'bb\'d8\'b5\'c4\'d4\'da\'cf\'df\'c1\'b4\'bd\'d3\'a1\'a3\'c0\'fd\'c8\'e7\'b2\'a5\'b7\'c5\'c4\'b3\'ca\'d7\'b8\'e8\'a3\'ac\'b1\'be\'cf\'ee\'c4\'bf\'cb\'f9\'d7\'f6\'b5\'c4\'d6\'bb\'ca\'c7\'bd\'ab\'cf\'a3\'cd\'fb\'b2\'a5
|
||||
\'b7\'c5\'b5\'c4\'b8\'e8\'c7\'fa\'c3\'fb\'d7\'d6\'a1\'a2\'b8\'e8\'ca\'d6\'c3\'fb\'d7\'d6\'b5\'c8\'d0\'c5\'cf\'a2\'b4\'ab\'b5\'dd\'b8\'f8}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \u8220\'a1\'b0}{
|
||||
\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13 \'d4\'b4}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \u8221\'a1\'b1}{
|
||||
\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13 \'a3\'ac\'c8\'f4}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \u8220\'a1\'b0}{
|
||||
\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13 \'d4\'b4}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \u8221\'a1\'b1}{
|
||||
\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13 \'b7\'b5\'bb\'d8\'c1\'cb\'d2\'bb\'b8\'f6\'c1\'b4\'bd\'d3\'a3\'ac\'d4\'f2\'b1\'be\'cf\'ee\'c4\'bf\'bd\'ab\'c8\'cf\'ce\'aa\'d5\'e2
|
||||
\'be\'cd\'ca\'c7\'b8\'c3\'b8\'e8\'c7\'fa\'b5\'c4\'d2\'f4\'c6\'b5\'ca\'fd\'be\'dd\'b6\'f8\'bd\'f8\'d0\'d0\'ca\'b9\'d3\'c3\'a3\'ac\'d6\'c1\'d3\'da\'d5\'e2\'ca\'c7\'b2\'bb\'ca\'c7\'d5\'fd\'c8\'b7\'b5\'c4\'d2\'f4\'c6\'b5\'ca\'fd\'be\'dd\'b1\'be\'cf\'ee
|
||||
\'c4\'bf\'ce\'de\'b7\'a8\'d0\'a3\'d1\'e9\'c6\'e4\'d7\'bc\'c8\'b7\'d0\'d4\'a3\'ac\'cb\'f9\'d2\'d4\'ca\'b9\'d3\'c3\'b1\'be\'cf\'ee\'c4\'bf\'b5\'c4\'b9\'fd\'b3\'cc\'d6\'d0\'bf\'c9\'c4\'dc\'bb\'e1\'b3\'f6\'cf\'d6\'cf\'a3\'cd\'fb\'b2\'a5\'b7\'c5\'b5\'c4
|
||||
\'d2\'f4\'c6\'b5\'d3\'eb\'ca\'b5\'bc\'ca\'b2\'a5\'b7\'c5\'b5\'c4\'d2\'f4\'c6\'b5\'b2\'bb\'b6\'d4\'d3\'a6\'bb\'f2\'d5\'df\'ce\'de\'b7\'a8\'b2\'a5\'b7\'c5\'b5\'c4\'ce\'ca\'cc\'e2\'a1\'a3}{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311
|
||||
\par \hich\af13\dbch\af13\loch\f13 1.3 }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13 \'b1\'be\'cf\'ee\'c4\'bf\'b5\'c4\'b7\'c7\'b9\'d9\'b7\'bd\'c6\'bd\'cc\'a8\'ca\'fd\'be\'dd
|
||||
\'a3\'a8\'c0\'fd\'c8\'e7\'ce\'d2\'b5\'c4\'ca\'d5\'b2\'d8\'c1\'d0\'b1\'ed\'a3\'a9\'c0\'b4\'d7\'d4\'ca\'b9\'d3\'c3\'d5\'df\'b1\'be\'b5\'d8\'cf\'b5\'cd\'b3\'bb\'f2\'d5\'df\'ca\'b9\'d3\'c3\'d5\'df\'c1\'ac\'bd\'d3\'b5\'c4\'cd\'ac\'b2\'bd\'b7\'fe\'ce\'f1
|
||||
\'a3\'ac\'b1\'be\'cf\'ee\'c4\'bf\'b2\'bb\'b6\'d4\'d5\'e2\'d0\'a9\'ca\'fd\'be\'dd\'b5\'c4\'ba\'cf\'b7\'a8\'d0\'d4\'a1\'a2\'d7\'bc\'c8\'b7\'d0\'d4\'b8\'ba\'d4\'f0\'a1\'a3}{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311
|
||||
\'b7\'c5\'b5\'c4\'b8\'e8\'c7\'fa\'c3\'fb\'a1\'a2\'d2\'d5\'ca\'f5\'bc\'d2\'b5\'c8\'d0\'c5\'cf\'a2\'b4\'ab\'b5\'dd\'b8\'f8}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \u8220\'a1\'b0}{\rtlch\fcs1 \af13
|
||||
\ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'d4\'b4}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \u8221\'a1\'b1}{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'a3\'ac\'c8\'f4}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \u8220\'a1\'b0}{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'d4\'b4}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \u8221\'a1\'b1}{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'b7\'b5\'bb\'d8\'c1\'cb\'d2\'bb\'b8\'f6\'c1\'b4\'bd\'d3\'a3\'ac\'d4\'f2\'b1\'be\'cf\'ee\'c4\'bf\'bd\'ab\'c8\'cf\'ce\'aa\'d5\'e2\'be\'cd\'ca\'c7\'b8\'c3\'b8\'e8
|
||||
\'c7\'fa\'b5\'c4\'d2\'f4\'c6\'b5\'ca\'fd\'be\'dd\'b6\'f8\'bd\'f8\'d0\'d0\'ca\'b9\'d3\'c3\'a3\'ac\'d6\'c1\'d3\'da\'d5\'e2\'ca\'c7\'b2\'bb\'ca\'c7\'d5\'fd\'c8\'b7\'b5\'c4\'d2\'f4\'c6\'b5\'ca\'fd\'be\'dd\'b1\'be\'cf\'ee\'c4\'bf\'ce\'de\'b7\'a8\'d0\'a3
|
||||
\'d1\'e9\'c6\'e4\'d7\'bc\'c8\'b7\'d0\'d4\'a3\'ac\'cb\'f9\'d2\'d4\'ca\'b9\'d3\'c3\'b1\'be\'cf\'ee\'c4\'bf\'b5\'c4\'b9\'fd\'b3\'cc\'d6\'d0\'bf\'c9\'c4\'dc\'bb\'e1\'b3\'f6\'cf\'d6\'cf\'a3\'cd\'fb\'b2\'a5\'b7\'c5\'b5\'c4\'d2\'f4\'c6\'b5\'d3\'eb\'ca\'b5
|
||||
\'bc\'ca\'b2\'a5\'b7\'c5\'b5\'c4\'d2\'f4\'c6\'b5\'b2\'bb\'b6\'d4\'d3\'a6\'bb\'f2\'d5\'df\'ce\'de\'b7\'a8\'b2\'a5\'b7\'c5\'b5\'c4\'ce\'ca\'cc\'e2\'a1\'a3}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\par
|
||||
\par }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13 \'b6\'fe\'a1\'a2\'b0\'e6\'c8\'a8\'ca\'fd\'be\'dd}{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311
|
||||
\par \hich\af13\dbch\af13\loch\f13 1.3 }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'b1\'be\'cf\'ee\'c4\'bf\'b5\'c4\'b7\'c7\'b9\'d9\'b7\'bd\'c6\'bd\'cc\'a8\'ca\'fd\'be\'dd\'a3\'a8
|
||||
\'c0\'fd\'c8\'e7}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \u8220\'a1\'b0}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13
|
||||
\'ce\'d2\'b5\'c4\'c1\'d0\'b1\'ed}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \u8221\'a1\'b1}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\loch\af13\hich\af13\dbch\f13 \'c4\'da\'c1\'d0\'b1\'ed\'a3\'a9\'c0\'b4\'d7\'d4\'ca\'b9\'d3\'c3\'d5\'df\'b1\'be\'b5\'d8\'cf\'b5\'cd\'b3\'bb\'f2\'d5\'df\'ca\'b9\'d3\'c3\'d5\'df\'c1\'ac\'bd\'d3\'b5\'c4\'cd\'ac\'b2\'bd\'b7\'fe\'ce\'f1\'a3\'ac\'b1\'be\'cf\'ee
|
||||
\'c4\'bf\'b2\'bb\'b6\'d4\'d5\'e2\'d0\'a9\'ca\'fd\'be\'dd\'b5\'c4\'ba\'cf\'b7\'a8\'d0\'d4\'a1\'a2\'d7\'bc\'c8\'b7\'d0\'d4\'b8\'ba\'d4\'f0\'a1\'a3}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\par
|
||||
\par \hich\af13\dbch\af13\loch\f13 2.1 }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13 \'ca\'b9\'d3\'c3\'b1\'be\'cf\'ee\'c4\'bf\'b5\'c4\'b9\'fd\'b3\'cc\'d6\'d0\'bf\'c9\'c4\'dc
|
||||
\'bb\'e1\'b2\'fa\'c9\'fa\'b0\'e6\'c8\'a8\'ca\'fd\'be\'dd\'a1\'a3\'b6\'d4\'d3\'da\'d5\'e2\'d0\'a9\'b0\'e6\'c8\'a8\'ca\'fd\'be\'dd\'a3\'ac\'b1\'be\'cf\'ee\'c4\'bf\'b2\'bb\'d3\'b5\'d3\'d0\'cb\'fc\'c3\'c7\'b5\'c4\'cb\'f9\'d3\'d0\'c8\'a8\'a1\'a3\'ce\'aa
|
||||
\'c1\'cb\'b1\'dc\'c3\'e2\'c7\'d6\'c8\'a8\'a3\'ac\'ca\'b9\'d3\'c3\'d5\'df\'ce\'f1\'b1\'d8\'d4\'da}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \hich\af13\dbch\af13\loch\f13 **24}{\rtlch\fcs1 \af13
|
||||
\ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13 \'d0\'a1\'ca\'b1\'c4\'da}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311
|
||||
\hich\af13\dbch\af13\loch\f13 **}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13 \'c7\'e5\'b3\'fd\'ca\'b9\'d3\'c3\'b1\'be\'cf\'ee\'c4\'bf\'b5\'c4\'b9\'fd\'b3\'cc\'d6\'d0\'cb\'f9
|
||||
\'b2\'fa\'c9\'fa\'b5\'c4\'b0\'e6\'c8\'a8\'ca\'fd\'be\'dd\'a1\'a3}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311
|
||||
\par }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'b6\'fe\'a1\'a2\'b0\'e6\'c8\'a8\'ca\'fd\'be\'dd}{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\par
|
||||
\par }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13 \'c8\'fd\'a1\'a2\'d2\'f4\'c0\'d6\'c6\'bd\'cc\'a8\'b1\'f0\'c3\'fb}{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311
|
||||
\par \hich\af13\dbch\af13\loch\f13 2\hich\af13\dbch\af13\loch\f13 .1 }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'ca\'b9\'d3\'c3\'b1\'be\'cf\'ee\'c4\'bf\'b5\'c4\'b9\'fd\'b3\'cc
|
||||
\'d6\'d0\'bf\'c9\'c4\'dc\'bb\'e1\'b2\'fa\'c9\'fa\'b0\'e6\'c8\'a8\'ca\'fd\'be\'dd\'a1\'a3\'b6\'d4\'d3\'da\'d5\'e2\'d0\'a9\'b0\'e6\'c8\'a8\'ca\'fd\'be\'dd\'a3\'ac\'b1\'be\'cf\'ee\'c4\'bf\'b2\'bb\'d3\'b5\'d3\'d0\'cb\'fc\'c3\'c7\'b5\'c4\'cb\'f9\'d3\'d0
|
||||
\'c8\'a8\'a1\'a3\'ce\'aa\'c1\'cb\'b1\'dc\'c3\'e2\'c7\'d6\'c8\'a8\'a3\'ac\'ca\'b9\'d3\'c3\'d5\'df\'ce\'f1\'b1\'d8\'d4\'da}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \hich\af13\dbch\af13\loch\f13 **24 }{
|
||||
\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'d0\'a1\'ca\'b1\'c4\'da}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\hich\af13\dbch\af13\loch\f13 ** }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'c7\'e5\'b3\'fd\'ca\'b9\'d3\'c3\'b1\'be\'cf\'ee\'c4\'bf\'b5\'c4\'b9\'fd\'b3\'cc\'d6\'d0\'cb\'f9
|
||||
\'b2\'fa\'c9\'fa\'b5\'c4\'b0\'e6\'c8\'a8\'ca\'fd\'be\'dd\'a1\'a3}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\par
|
||||
\par \hich\af13\dbch\af13\loch\f13 3.1 }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13 \'b1\'be\'cf\'ee\'c4\'bf\'c4\'da\'b5\'c4\'b9\'d9\'b7\'bd\'d2\'f4\'c0\'d6\'c6\'bd\'cc\'a8
|
||||
\'b1\'f0\'c3\'fb\'ce\'aa\'b1\'be\'cf\'ee\'c4\'bf\'c4\'da\'b6\'d4\'b9\'d9\'b7\'bd\'d2\'f4\'c0\'d6\'c6\'bd\'cc\'a8\'b5\'c4\'d2\'bb\'b8\'f6\'b3\'c6\'ba\'f4\'a3\'ac\'b2\'bb\'b0\'fc\'ba\'ac\'b6\'f1\'d2\'e2\'a1\'a3\'c8\'e7\'b9\'fb\'b9\'d9\'b7\'bd\'d2\'f4
|
||||
\'c0\'d6\'c6\'bd\'cc\'a8\'be\'f5\'b5\'c3\'b2\'bb\'cd\'d7\'a3\'ac\'bf\'c9\'c1\'aa\'cf\'b5\'b1\'be\'cf\'ee\'c4\'bf\'b8\'fc\'b8\'c4\'bb\'f2\'d2\'c6\'b3\'fd\'a1\'a3}{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311
|
||||
\par }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'c8\'fd\'a1\'a2\'d2\'f4\'c0\'d6\'c6\'bd\'cc\'a8\'b1\'f0\'c3\'fb}{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\par
|
||||
\par }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13 \'cb\'c4\'a1\'a2\'d7\'ca\'d4\'b4\'ca\'b9\'d3\'c3}{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311
|
||||
\par \hich\af13\dbch\af13\loch\f13 3.1 }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'b1\'be\'cf\'ee\'c4\'bf\'c4\'da\'b5\'c4\'b9\'d9\'b7\'bd\'d2\'f4\'c0\'d6\'c6\'bd\'cc\'a8\'b1\'f0
|
||||
\'c3\'fb\'ce\'aa\'b1\'be\'cf\'ee\'c4\'bf\'c4\'da\'b6\'d4\'b9\'d9\'b7\'bd\'d2\'f4\'c0\'d6\'c6\'bd\'cc\'a8\'b5\'c4\'d2\'bb\'b8\'f6\'b3\'c6\'ba\'f4\'a3\'ac\'b2\'bb\'b0\'fc\'ba\'ac\'b6\'f1\'d2\'e2\'a1\'a3\'c8\'e7\'b9\'fb\'b9\'d9\'b7\'bd\'d2\'f4\'c0\'d6
|
||||
\'c6\'bd\'cc\'a8\'be\'f5\'b5\'c3\'b2\'bb\'cd\'d7\'a3\'ac\'bf\'c9\'c1\'aa\'cf\'b5\'b1\'be\'cf\'ee\'c4\'bf\'b8\'fc\'b8\'c4\'bb\'f2\'d2\'c6\'b3\'fd\'a1\'a3}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\par
|
||||
\par \hich\af13\dbch\af13\loch\f13 4.1 }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13 \'b1\'be\'cf\'ee\'c4\'bf\'c4\'da\'ca\'b9\'d3\'c3\'b5\'c4\'b2\'bf\'b7\'d6\'b0\'fc\'c0\'a8
|
||||
\'b5\'ab\'b2\'bb\'cf\'de\'d3\'da\'d7\'d6\'cc\'e5\'a1\'a2\'cd\'bc\'c6\'ac\'b5\'c8\'d7\'ca\'d4\'b4\'c0\'b4\'d4\'b4\'d3\'da\'bb\'a5\'c1\'aa\'cd\'f8\'a1\'a3\'c8\'e7\'b9\'fb\'b3\'f6\'cf\'d6\'c7\'d6\'c8\'a8\'bf\'c9\'c1\'aa\'cf\'b5\'b1\'be\'cf\'ee\'c4\'bf
|
||||
\'d2\'c6\'b3\'fd\'a1\'a3}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311
|
||||
\par }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'cb\'c4\'a1\'a2\'d7\'ca\'d4\'b4\'ca\'b9\'d3\'c3}{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\par
|
||||
\par }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13 \'ce\'e5\'a1\'a2\'c3\'e2\'d4\'f0\'c9\'f9\'c3\'f7}{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311
|
||||
\par \hich\af13\dbch\af13\loch\f13 4.1 }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'b1\'be\'cf\'ee\'c4\'bf\'c4\'da\'ca\'b9\'d3\'c3\'b5\'c4\'b2\'bf\'b7\'d6\'b0\'fc\'c0\'a8\'b5\'ab
|
||||
\'b2\'bb\'cf\'de\'d3\'da\'d7\'d6\'cc\'e5\'a1\'a2\'cd\'bc\'c6\'ac\'b5\'c8\'d7\'ca\'d4\'b4\'c0\'b4\'d4\'b4\'d3\'da\'bb\'a5\'c1\'aa\'cd\'f8\'a1\'a3\'c8\'e7\'b9\'fb\'b3\'f6\'cf\'d6\'c7\'d6\'c8\'a8\'bf\'c9\'c1\'aa\'cf\'b5\'b1\'be\'cf\'ee\'c4\'bf\'d2\'c6
|
||||
\'b3\'fd\'a1\'a3}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\par
|
||||
\par \hich\af13\dbch\af13\loch\f13 5.1 }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13 \'d3\'c9\'d3\'da\'ca\'b9\'d3\'c3\'b1\'be\'cf\'ee\'c4\'bf\'b2\'fa\'c9\'fa\'b5\'c4\'b0\'fc
|
||||
\'c0\'a8\'d3\'c9\'d3\'da\'b1\'be\'d0\'ad\'d2\'e9\'bb\'f2\'d3\'c9\'d3\'da\'ca\'b9\'d3\'c3\'bb\'f2\'ce\'de\'b7\'a8\'ca\'b9\'d3\'c3\'b1\'be\'cf\'ee\'c4\'bf\'b6\'f8\'d2\'fd\'c6\'f0\'b5\'c4\'c8\'ce\'ba\'ce\'d0\'d4\'d6\'ca\'b5\'c4\'c8\'ce\'ba\'ce\'d6\'b1
|
||||
\'bd\'d3\'a1\'a2\'bc\'e4\'bd\'d3\'a1\'a2\'cc\'d8\'ca\'e2\'a1\'a2\'c5\'bc\'c8\'bb\'bb\'f2\'bd\'e1\'b9\'fb\'d0\'d4\'cb\'f0\'ba\'a6\'a3\'a8\'b0\'fc\'c0\'a8\'b5\'ab\'b2\'bb\'cf\'de\'d3\'da\'d2\'f2\'c9\'cc\'d3\'fe\'cb\'f0\'ca\'a7\'a1\'a2\'cd\'a3\'b9\'a4
|
||||
\'a1\'a2\'bc\'c6\'cb\'e3\'bb\'fa\'b9\'ca\'d5\'cf\'bb\'f2\'b9\'ca\'d5\'cf\'d2\'fd\'c6\'f0\'b5\'c4\'cb\'f0\'ba\'a6\'c5\'e2\'b3\'a5\'a3\'ac\'bb\'f2\'c8\'ce\'ba\'ce\'bc\'b0\'cb\'f9\loch\af13\hich\af13\dbch\f13 \'d3\'d0\'c6\'e4\'cb\'fb\'c9\'cc\'d2\'b5\'cb\'f0
|
||||
\'ba\'a6\'bb\'f2\'cb\'f0\'ca\'a7\'a3\'a9\'d3\'c9\'ca\'b9\'d3\'c3\'d5\'df\'b8\'ba\'d4\'f0\'a1\'a3}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311
|
||||
\par }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'ce\'e5\'a1\'a2\'c3\'e2\'d4\'f0\'c9\'f9\'c3\'f7}{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\par
|
||||
\par }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13 \'c1\'f9\'a1\'a2\'ca\'b9\'d3\'c3\'cf\'de\'d6\'c6}{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311
|
||||
\par \hich\af13\dbch\af13\loch\f13 5.1 }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'d3\'c9\'d3\'da\'ca\'b9\'d3\'c3\'b1\'be\'cf\'ee\'c4\'bf\'b2\'fa\'c9\'fa\'b5\'c4\'b0\'fc\'c0\'a8
|
||||
\'d3\'c9\'d3\'da\'b1\'be\'d0\'ad\'d2\'e9\'bb\'f2\'d3\'c9\'d3\'da\'ca\'b9\'d3\'c3\'bb\'f2\'ce\'de\'b7\'a8\'ca\'b9\'d3\'c3\'b1\'be\'cf\'ee\'c4\'bf\'b6\'f8\'d2\'fd\'c6\'f0\'b5\'c4\'c8\'ce\'ba\'ce\'d0\'d4\'d6\'ca\'b5\'c4\'c8\'ce\'ba\'ce\'d6\'b1\'bd\'d3
|
||||
\'a1\'a2\'bc\'e4\'bd\'d3\'a1\'a2\'cc\'d8\'ca\'e2\'a1\'a2\'c5\'bc\'c8\'bb\'bb\'f2\'bd\'e1\'b9\'fb\'d0\'d4\'cb\'f0\'ba\'a6\'a3\'a8\'b0\'fc\'c0\'a8\'b5\'ab\'b2\'bb\'cf\'de\'d3\'da\'d2\'f2\'c9\'cc\'d3\'fe\'cb\'f0\'ca\'a7\'a1\'a2\'cd\'a3\'b9\'a4\'a1\'a2
|
||||
\'bc\'c6\'cb\'e3\'bb\'fa\'b9\'ca\'d5\'cf\'bb\'f2\'b9\'ca\'d5\'cf\'d2\'fd\'c6\'f0\'b5\'c4\'cb\'f0\'ba\'a6\'c5\'e2\'b3\'a5\'a3\'ac\'bb\'f2\'c8\'ce\'ba\'ce\'bc\'b0\'cb\'f9\'d3\'d0\'c6\'e4\'cb\'fb\'c9\'cc\'d2\'b5\'cb\'f0\'ba\'a6\'bb\'f2\'cb\'f0\'ca\'a7
|
||||
\'a3\'a9\'d3\'c9\'ca\'b9\'d3\'c3\'d5\'df\'b8\'ba\'d4\'f0\'a1\'a3}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\par
|
||||
\par \hich\af13\dbch\af13\loch\f13 6.1 }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13 \'b1\'be\'cf\'ee\'c4\'bf\'cd\'ea\'c8\'ab\'c3\'e2\'b7\'d1\'a3\'ac\'c7\'d2\'bf\'aa\'d4\'b4
|
||||
\'b7\'a2\'b2\'bc\'d3\'da}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \hich\af13\dbch\af13\loch\f13 GitHub }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311
|
||||
\par }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'c1\'f9\'a1\'a2\'ca\'b9\'d3\'c3\'cf\'de\'d6\'c6}{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\par
|
||||
\par \hich\af13\dbch\af13\loch\f13 6.1 }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'b1\'be\'cf\'ee\'c4\'bf\'cd\'ea\'c8\'ab\'c3\'e2\'b7\'d1\'a3\'ac\'c7\'d2\'bf\'aa\'d4\'b4\'b7\'a2
|
||||
\'b2\'bc\'d3\'da}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \hich\af13\dbch\af13\loch\f13 GitHub }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\loch\af13\hich\af13\dbch\f13 \'c3\'e6\'cf\'f2\'c8\'ab\'ca\'c0\'bd\'e7\'c8\'cb\'d3\'c3\'d7\'f7\'b6\'d4\'bc\'bc\'ca\'f5\'b5\'c4\'d1\'a7\'cf\'b0\'bd\'bb\'c1\'f7\'a1\'a3\'b1\'be\'cf\'ee\'c4\'bf\'b2\'bb\'b6\'d4\'cf\'ee\'c4\'bf\'c4\'da\'b5\'c4\'bc\'bc\'ca\'f5
|
||||
\'bf\'c9\'c4\'dc\'b4\'e6\'d4\'da\'ce\'a5\'b7\'b4\'b5\'b1\'b5\'d8\'b7\'a8\'c2\'c9\'b7\'a8\'b9\'e6\'b5\'c4\'d0\'d0\'ce\'aa\'d7\'f7\'b1\'a3\'d6\'a4\'a1\'a3}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311
|
||||
\'bf\'c9\'c4\'dc\'b4\'e6\'d4\'da\'ce\'a5\'b7\'b4\'b5\'b1\'b5\'d8\'b7\'a8\'c2\'c9\'b7\'a8\'b9\'e6\'b5\'c4\'d0\'d0\'ce\'aa\'d7\'f7\'b1\'a3\'d6\'a4\'a1\'a3}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\par
|
||||
\par \hich\af13\dbch\af13\loch\f13 6.2 **}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13 \'bd\'fb\'d6\'b9\'d4\'da\'ce\'a5\'b7\'b4\'b5\'b1\'b5\'d8\'b7\'a8\'c2\'c9\'b7\'a8\'b9\'e6
|
||||
\'b5\'c4\'c7\'e9\'bf\'f6\'cf\'c2\'ca\'b9\'d3\'c3\'b1\'be\'cf\'ee\'c4\'bf\'a1\'a3}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \hich\af13\dbch\af13\loch\f13 ** }{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13 \'b6\'d4\'d3\'da\'ca\'b9\'d3\'c3\'d5\'df\'d4\'da\'c3\'f7\'d6\'aa\'bb\'f2\'b2\'bb\'d6\'aa\'b5\'b1\'b5\'d8\'b7\'a8\'c2\'c9\'b7\'a8\'b9\'e6\'b2\'bb\'d4\'ca\'d0\'ed
|
||||
\par \hich\af13\dbch\af13\loch\f13 6.2 **}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'bd\'fb\'d6\'b9\'d4\'da\'ce\'a5\'b7\'b4\'b5\'b1\'b5\'d8\'b7\'a8\'c2\'c9\'b7\'a8\'b9\'e6
|
||||
\'b5\'c4\'c7\'e9\'bf\'f6\'cf\'c2\'ca\'b9\'d3\'c3\'b1\'be\'cf\'ee\'c4\'bf\'a1\'a3}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \hich\af13\dbch\af13\loch\f13 ** }{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'b6\'d4\'d3\'da\'ca\'b9\'d3\'c3\'d5\'df\'d4\'da\'c3\'f7\'d6\'aa\'bb\'f2\'b2\'bb\'d6\'aa\'b5\'b1\'b5\'d8\'b7\'a8\'c2\'c9\'b7\'a8\'b9\'e6\'b2\'bb\'d4\'ca\'d0\'ed
|
||||
\'b5\'c4\'c7\'e9\'bf\'f6\'cf\'c2\'ca\'b9\'d3\'c3\'b1\'be\'cf\'ee\'c4\'bf\'cb\'f9\'d4\'ec\'b3\'c9\'b5\'c4\'c8\'ce\'ba\'ce\'ce\'a5\'b7\'a8\'ce\'a5\'b9\'e6\'d0\'d0\'ce\'aa\'d3\'c9\'ca\'b9\'d3\'c3\'d5\'df\'b3\'d0\'b5\'a3\'a3\'ac\'b1\'be\'cf\'ee\'c4\'bf
|
||||
\'b2\'bb\'b3\'d0\'b5\'a3\'d3\'c9\'b4\'cb\'d4\'ec\'b3\'c9\'b5\'c4\'c8\'ce\'ba\'ce\'d6\'b1\'bd\'d3\'a1\'a2\'bc\'e4\'bd\'d3\'a1\'a2\'cc\'d8\'ca\'e2\'a1\'a2\'c5\'bc\'c8\'bb\'bb\'f2\'bd\'e1\'b9\'fb\'d0\'d4\'d4\'f0\'c8\'ce\'a1\'a3}{\rtlch\fcs1 \af13
|
||||
\ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311
|
||||
\ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\par
|
||||
\par }\pard \ltrpar\s15\qj \li0\ri0\nowidctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid3758332 {\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid3758332\charrsid3758332 \loch\af13\hich\af13\dbch\f13 \'c6\'df
|
||||
\'a1\'a2\'b0\'e6\'c8\'a8\'b1\'a3\'bb\'a4}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid3758332\charrsid3758332
|
||||
\par }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'c6\'df\'a1\'a2\'b0\'e6\'c8\'a8\'b1\'a3\'bb\'a4}{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\par
|
||||
\par \hich\af13\dbch\af13\loch\f13 7.1 }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid3758332\charrsid3758332 \loch\af13\hich\af13\dbch\f13 \'d2\'f4\'c0\'d6\'c6\'bd\'cc\'a8\'b2\'bb\'d2\'d7\'a3\'ac\'c7\'eb\'d7\'f0\'d6\'d8\'b0\'e6\'c8\'a8
|
||||
\'a3\'ac\'d6\'a7\'b3\'d6\'d5\'fd\'b0\'e6\'a1\'a3}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid3758332\charrsid3758332
|
||||
\par \hich\af13\dbch\af13\loch\f13 7.1 }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'d2\'f4\'c0\'d6\'c6\'bd\'cc\'a8\'b2\'bb\'d2\'d7\'a3\'ac\'c7\'eb\'d7\'f0\'d6\'d8\'b0\'e6\'c8\'a8
|
||||
\'a3\'ac\'d6\'a7\'b3\'d6\'d5\'fd\'b0\'e6\'a1\'a3}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\par
|
||||
\par }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid3758332\charrsid3758332 \loch\af13\hich\af13\dbch\f13 \'b0\'cb\'a1\'a2\'b7\'c7\'c9\'cc\'d2\'b5\'d0\'d4\'d6\'ca}{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid3758332\charrsid3758332
|
||||
\par }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'b0\'cb\'a1\'a2\'b7\'c7\'c9\'cc\'d2\'b5\'d0\'d4\'d6\'ca}{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\par
|
||||
\par \hich\af13\dbch\af13\loch\f13 8.1 }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid3758332\charrsid3758332 \loch\af13\hich\af13\dbch\f13 \'b1\'be\'cf\'ee\'c4\'bf\'bd\'f6\'d3\'c3\'d3\'da\'b6\'d4\'bc\'bc\'ca\'f5\'bf\'c9\'d0\'d0\'d0\'d4
|
||||
\par \hich\af13\dbch\af13\loch\f13 8.1 }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'b1\'be\'cf\'ee\'c4\'bf\'bd\'f6\'d3\'c3\'d3\'da\'b6\'d4\'bc\'bc\'ca\'f5\'bf\'c9\'d0\'d0\'d0\'d4
|
||||
\'b5\'c4\'cc\'bd\'cb\'f7\'bc\'b0\'d1\'d0\'be\'bf\'a3\'ac\'b2\'bb\'bd\'d3\'ca\'dc\'c8\'ce\'ba\'ce\'c9\'cc\'d2\'b5\'a3\'a8\'b0\'fc\'c0\'a8\'b5\'ab\'b2\'bb\'cf\'de\'d3\'da\'b9\'e3\'b8\'e6\'b5\'c8\'a3\'a9\'ba\'cf\'d7\'f7\'bc\'b0\'be\'e8\'d4\'f9\'a1\'a3}{
|
||||
\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid3758332\charrsid3758332
|
||||
\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\par
|
||||
\par }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid3758332\charrsid3758332 \loch\af13\hich\af13\dbch\f13 \'be\'c5\'a1\'a2\'bd\'d3\'ca\'dc\'d0\'ad\'d2\'e9}{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid3758332\charrsid3758332
|
||||
\par }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'be\'c5\'a1\'a2\'bd\'d3\'ca\'dc\'d0\'ad\'d2\'e9}{\rtlch\fcs1 \af13 \ltrch\fcs0
|
||||
\loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\par
|
||||
\par \hich\af13\dbch\af13\loch\f13 9.1 }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid3758332\charrsid3758332 \loch\af13\hich\af13\dbch\f13 \'c8\'f4\'c4\'e3\'ca\'b9\'d3\'c3\'c1\'cb\'b1\'be\'cf\'ee\'c4\'bf\'a3\'ac\'bd\'ab\'b4\'fa\'b1\'ed
|
||||
\'c4\'e3\'bd\'d3\'ca\'dc\'b1\'be\'d0\'ad\'d2\'e9\'a1\'a3}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311
|
||||
\par }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid3758332\charrsid14511311
|
||||
\par }\pard \ltrpar\s15\qj \li0\ri0\nowidctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid14511311 {\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \hich\af13\dbch\af13\loch\f13 * }{
|
||||
\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid14511311 \loch\af13\hich\af13\dbch\f13 \'c8\'f4\'d0\'ad\'d2\'e9\'b8\'fc\'d0\'c2\'a3\'ac\'cb\'a1\loch\af13\hich\af13\dbch\f13 \'b2\'bb\'c1\'ed\'d0\'d0\'cd\'a8\'d6\'aa
|
||||
\'a3\'ac\'bf\'c9\'b5\'bd\'bf\'aa\'d4\'b4\'b5\'d8\'d6\'b7\'b2\'e9\'bf\'b4\'a1\'a3}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid9533173
|
||||
\par }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid14511311\charrsid15226681
|
||||
\par }\pard \ltrpar\s15\qj \li0\ri0\nowidctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid12910709 {\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid12910709\charrsid12910709 \hich\af13\dbch\af13\loch\f13 By: }{
|
||||
\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid12910709\charrsid12910709 \loch\af13\hich\af13\dbch\f13 \'c2\'e4\'d1\'a9\'ce\'de\'ba\'db}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid12910709\charrsid12910709
|
||||
\par \hich\af13\dbch\af13\loch\f13 9.1 }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'c8\'f4\'c4\'e3\'ca\'b9\'d3\'c3\'c1\'cb\'b1\'be\'cf\'ee\'c4\'bf\'a3\'ac\'bc\'b4\'b4\'fa\'b1\'ed
|
||||
\'c4\'e3\'bd\'d3\'ca\'dc\'b1\'be\'d0\'ad\'d2\'e9\'a1\'a3}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\par
|
||||
\par \hich\af13\dbch\af13\loch\f13 * }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'c8\'f4\'d0\'ad\'d2\'e9\'b8\'fc\'d0\'c2\'a3\'ac\'cb\'a1\'b2\'bb\'c1\'ed\'d0\'d0\'cd\'a8\'d6\'aa
|
||||
\'a3\'ac\'bf\'c9\'b5\'bd\'bf\'aa\'d4\'b4\'b5\'d8\'d6\'b7\'b2\'e9\'bf\'b4\'a1\'a3}{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548
|
||||
\par
|
||||
\par \hich\af13\dbch\af13\loch\f13 By: }{\rtlch\fcs1 \af13 \ltrch\fcs0 \loch\af13\hich\af13\dbch\af13\insrsid2766548\charrsid2766548 \loch\af13\hich\af13\dbch\f13 \'c2\'e4\'d1\'a9\'ce\'de\'ba\'db}{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid12910709\charrsid2766548
|
||||
|
||||
\par }{\*\themedata 504b030414000600080000002100e9de0fbfff0000001c020000130000005b436f6e74656e745f54797065735d2e786d6cac91cb4ec3301045f748fc83e52d4a
|
||||
9cb2400825e982c78ec7a27cc0c8992416c9d8b2a755fbf74cd25442a820166c2cd933f79e3be372bd1f07b5c3989ca74aaff2422b24eb1b475da5df374fd9ad
|
||||
@@ -311,8 +320,8 @@ fffffffffffffffffdfffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
ffffffffffffffffffffffffffffffff52006f006f007400200045006e00740072007900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016000500ffffffffffffffffffffffff0c6ad98892f1d411a65f0040963251e5000000000000000000000000c03d
|
||||
9b1957f7d901feffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000
|
||||
ffffffffffffffffffffffffffffffff52006f006f007400200045006e00740072007900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016000500ffffffffffffffffffffffff0c6ad98892f1d411a65f0040963251e5000000000000000000000000d096
|
||||
bf3efc84db01feffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000
|
||||
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000
|
||||
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff000000000000000000000000000000000000000000000000
|
||||
0000000000000000000000000000000000000000000000000105000000000000}}
|
||||
@@ -1,48 +1,52 @@
|
||||
This project is issued based on the Apache License 2.0 license. The following protocols are supplemented by Apache License 2.0.
|
||||
This project is issued based on the Apache License 2.0 license. The following agreements are supplemental to the Apache License 2.0. In the event of a conflict, the following agreements shall prevail.
|
||||
|
||||
Words stipulate: "this project" in this agreement refers to the Luoxue Music Desktop Edition project; "user" refers to the user who signed this agreement; the "official music platform" refers to The official platform of the music source is collectively referred to; "copyright data" refers to the data that includes but not limited to images, audio, names, etc.
|
||||
DEFINITIONS:
|
||||
|
||||
1. Data source
|
||||
"This Project" refers to the LX Music Desktop Edition (aka lx-music-desktop) project. "User" refers to the user who signed this agreement. "Official Music Streaming Service" refers to collectively the official streaming service corresponding to the music source. "Copyrighted Data" refers to data including, but not limited to, pictures, audio, names, etc., for which others own the copyright.
|
||||
|
||||
1.1 The principle of online data sources of various official platforms of this project is to draw data from its open server (the same data obtained from the unsproting state in the official platform app). After simply screening and merging data, this project Responsible for the legitimacy and accuracy of the data.
|
||||
1.2 The ability of this project itself does not obtain a certain audio data. The online audio data source used in this project comes from the online link of the "Source" selected in the software settings. For example, when playing a song, the project only transmits information such as the song name, singer name and other information to be played to "source". If the "source" returns a link, this project will think that this is the audio data of the song For use, as for whether this is the correct audio data, this project cannot verify its accuracy, so the audio that you want to play may occur during the process of using this project.
|
||||
1.3 The unofficial platform data (such as my collection list) of this project comes from synchronous services connected by the user's local system or user connection. This project is not responsible for the legality and accuracy of these data.
|
||||
1. Data Source
|
||||
|
||||
2. Copyright data
|
||||
1.1 The principle of the online data sources of the various official music streaming services of this project is to draw data from its open servers (the same as the data obtained in the unlogged-in state in the official music streaming service app). After simply screening and merging the data, this project is responsible for the legitimacy and accuracy of the data.
|
||||
|
||||
2.1 During the process of using this project, copyright data may be generated. For these copyright data, this project does not have their ownership. In order to avoid infringement, users must remove copyright data generated during the process of using this project within ** 24 hours.
|
||||
1.2 The ability of this project itself does not obtain certain audio data. The online audio data source used in this project comes from the online link provided by the "API" selected in the software settings. For example, when playing a song, this project only transmits information such as the song title, artist, and other information to the "API". If the "API" returns a link, this project will think that this is the audio data of the song for use, but as for whether this is the correct audio data, this project cannot verify its accuracy. So, in the process of using this project, there may be a problem that the audio you want to play does not correspond to the audio you actually play, or you cannot play it.
|
||||
|
||||
3. Alias of Music Platform
|
||||
1.3 Data in this project other than official music streaming service (such as lists in "Your Library") comes from the user's local system or a synchronization service that the user connected to. This project is not responsible for the legality and accuracy of this data.
|
||||
|
||||
3.1 The official music platform in this project is named a name for the official music platform in this project, without maliciousness. If the official music platform feels inappropriate, you can contact this project to change or remove.
|
||||
2. Copyrighted Data
|
||||
|
||||
Fourth, resource use
|
||||
2.1 During the process of using this project, copyrighted data may be generated. For this copyrighted data, this project does not have their ownership. In order to avoid infringement, users must remove copyrighted data generated during the process of using this project ** within 24 hours **.
|
||||
|
||||
4.1 The parts used in this project include, but not limited to fonts, pictures and other resources from the Internet. If infringement occurs, you can contact this project.
|
||||
3. Alias of Music Streaming Service
|
||||
|
||||
3.1 The official music streaming service alias within this project is a term used within this project to refer to the official music streaming service and does not contain malicious intent. If the operator of the official music streaming service feels it is inappropriate, you can contact this project to request changes or removals.
|
||||
|
||||
4. Use of Resources
|
||||
|
||||
4.1 The parts used in this project include, but are not limited to, fonts, pictures, and other resources from the Internet. If infringement occurs, you can contact this project.
|
||||
|
||||
5. Disclaimer
|
||||
|
||||
5.1 The use of this project includes any direct, indirect, special, accidental, or result damage due to any nature caused by this agreement or use or unable to use this item (including but not limited to the loss of goodwill, stop work, computer, computer Damage compensation caused by faults or faults, or any or all other commercial damage or losses) is responsible for users.
|
||||
5.1 The use of this project includes any direct, indirect, special, accidental, or result damage due to any nature caused by this agreement or use or inability to use this item (including but not limited to the loss of goodwill, stop work, computer, computer Damage compensation caused by faults or any or all other commercial damage or losses) is the responsibility of users.
|
||||
|
||||
6. Use restrictions
|
||||
6. Use Restrictions
|
||||
|
||||
6.1 This project is completely free, and open source is published in GitHub for the learning exchanges of technology for people all over the world. This project does not guarantee that the technology in the project may violate local laws and regulations.
|
||||
6.1 This project is completely free and open source and is published on GitHub for the learning exchanges of technology for people all over the world. This project does not guarantee that the technology in this project may violate local laws and regulations.
|
||||
|
||||
6.2 ** This project is prohibited in violation of local laws and regulations. ** For the user's use of any illegal and illegal acts caused by the use of the project if the user is not allowed to be allowed to the user, it is undertaken by the user. Sexual responsibility.
|
||||
6.2 ** This project is prohibited in violation of local laws and regulations. ** The user is solely responsible for any violation of law caused by the use of this project that the user knows or does not know is not permitted by local law and regulations.
|
||||
|
||||
7. Copyright protection
|
||||
7. Copyright Protection
|
||||
|
||||
7.1 Music platform is not easy, please respect the copyright and support genuine.
|
||||
7.1 The operation of a music streaming service is not an easy task. Please respect copyrights and support the genuine.
|
||||
|
||||
8. Non -commercial nature
|
||||
8. Non-commercial Nature
|
||||
|
||||
8.1 This project is only used for exploring and research on technical feasibility, and does not accept any business (including but not limited to advertising, etc.) cooperation and donations.
|
||||
8.1 This project is only used for exploring and research on technical feasibility and does not accept any business (including but not limited to advertising, etc.) cooperation and donations.
|
||||
|
||||
9. Accepting agreement
|
||||
9. Accepting Agreement
|
||||
|
||||
9.1 If you use this project, it will represent you accept this agreement.
|
||||
|
||||
* If the agreement is updated, you will not be notified separately, you can check the open source address.
|
||||
* The content of this agreement is translated from the Chinese version of the agreement
|
||||
* If the agreement is updated, you will not be notified separately. You can check it out by visiting the project address.
|
||||
* The content of this agreement is translated from the Chinese version of the agreement.
|
||||
|
||||
By: lyswhut
|
||||
|
||||
@@ -1,16 +1,18 @@
|
||||
本项目基于 Apache License 2.0 许可证发行,以下协议是对于 Apache License 2.0 的补充,如有冲突,以以下协议为准。
|
||||
|
||||
词语约定:本协议中的“本项目”指洛雪音乐桌面版项目;“使用者”指签署本协议的使用者;“官方音乐平台”指对本项目内置的包括酷我、酷狗、咪咕等音乐源的官方平台统称;“版权数据”指包括但不限于图像、音频、名字等在内的他人拥有所属版权的数据。
|
||||
词语约定:本协议中的“本项目”指 LX Music 桌面版项目;“使用者”指签署本协议的使用者;“官方音乐平台”指对本项目内置的包括酷我、酷狗、咪咕等音乐源的官方平台统称;“版权数据”指包括但不限于图像、音频、名字等在内的他人拥有所属版权的数据。
|
||||
|
||||
一、数据来源
|
||||
|
||||
1.1 本项目的各官方平台在线数据来源原理是从其公开服务器中拉取数据(与未登录状态在官方平台APP获取的数据相同),经过对数据简单地筛选与合并后进行展示,因此本项目不对数据的合法性、准确性负责。
|
||||
1.2 本项目本身没有获取某个音频数据的能力,本项目使用的在线音频数据来源来自软件设置内“音乐来源”设置所选择的“源”返回的在线链接。例如播放某首歌,本项目所做的只是将希望播放的歌曲名字、歌手名字等信息传递给“源”,若“源”返回了一个链接,则本项目将认为这就是该歌曲的音频数据而进行使用,至于这是不是正确的音频数据本项目无法校验其准确性,所以使用本项目的过程中可能会出现希望播放的音频与实际播放的音频不对应或者无法播放的问题。
|
||||
1.3 本项目的非官方平台数据(例如我的收藏列表)来自使用者本地系统或者使用者连接的同步服务,本项目不对这些数据的合法性、准确性负责。
|
||||
1.1 本项目的各官方平台在线数据来源原理是从其公开服务器中拉取数据(与未登录状态在官方平台 APP 获取的数据相同),经过对数据简单地筛选与合并后进行展示,因此本项目不对数据的合法性、准确性负责。
|
||||
|
||||
1.2 本项目本身没有获取某个音频数据的能力,本项目使用的在线音频数据来源来自软件设置内“自定义源”设置所选择的“源”返回的在线链接。例如播放某首歌,本项目所做的只是将希望播放的歌曲名、艺术家等信息传递给“源”,若“源”返回了一个链接,则本项目将认为这就是该歌曲的音频数据而进行使用,至于这是不是正确的音频数据本项目无法校验其准确性,所以使用本项目的过程中可能会出现希望播放的音频与实际播放的音频不对应或者无法播放的问题。
|
||||
|
||||
1.3 本项目的非官方平台数据(例如“我的列表”内列表)来自使用者本地系统或者使用者连接的同步服务,本项目不对这些数据的合法性、准确性负责。
|
||||
|
||||
二、版权数据
|
||||
|
||||
2.1 使用本项目的过程中可能会产生版权数据。对于这些版权数据,本项目不拥有它们的所有权。为了避免侵权,使用者务必在**24小时内**清除使用本项目的过程中所产生的版权数据。
|
||||
2.1 使用本项目的过程中可能会产生版权数据。对于这些版权数据,本项目不拥有它们的所有权。为了避免侵权,使用者务必在 **24 小时内** 清除使用本项目的过程中所产生的版权数据。
|
||||
|
||||
三、音乐平台别名
|
||||
|
||||
@@ -40,7 +42,7 @@
|
||||
|
||||
九、接受协议
|
||||
|
||||
9.1 若你使用了本项目,将代表你接受本协议。
|
||||
9.1 若你使用了本项目,即代表你接受本协议。
|
||||
|
||||
* 若协议更新,恕不另行通知,可到开源地址查看。
|
||||
|
||||
|
||||
12164
package-lock.json
generated
12164
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
122
package.json
122
package.json
@@ -1,9 +1,8 @@
|
||||
{
|
||||
"name": "lx-music-desktop",
|
||||
"version": "2.9.0",
|
||||
"version": "2.12.1",
|
||||
"description": "一个免费的音乐查找助手",
|
||||
"main": "./dist/main.js",
|
||||
"productName": "lx-music-desktop",
|
||||
"scripts": {
|
||||
"pack": "node build-config/pack.js && npm run pack:win:setup:x64",
|
||||
"pack:win": "node build-config/pack.js && npm run pack:win:setup:x64 && npm run pack:win:setup:x86 && npm run pack:win:setup:arm64 && npm run pack:win:setup:x86_64 && npm run pack:win:7z",
|
||||
@@ -72,7 +71,7 @@
|
||||
"Electron 22.3.0"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">= 18",
|
||||
"node": ">= 22",
|
||||
"npm": ">=8.5.2"
|
||||
},
|
||||
"macLanguagesInfoPlistStrings": {
|
||||
@@ -108,113 +107,116 @@
|
||||
},
|
||||
"homepage": "https://github.com/lyswhut/lx-music-desktop#readme",
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.25.2",
|
||||
"@babel/eslint-parser": "^7.25.1",
|
||||
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
||||
"@babel/core": "^7.29.0",
|
||||
"@babel/eslint-parser": "^7.28.6",
|
||||
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
||||
"@babel/plugin-transform-modules-umd": "^7.24.7",
|
||||
"@babel/plugin-transform-runtime": "^7.25.4",
|
||||
"@babel/preset-env": "^7.25.4",
|
||||
"@babel/preset-typescript": "^7.24.7",
|
||||
"@tsconfig/recommended": "^1.0.7",
|
||||
"@types/better-sqlite3": "^7.6.11",
|
||||
"@babel/plugin-transform-class-properties": "^7.28.6",
|
||||
"@babel/plugin-transform-modules-umd": "^7.27.1",
|
||||
"@babel/plugin-transform-runtime": "^7.29.0",
|
||||
"@babel/preset-env": "^7.29.0",
|
||||
"@babel/preset-typescript": "^7.28.5",
|
||||
"@babel/runtime": "^7.28.6",
|
||||
"@tsconfig/recommended": "^1.0.13",
|
||||
"@types/better-sqlite3": "^7.6.13",
|
||||
"@types/needle": "^3.3.0",
|
||||
"@types/node": "^20.19.33",
|
||||
"@types/tunnel": "^0.0.7",
|
||||
"@types/ws": "8.5.4",
|
||||
"@volar/vue-language-plugin-pug": "^1.6.5",
|
||||
"@vue/language-plugin-pug": "^2.0.29",
|
||||
"babel-loader": "^9.1.3",
|
||||
"browserslist": "^4.23.3",
|
||||
"@vue/language-plugin-pug": "^3.2.4",
|
||||
"babel-loader": "^10.0.0",
|
||||
"browserslist": "^4.28.1",
|
||||
"chalk": "^4.1.2",
|
||||
"changelog-parser": "^3.0.1",
|
||||
"copy-webpack-plugin": "^12.0.2",
|
||||
"core-js": "^3.38.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"css-loader": "^7.1.2",
|
||||
"css-minimizer-webpack-plugin": "^7.0.0",
|
||||
"copy-webpack-plugin": "^13.0.1",
|
||||
"core-js": "^3.48.0",
|
||||
"cross-env": "^10.1.0",
|
||||
"css-loader": "^7.1.3",
|
||||
"css-minimizer-webpack-plugin": "^7.0.4",
|
||||
"del": "^6.1.1",
|
||||
"electron": "^30.4.0",
|
||||
"electron-builder": "^24.13.3",
|
||||
"electron": "37.6.1",
|
||||
"electron-builder": "^26.8.0",
|
||||
"electron-debug": "^3.2.0",
|
||||
"electron-devtools-installer": "github:lyswhut/electron-devtools-installer#64596d615c1fc891eefd8aef1dfcb2c87aaadf03",
|
||||
"electron-to-chromium": "^1.5.13",
|
||||
"electron-updater": "^6.2.1",
|
||||
"eslint": "^8.57.0",
|
||||
"electron-to-chromium": "^1.5.286",
|
||||
"electron-updater": "6.8.3",
|
||||
"eslint": "^8.57.1",
|
||||
"eslint-config-standard": "^17.1.0",
|
||||
"eslint-config-standard-with-typescript": "^43.0.1",
|
||||
"eslint-formatter-friendly": "github:lyswhut/eslint-friendly-formatter#2170d1320e2fad13615a9dcf229669f0bb473a53",
|
||||
"eslint-plugin-html": "^8.1.1",
|
||||
"eslint-plugin-vue": "^9.27.0",
|
||||
"eslint-plugin-html": "^8.1.4",
|
||||
"eslint-plugin-vue": "^9.33.0",
|
||||
"eslint-plugin-vue-pug": "^0.6.2",
|
||||
"eslint-webpack-plugin": "^4.2.0",
|
||||
"html-webpack-plugin": "^5.6.0",
|
||||
"less": "^4.2.0",
|
||||
"less-loader": "^12.2.0",
|
||||
"mini-css-extract-plugin": "^2.9.1",
|
||||
"node-loader": "^2.0.0",
|
||||
"postcss": "^8.4.41",
|
||||
"postcss-loader": "^8.1.1",
|
||||
"html-webpack-plugin": "^5.6.6",
|
||||
"less": "^4.5.1",
|
||||
"less-loader": "^12.3.1",
|
||||
"mini-css-extract-plugin": "^2.10.0",
|
||||
"node-loader": "^2.1.0",
|
||||
"postcss": "^8.5.6",
|
||||
"postcss-loader": "^8.2.1",
|
||||
"postcss-pxtorem": "^6.1.0",
|
||||
"pug": "^3.0.3",
|
||||
"pug-plain-loader": "^1.1.0",
|
||||
"rimraf": "^6.0.1",
|
||||
"rimraf": "^6.1.3",
|
||||
"spinnies": "github:lyswhut/spinnies#233305c58694aa3b053e3ab9af9049993f918b9d",
|
||||
"svg-sprite-loader": "^6.0.11",
|
||||
"svg-transform-loader": "^2.0.13",
|
||||
"svgo-loader": "^4.0.0",
|
||||
"terser": "^5.31.6",
|
||||
"terser-webpack-plugin": "^5.3.10",
|
||||
"terser": "^5.46.0",
|
||||
"terser-webpack-plugin": "^5.3.16",
|
||||
"tree-kill": "^1.2.2",
|
||||
"ts-loader": "^9.5.1",
|
||||
"typescript": "^5.5.4",
|
||||
"ts-loader": "^9.5.4",
|
||||
"typescript": "5.9.3",
|
||||
"vue-eslint-parser": "^9.4.3",
|
||||
"vue-loader": "^17.4.2",
|
||||
"vue-template-compiler": "^2.7.16",
|
||||
"webpack": "^5.94.0",
|
||||
"webpack-cli": "^5.1.4",
|
||||
"webpack-dev-server": "^5.0.4",
|
||||
"webpack": "^5.105.2",
|
||||
"webpack-cli": "^6.0.1",
|
||||
"webpack-dev-server": "5.2.3",
|
||||
"webpack-hot-middleware": "github:lyswhut/webpack-hot-middleware#329c4375134b89d39da23a56a94db651247c74a1",
|
||||
"webpack-merge": "^6.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@simonwep/pickr": "^1.9.1",
|
||||
"better-sqlite3": "^11.2.1",
|
||||
"bufferutil": "^4.0.8",
|
||||
"better-sqlite3": "^12.6.2",
|
||||
"bufferutil": "^4.1.0",
|
||||
"comlink": "~4.3.1",
|
||||
"crypto-js": "^4.2.0",
|
||||
"electron-log": "^5.1.7",
|
||||
"font-list": "^1.5.1",
|
||||
"iconv-lite": "^0.6.3",
|
||||
"electron-log": "^5.4.3",
|
||||
"font-list": "^2.0.2",
|
||||
"iconv-lite": "^0.7.2",
|
||||
"image-size": "^1.1.0",
|
||||
"jschardet": "^3.1.3",
|
||||
"long": "^5.2.3",
|
||||
"jschardet": "^3.1.4",
|
||||
"long": "^5.3.2",
|
||||
"message2call": "^0.1.3",
|
||||
"music-metadata": "^10.2.0",
|
||||
"music-metadata": "^11.12.0",
|
||||
"needle": "github:lyswhut/needle#93299ac841b7e9a9f82ca7279b88aaaeda404060",
|
||||
"node-id3": "^0.2.6",
|
||||
"sortablejs": "^1.15.2",
|
||||
"node-id3": "^0.2.9",
|
||||
"sortablejs": "^1.15.7",
|
||||
"tunnel": "^0.0.6",
|
||||
"utf-8-validate": "^6.0.4",
|
||||
"undici": "^7.22.0",
|
||||
"utf-8-validate": "^6.0.6",
|
||||
"vue": "~3.3.13",
|
||||
"vue-router": "^4.4.3",
|
||||
"ws": "^8.18.0"
|
||||
"vue-router": "~4.5.1",
|
||||
"ws": "^8.19.0"
|
||||
},
|
||||
"overrides": {
|
||||
"got": "^11",
|
||||
"json5": "latest",
|
||||
"node-abi": "latest",
|
||||
"minimatch": "latest",
|
||||
"semver": "latest",
|
||||
"svg-transform-loader": {
|
||||
"postcss": "latest"
|
||||
"postcss": "^8"
|
||||
},
|
||||
"svg-sprite-loader": {
|
||||
"postcss": "latest"
|
||||
"postcss": "^8"
|
||||
},
|
||||
"svg-baker": {
|
||||
"postcss": "latest"
|
||||
"postcss": "^8"
|
||||
},
|
||||
"braces": "latest",
|
||||
"node-gyp-build": "latest",
|
||||
"micromatch": "latest",
|
||||
"http-cache-semantics": "latest"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,31 +1,12 @@
|
||||
### 新增
|
||||
|
||||
- 新增 设置-播放设置-是否将歌词显示在状态栏 设置,默认关闭,该功能只在 MacOS 下可用(#1940)
|
||||
- 新增设置-播放详情页设置-延迟歌词滚动设置(#1985)
|
||||
- 新增鼠标在音量按钮使用滚轮时可以调整音量大小的功能(#2000)
|
||||
- 新增设置-下载设置-同时下载任务数设置(#1498)
|
||||
- 新增 我的列表-歌曲右击菜单-歌曲换源 功能,换源后下次再播放该列表的该歌曲时将优先尝试播放所选源的歌曲,该功能允许你手动指定来源以解决自动换源失败或者换源不准确的问题
|
||||
我们很高兴地宣布新项目 Any Listen 的桌面版已发布,目前已支持列表跟随本地文件自动更新、加载并播放WebDAV上的歌曲等功能,更多功能仍在积极开发中,桌面版与Web版将同步更新。
|
||||
对于有播放本地音乐或播放服务器上音乐需求的人可以试试,若遇到任何问题可以发 issue 反馈。
|
||||
|
||||
### 优化
|
||||
|
||||
- 优化侧栏图标显示,修复图标可能被裁切的问题(#1960)
|
||||
- 托盘图标添加当前播放歌曲名字显示
|
||||
- 优化本地歌曲内嵌封面过大时的加载方式
|
||||
- 将下载歌曲的歌手信息中的分隔符从 `、` 替换为 `;` 以确保音乐元数据在写入时的兼容性和一致性(#1989 @qnnp-me)
|
||||
- 优化托盘图标行为:在非 Windows 系统中,点击托盘图标时不再显示主窗口
|
||||
|
||||
### 修复
|
||||
|
||||
- 修复 MacOS 下点击 dock 右键菜单的退出按钮时,程序没有退出的问题(#1923)
|
||||
- 修复 OpenAPI 的 `lyricLineAllText` 在切换到无歌词的音乐时内容没有更新的问题(#1925)
|
||||
- 修复切换音源时可能出现切换死循环的问题
|
||||
- 尝试修复某些情况下播放音频时,处于播放状态但是进度条不走的问题
|
||||
- 修复程序目录路径存在 `#` 或 `%` 时,自定义源、托盘等图标异常的问题(#1997)
|
||||
|
||||
### 变更
|
||||
|
||||
- 简化了应用退出行为,据测试,现在 linux 下,若启用了托盘,dock 右键菜单的 退出、关闭所有 之类的功能将不再退出程序,需改用托盘的退出按钮退出程序
|
||||
- 现在如果在设置或者启动参数配置了代理服务,那么应用内的图片、音频加载,歌曲下载也将走代理
|
||||
|
||||
### 其他
|
||||
|
||||
- 更新 electron 到 v30.4.0
|
||||
- 修复音量条在调整音量时实际音量与显示的数值不一致的问题(#2606)
|
||||
- 修复某些情况下搜索框的搜索按钮布局错位的问题(#2622)
|
||||
- 修复 wyy 部分歌曲无法被搜索的问题(#2666, @ikun0014)
|
||||
|
||||
40
publish/utils/parseChangelog.js
Normal file
40
publish/utils/parseChangelog.js
Normal file
@@ -0,0 +1,40 @@
|
||||
/**
|
||||
*
|
||||
* @param {string} text
|
||||
* @returns
|
||||
*/
|
||||
export const parseChangelog = async(text) => {
|
||||
const versions = []
|
||||
const lines = text.split(/\r\n|\r|\n/)
|
||||
let currentVersion = null
|
||||
let currentDate = null
|
||||
let currentDesc = ''
|
||||
|
||||
for (const line of lines) {
|
||||
const versionMatch = line.match(/^\s*##\s+\[?(\d+\.\d+\.\d+)\]?.*?-\s+(\d{4}-\d{2}-\d{2})$/)
|
||||
if (versionMatch) {
|
||||
if (currentVersion) {
|
||||
versions.push({
|
||||
version: currentVersion,
|
||||
date: currentDate,
|
||||
desc: currentDesc.trim(),
|
||||
})
|
||||
}
|
||||
currentVersion = versionMatch[1]
|
||||
currentDate = versionMatch[3]
|
||||
currentDesc = ''
|
||||
} else {
|
||||
currentDesc += `${line}\n`
|
||||
}
|
||||
}
|
||||
|
||||
if (currentVersion) {
|
||||
versions.push({
|
||||
version: currentVersion,
|
||||
date: currentDate,
|
||||
desc: currentDesc.trim(),
|
||||
})
|
||||
}
|
||||
|
||||
return versions
|
||||
}
|
||||
@@ -6,8 +6,8 @@ const version = require('../version.json')
|
||||
const chalk = require('chalk')
|
||||
const pkg_bak = JSON.stringify(pkg, null, 2)
|
||||
const version_bak = JSON.stringify(version, null, 2)
|
||||
const parseChangelog = require('changelog-parser')
|
||||
const changelogPath = jp('../../CHANGELOG.md')
|
||||
const { parseChangelog } = require('./parseChangelog')
|
||||
|
||||
// const md_renderer = markdownStr => new (require('markdown-it'))({
|
||||
// html: true,
|
||||
@@ -16,27 +16,23 @@ const changelogPath = jp('../../CHANGELOG.md')
|
||||
// breaks: true,
|
||||
// }).render(markdownStr)
|
||||
|
||||
const getPrevVer = () => parseChangelog(changelogPath).then(res => {
|
||||
if (!res.versions.length) throw new Error('CHANGELOG 无法解析到版本号')
|
||||
return res.versions[0].version
|
||||
const getPrevVer = () => parseChangelog(fs.readFileSync(changelogPath, 'utf-8').toString()).then(versions => {
|
||||
if (!versions.length) throw new Error('CHANGELOG 无法解析到版本号')
|
||||
return versions[0].version
|
||||
})
|
||||
|
||||
const updateChangeLog = async(newVerNum, newChangeLog) => {
|
||||
let changeLog = fs.readFileSync(changelogPath, 'utf-8')
|
||||
const prevVer = await getPrevVer()
|
||||
const log = `## [${newVerNum}](${pkg.repository.url.replace(/^git\+(http.+)\.git$/, '$1')}/compare/v${prevVer}...v${newVerNum}) - ${formatTime()}\n\n${newChangeLog}`
|
||||
fs.writeFileSync(changelogPath, changeLog.replace(new RegExp('(## [?0.1.1]?)'), log + '\n$1'), 'utf-8')
|
||||
fs.writeFileSync(changelogPath, changeLog.replace(/(## \[(?:\d+\.))/, log + '\n$1'), 'utf-8')
|
||||
}
|
||||
|
||||
// const renderChangeLog = md => md_renderer(md)
|
||||
|
||||
|
||||
module.exports = async newVerNum => {
|
||||
if (!newVerNum) {
|
||||
let verArr = pkg.version.split('.')
|
||||
verArr[verArr.length - 1] = parseInt(verArr[verArr.length - 1]) + 1
|
||||
newVerNum = verArr.join('.')
|
||||
}
|
||||
if (!newVerNum) newVerNum = pkg.version
|
||||
const newMDChangeLog = fs.readFileSync(jp('../changeLog.md'), 'utf-8')
|
||||
// const newChangeLog = renderChangeLog(newMDChangeLog)
|
||||
version.history.unshift({
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -80,3 +80,5 @@ export const DOWNLOAD_STATUS = {
|
||||
} as const
|
||||
|
||||
export const QUALITYS = ['flac24bit', 'flac', 'wav', 'ape', '320k', '192k', '128k'] as const
|
||||
|
||||
export const TRAY_AUTO_ID = -1
|
||||
|
||||
@@ -19,6 +19,7 @@ const defaultSetting: LX.AppSetting = {
|
||||
'common.isAgreePact': false,
|
||||
'common.controlBtnPosition': isMac ? 'left' : 'right',
|
||||
'common.playBarProgressStyle': 'mini',
|
||||
'common.transparentWindow': !isMac,
|
||||
'common.tryAutoUpdate': true,
|
||||
'common.showChangeLog': true,
|
||||
|
||||
@@ -37,6 +38,7 @@ const defaultSetting: LX.AppSetting = {
|
||||
'player.isMediaDeviceRemovedStopPlay': false,
|
||||
'player.isShowLyricTranslation': false,
|
||||
'player.isShowLyricRoma': false,
|
||||
'player.isSwapLyricTranslationAndRoma': false,
|
||||
'player.isS2t': false,
|
||||
'player.isPlayLxlrc': !isMac,
|
||||
'player.isSavePlayTime': false,
|
||||
@@ -76,6 +78,7 @@ const defaultSetting: LX.AppSetting = {
|
||||
'desktopLyric.isShowTaskbar': false,
|
||||
'desktopLyric.audioVisualization': false,
|
||||
'desktopLyric.fullscreenHide': true,
|
||||
'desktopLyric.pauseHide': true,
|
||||
'desktopLyric.width': 450,
|
||||
'desktopLyric.height': 300,
|
||||
'desktopLyric.x': null,
|
||||
@@ -107,16 +110,19 @@ const defaultSetting: LX.AppSetting = {
|
||||
'list.actionButtonsVisible': false,
|
||||
|
||||
'download.enable': false,
|
||||
'download.isSavePathGroupByListName': false,
|
||||
'download.savePath': path.join(os.homedir(), 'Desktop'),
|
||||
'download.fileName': '歌名 - 歌手',
|
||||
'download.maxDownloadNum': 3,
|
||||
'download.skipExistFile': true,
|
||||
'download.isDownloadLrc': false,
|
||||
'download.isDownloadLxLrc': true,
|
||||
'download.isDownloadTLrc': false,
|
||||
'download.isDownloadRLrc': false,
|
||||
'download.lrcFormat': 'utf8',
|
||||
'download.isEmbedPic': true,
|
||||
'download.isEmbedLyric': false,
|
||||
'download.isEmbedLyricLx': true,
|
||||
'download.isEmbedLyricT': false,
|
||||
'download.isEmbedLyricR': false,
|
||||
'download.isUseOtherSource': false,
|
||||
|
||||
@@ -51,6 +51,16 @@ const hotKey = {
|
||||
action: 'prev',
|
||||
type: '',
|
||||
},
|
||||
seekbackward: {
|
||||
name: 'seekbackward',
|
||||
action: 'seekbackward',
|
||||
type: '',
|
||||
},
|
||||
seekforward: {
|
||||
name: 'seekforward',
|
||||
action: 'seekforward',
|
||||
type: '',
|
||||
},
|
||||
volume_up: {
|
||||
name: 'volume_up',
|
||||
action: 'volume_up',
|
||||
|
||||
@@ -162,6 +162,7 @@ const modules = {
|
||||
on_config_change: 'on_config_change',
|
||||
main_window_inited: 'main_window_inited',
|
||||
set_win_bounds: 'set_win_bounds',
|
||||
set_win_resizeable: 'set_win_resizeable',
|
||||
key_down: 'key_down',
|
||||
request_main_window_channel: 'request_main_window_channel',
|
||||
provide_main_window_channel: 'provide_main_window_channel',
|
||||
|
||||
30
src/common/types/app_setting.d.ts
vendored
30
src/common/types/app_setting.d.ts
vendored
@@ -68,6 +68,11 @@ declare global {
|
||||
*/
|
||||
'common.playBarProgressStyle': 'mini' | 'full' | 'middle'
|
||||
|
||||
/**
|
||||
* 启用透明窗口
|
||||
*/
|
||||
'common.transparentWindow': boolean
|
||||
|
||||
/**
|
||||
* 尝试自动更新
|
||||
*/
|
||||
@@ -154,6 +159,11 @@ declare global {
|
||||
*/
|
||||
'player.isShowLyricRoma': boolean
|
||||
|
||||
/**
|
||||
* 是否调换翻译歌词与罗马音歌词位置
|
||||
*/
|
||||
'player.isSwapLyricTranslationAndRoma': boolean
|
||||
|
||||
/**
|
||||
* 是否将歌词从简体转换为繁体
|
||||
*/
|
||||
@@ -340,6 +350,11 @@ declare global {
|
||||
*/
|
||||
'desktopLyric.fullscreenHide': boolean
|
||||
|
||||
/**
|
||||
* 是否在暂停时隐藏歌词
|
||||
*/
|
||||
'desktopLyric.pauseHide': boolean
|
||||
|
||||
/**
|
||||
* 桌面歌词窗口宽度
|
||||
*/
|
||||
@@ -485,6 +500,11 @@ declare global {
|
||||
*/
|
||||
'download.enable': boolean
|
||||
|
||||
/**
|
||||
* 按列表名分组保存
|
||||
*/
|
||||
'download.isSavePathGroupByListName': boolean
|
||||
|
||||
/**
|
||||
* 下载路径
|
||||
*/
|
||||
@@ -510,6 +530,11 @@ declare global {
|
||||
*/
|
||||
'download.isDownloadLrc': boolean
|
||||
|
||||
/**
|
||||
* 是否在下载 lx 歌词
|
||||
*/
|
||||
'download.isDownloadLxLrc': boolean
|
||||
|
||||
/**
|
||||
* 是否下载翻译歌词文件
|
||||
*/
|
||||
@@ -530,6 +555,11 @@ declare global {
|
||||
*/
|
||||
'download.isEmbedPic': boolean
|
||||
|
||||
/**
|
||||
* 是否在音频文件中嵌入 lx 歌词
|
||||
*/
|
||||
'download.isEmbedLyricLx': boolean
|
||||
|
||||
/**
|
||||
* 是否在音频文件中嵌入歌词
|
||||
*/
|
||||
|
||||
5
src/common/types/common.d.ts
vendored
5
src/common/types/common.d.ts
vendored
@@ -37,6 +37,11 @@ declare namespace LX {
|
||||
*/
|
||||
play?: string
|
||||
|
||||
/**
|
||||
* 启动后最小化到系统托盘
|
||||
*/
|
||||
hidden?: boolean
|
||||
|
||||
[key: string]: boolean | number | string
|
||||
}
|
||||
|
||||
|
||||
2
src/common/types/desktop_lyric.d.ts
vendored
2
src/common/types/desktop_lyric.d.ts
vendored
@@ -6,6 +6,7 @@ declare namespace LX {
|
||||
'desktopLyric.isAlwaysOnTop': LX.AppSetting['desktopLyric.isAlwaysOnTop']
|
||||
'desktopLyric.isAlwaysOnTopLoop': LX.AppSetting['desktopLyric.isAlwaysOnTopLoop']
|
||||
'desktopLyric.isShowTaskbar': LX.AppSetting['desktopLyric.isShowTaskbar']
|
||||
'desktopLyric.pauseHide': LX.AppSetting['desktopLyric.pauseHide']
|
||||
'desktopLyric.audioVisualization': LX.AppSetting['desktopLyric.audioVisualization']
|
||||
'desktopLyric.width': LX.AppSetting['desktopLyric.width']
|
||||
'desktopLyric.height': LX.AppSetting['desktopLyric.height']
|
||||
@@ -33,6 +34,7 @@ declare namespace LX {
|
||||
'common.langId': LX.AppSetting['common.langId']
|
||||
'player.isShowLyricTranslation': LX.AppSetting['player.isShowLyricTranslation']
|
||||
'player.isShowLyricRoma': LX.AppSetting['player.isShowLyricRoma']
|
||||
'player.isSwapLyricTranslationAndRoma': LX.AppSetting['player.isSwapLyricTranslationAndRoma']
|
||||
'player.isPlayLxlrc': LX.AppSetting['player.isPlayLxlrc']
|
||||
'player.playbackRate': LX.AppSetting['player.playbackRate']
|
||||
}
|
||||
|
||||
1
src/common/types/download_list.d.ts
vendored
1
src/common/types/download_list.d.ts
vendored
@@ -59,6 +59,7 @@ declare global {
|
||||
ext: FileExt
|
||||
fileName: string
|
||||
filePath: string
|
||||
listId?: string
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
8
src/common/types/player.d.ts
vendored
8
src/common/types/player.d.ts
vendored
@@ -11,6 +11,9 @@ declare namespace LX {
|
||||
| 'pause'
|
||||
| 'play'
|
||||
| 'next'
|
||||
| 'seek'
|
||||
| 'volume'
|
||||
| 'mute'
|
||||
|
||||
interface LyricInfo extends LX.Music.LyricInfo {
|
||||
rawlrcInfo: LX.Music.LyricInfo
|
||||
@@ -28,7 +31,12 @@ declare namespace LX {
|
||||
lyricLineText: string
|
||||
lyricLineAllText: string
|
||||
lyric: string
|
||||
tlyric: string
|
||||
rlyric: string
|
||||
lxlyric: string
|
||||
collect: boolean
|
||||
volume: number
|
||||
mute: boolean
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -71,19 +71,6 @@ export const formatPlayTime2 = (time: number) => {
|
||||
}
|
||||
|
||||
|
||||
const encodeNames = {
|
||||
' ': ' ',
|
||||
'&': '&',
|
||||
'<': '<',
|
||||
'>': '>',
|
||||
'"': '"',
|
||||
''': "'",
|
||||
''': "'",
|
||||
} as const
|
||||
export const decodeName = (str: string | null = '') => {
|
||||
return str?.replace(/(?:&|<|>|"|'|'| )/gm, (s: string) => encodeNames[s as keyof typeof encodeNames]) ?? ''
|
||||
}
|
||||
|
||||
export const isUrl = (path: string) => /https?:\/\//.test(path)
|
||||
|
||||
// 解析URL参数为对象
|
||||
|
||||
@@ -230,6 +230,11 @@ class Task extends EventEmitter {
|
||||
__handleComplete() {
|
||||
if (this.status == STATUS.error) return
|
||||
this.__clearTimeout()
|
||||
if (this.progress.progress <= 0) {
|
||||
this.status = STATUS.error
|
||||
this.emit('error', new Error('Progress is 0, download failed.'))
|
||||
return
|
||||
}
|
||||
void this.__closeWriteStream().then(() => {
|
||||
if (this.progress.downloaded == this.progress.total) {
|
||||
this.status = STATUS.completed
|
||||
|
||||
@@ -6,6 +6,14 @@ export const isWin = process.platform == 'win32'
|
||||
export const isMac = process.platform == 'darwin'
|
||||
export const isProd = process.env.NODE_ENV == 'production'
|
||||
|
||||
export const getPlatform = (platform: NodeJS.Platform = process.platform) => {
|
||||
switch (platform) {
|
||||
case 'win32': return 'windows'
|
||||
case 'darwin': return 'mac'
|
||||
default: return 'linux'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// https://stackoverflow.com/a/53387532
|
||||
export function compareVer(currentVer: string, targetVer: string): -1 | 0 | 1 {
|
||||
|
||||
74
src/common/utils/lyricUtils/kg.js
Normal file
74
src/common/utils/lyricUtils/kg.js
Normal file
@@ -0,0 +1,74 @@
|
||||
import { inflate } from 'zlib'
|
||||
import { decodeName } from './util'
|
||||
|
||||
// https://github.com/lyswhut/lx-music-desktop/issues/296#issuecomment-683285784
|
||||
const enc_key = Buffer.from([0x40, 0x47, 0x61, 0x77, 0x5e, 0x32, 0x74, 0x47, 0x51, 0x36, 0x31, 0x2d, 0xce, 0xd2, 0x6e, 0x69], 'binary')
|
||||
const decodeLyric = str => new Promise((resolve, reject) => {
|
||||
if (!str.length) return
|
||||
const buf_str = Buffer.from(str, 'base64').subarray(4)
|
||||
for (let i = 0, len = buf_str.length; i < len; i++) {
|
||||
buf_str[i] = buf_str[i] ^ enc_key[i % 16]
|
||||
}
|
||||
inflate(buf_str, (err, result) => {
|
||||
if (err) return reject(err)
|
||||
resolve(result.toString())
|
||||
})
|
||||
})
|
||||
|
||||
const headExp = /^.*\[id:\$\w+\]\n/
|
||||
|
||||
const parseLyric = str => {
|
||||
str = str.replace(/\r/g, '')
|
||||
if (headExp.test(str)) str = str.replace(headExp, '')
|
||||
let trans = str.match(/\[language:([\w=\\/+]+)\]/)
|
||||
let lyric
|
||||
let rlyric
|
||||
let tlyric
|
||||
if (trans) {
|
||||
str = str.replace(/\[language:[\w=\\/+]+\]\n/, '')
|
||||
let json = JSON.parse(Buffer.from(trans[1], 'base64').toString())
|
||||
for (const item of json.content) {
|
||||
switch (item.type) {
|
||||
case 0:
|
||||
rlyric = item.lyricContent
|
||||
break
|
||||
case 1:
|
||||
tlyric = item.lyricContent
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
let i = 0
|
||||
let lxlyric = str.replace(/\[((\d+),\d+)\].*/g, str => {
|
||||
let result = str.match(/\[((\d+),\d+)\].*/)
|
||||
let time = parseInt(result[2])
|
||||
let ms = time % 1000
|
||||
time /= 1000
|
||||
let m = parseInt(time / 60).toString().padStart(2, '0')
|
||||
time %= 60
|
||||
let s = parseInt(time).toString().padStart(2, '0')
|
||||
time = `${m}:${s}.${ms}`
|
||||
if (rlyric) rlyric[i] = `[${time}]${rlyric[i]?.join('') ?? ''}`
|
||||
if (tlyric) tlyric[i] = `[${time}]${tlyric[i]?.join('') ?? ''}`
|
||||
i++
|
||||
return str.replace(result[1], time)
|
||||
})
|
||||
rlyric = rlyric ? rlyric.join('\n') : ''
|
||||
tlyric = tlyric ? tlyric.join('\n') : ''
|
||||
lxlyric = lxlyric.replace(/<(\d+,\d+),\d+>/g, '<$1>')
|
||||
lxlyric = decodeName(lxlyric)
|
||||
lyric = lxlyric.replace(/<\d+,\d+>/g, '')
|
||||
rlyric = decodeName(rlyric)
|
||||
tlyric = decodeName(tlyric)
|
||||
return {
|
||||
lyric,
|
||||
tlyric,
|
||||
rlyric,
|
||||
lxlyric,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
export const decodeKrc = async(data) => {
|
||||
return decodeLyric(data).then(parseLyric)
|
||||
}
|
||||
13
src/common/utils/lyricUtils/util.ts
Normal file
13
src/common/utils/lyricUtils/util.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
const encodeNames = {
|
||||
' ': ' ',
|
||||
'&': '&',
|
||||
'<': '<',
|
||||
'>': '>',
|
||||
'"': '"',
|
||||
''': "'",
|
||||
''': "'",
|
||||
} as const
|
||||
|
||||
export const decodeName = (str: string | null = '') => {
|
||||
return str?.replace(/(?:&|<|>|"|'|'| )/gm, (s: string) => encodeNames[s as keyof typeof encodeNames]) ?? ''
|
||||
}
|
||||
@@ -31,6 +31,25 @@ export const checkPath = async(path: string): Promise<boolean> => {
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 检查路径并创建目录
|
||||
* @param path
|
||||
* @returns
|
||||
*/
|
||||
export const checkAndCreateDir = async(path: string) => {
|
||||
return fs.promises.access(path, fs.constants.F_OK | fs.constants.W_OK)
|
||||
.catch(async(err: NodeJS.ErrnoException) => {
|
||||
if (err.code != 'ENOENT') throw err as Error
|
||||
return fs.promises.mkdir(path, { recursive: true })
|
||||
})
|
||||
.then(() => true)
|
||||
.catch((err) => {
|
||||
console.error(err)
|
||||
return false
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export const getFileStats = async(path: string): Promise<fs.Stats | null> => {
|
||||
return new Promise(resolve => {
|
||||
if (!path) {
|
||||
|
||||
@@ -342,7 +342,7 @@ export const scrollXRTo = (element: ScrollElement<HTMLElement>, to: number, dura
|
||||
*/
|
||||
let dom_title = document.getElementsByTagName('title')[0]
|
||||
export const setTitle = (title: string | null) => {
|
||||
title ||= '洛雪音乐助手'
|
||||
title ||= 'LX Music'
|
||||
dom_title.innerText = title
|
||||
}
|
||||
|
||||
|
||||
274
src/common/utils/request.ts
Normal file
274
src/common/utils/request.ts
Normal file
@@ -0,0 +1,274 @@
|
||||
import qs from 'node:querystring'
|
||||
import {
|
||||
FormData,
|
||||
getGlobalDispatcher,
|
||||
interceptors,
|
||||
request as nodeRrequest,
|
||||
ProxyAgent,
|
||||
setGlobalDispatcher,
|
||||
type Dispatcher,
|
||||
} from 'undici'
|
||||
|
||||
const defaultOptions: Options = {
|
||||
timeout: 15000,
|
||||
headers: {
|
||||
'User-Agent':
|
||||
'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36',
|
||||
},
|
||||
maxRedirect: 5,
|
||||
} as const
|
||||
const redirectDispatcher = interceptors.redirect({ maxRedirections: defaultOptions.maxRedirect })
|
||||
const dispatchers = [
|
||||
interceptors.retry({
|
||||
maxRetries: 3,
|
||||
minTimeout: 1000,
|
||||
maxTimeout: 10000,
|
||||
timeoutFactor: 2,
|
||||
retryAfter: true,
|
||||
}),
|
||||
// interceptors.responseError(),
|
||||
] as const
|
||||
let proxyAgent: ProxyAgent | null = null
|
||||
let globalDispatcher = getGlobalDispatcher()
|
||||
const buildDispatcher = (redirectDispatcher: Dispatcher.DispatcherComposeInterceptor | null, retryNum = 3) => {
|
||||
const otherInterceptors =
|
||||
retryNum == 3
|
||||
? dispatchers
|
||||
: [
|
||||
interceptors.retry({
|
||||
maxRetries: retryNum,
|
||||
minTimeout: 1000,
|
||||
maxTimeout: 6000,
|
||||
timeoutFactor: 2,
|
||||
retryAfter: true,
|
||||
}),
|
||||
]
|
||||
if (redirectDispatcher) {
|
||||
return (proxyAgent ?? globalDispatcher).compose(redirectDispatcher, ...otherInterceptors)
|
||||
}
|
||||
return (proxyAgent ?? globalDispatcher).compose(...otherInterceptors)
|
||||
}
|
||||
|
||||
setGlobalDispatcher(buildDispatcher(redirectDispatcher))
|
||||
|
||||
export const setProxy = (url?: string) => {
|
||||
proxyAgent = url ? new ProxyAgent(url) : null
|
||||
setGlobalDispatcher(buildDispatcher(redirectDispatcher))
|
||||
}
|
||||
export const setProxyByHost = (host?: string, port?: string) => {
|
||||
setProxy(host ? `http://${host}:${port}` : undefined)
|
||||
}
|
||||
const CONTENT_TYPE = {
|
||||
json: 'application/json',
|
||||
form: 'application/x-www-form-urlencoded',
|
||||
text: 'text/plain',
|
||||
formdata: 'multipart/form-data',
|
||||
xml: 'application/xml',
|
||||
binary: 'application/octet-stream',
|
||||
}
|
||||
type ParamsData = Record<string, string | number | null | undefined | boolean>
|
||||
export interface Options {
|
||||
method?:
|
||||
| 'GET'
|
||||
| 'HEAD'
|
||||
| 'POST'
|
||||
| 'PUT'
|
||||
| 'DELETE'
|
||||
| 'OPTIONS'
|
||||
| 'PATCH'
|
||||
| 'PROPFIND'
|
||||
| 'COPY'
|
||||
| 'MOVE'
|
||||
| 'MKCOL'
|
||||
| 'PROPPATCH'
|
||||
| 'QUOTA'
|
||||
query?: ParamsData
|
||||
headers?: Record<string, string | string[]>
|
||||
timeout?: number
|
||||
maxRedirect?: number
|
||||
signal?: AbortController['signal']
|
||||
json?: Record<string, unknown>
|
||||
form?: ParamsData
|
||||
binary?: Buffer | Uint8Array
|
||||
text?: string
|
||||
formdata?: Record<string, string | Buffer | Uint8Array>
|
||||
xml?: string
|
||||
needBody?: boolean
|
||||
needRaw?: boolean
|
||||
retryNum?: number
|
||||
}
|
||||
export interface Response<Res> {
|
||||
headers: {
|
||||
accept?: string | undefined
|
||||
'accept-language'?: string | undefined
|
||||
'accept-patch'?: string | undefined
|
||||
'accept-ranges'?: string | undefined
|
||||
'access-control-allow-credentials'?: string | undefined
|
||||
'access-control-allow-headers'?: string | undefined
|
||||
'access-control-allow-methods'?: string | undefined
|
||||
'access-control-allow-origin'?: string | undefined
|
||||
'access-control-expose-headers'?: string | undefined
|
||||
'access-control-max-age'?: string | undefined
|
||||
'access-control-request-headers'?: string | undefined
|
||||
'access-control-request-method'?: string | undefined
|
||||
age?: string | undefined
|
||||
allow?: string | undefined
|
||||
'alt-svc'?: string | undefined
|
||||
authorization?: string | undefined
|
||||
'cache-control'?: string | undefined
|
||||
connection?: string | undefined
|
||||
'content-disposition'?: string | undefined
|
||||
'content-encoding'?: string | undefined
|
||||
'content-language'?: string | undefined
|
||||
'content-length'?: string | undefined
|
||||
'content-location'?: string | undefined
|
||||
'content-range'?: string | undefined
|
||||
'content-type'?: string | undefined
|
||||
cookie?: string | undefined
|
||||
date?: string | undefined
|
||||
etag?: string | undefined
|
||||
expect?: string | undefined
|
||||
expires?: string | undefined
|
||||
forwarded?: string | undefined
|
||||
from?: string | undefined
|
||||
host?: string | undefined
|
||||
'if-match'?: string | undefined
|
||||
'if-modified-since'?: string | undefined
|
||||
'if-none-match'?: string | undefined
|
||||
'if-unmodified-since'?: string | undefined
|
||||
'last-modified'?: string | undefined
|
||||
location?: string | undefined
|
||||
origin?: string | undefined
|
||||
pragma?: string | undefined
|
||||
'proxy-authenticate'?: string | undefined
|
||||
'proxy-authorization'?: string | undefined
|
||||
'public-key-pins'?: string | undefined
|
||||
range?: string | undefined
|
||||
referer?: string | undefined
|
||||
'retry-after'?: string | undefined
|
||||
'sec-websocket-accept'?: string | undefined
|
||||
'sec-websocket-extensions'?: string | undefined
|
||||
'sec-websocket-key'?: string | undefined
|
||||
'sec-websocket-protocol'?: string | undefined
|
||||
'sec-websocket-version'?: string | undefined
|
||||
'set-cookie'?: string[] | undefined
|
||||
'strict-transport-security'?: string | undefined
|
||||
tk?: string | undefined
|
||||
trailer?: string | undefined
|
||||
'transfer-encoding'?: string | undefined
|
||||
upgrade?: string | undefined
|
||||
'user-agent'?: string | undefined
|
||||
vary?: string | undefined
|
||||
via?: string | undefined
|
||||
warning?: string | undefined
|
||||
'www-authenticate'?: string | undefined
|
||||
}
|
||||
body: Res
|
||||
raw: Uint8Array
|
||||
statusCode?: number
|
||||
statusMessage?: string
|
||||
}
|
||||
|
||||
const buildRequestBody = (options: Options) => {
|
||||
let contentType: string | undefined
|
||||
let body: string | Buffer | Uint8Array | FormData | undefined
|
||||
if (options.json != null) {
|
||||
contentType = CONTENT_TYPE.json
|
||||
body = JSON.stringify(options.json)
|
||||
} else if (options.form != null) {
|
||||
contentType = CONTENT_TYPE.form
|
||||
body = qs.stringify(options.form)
|
||||
} else if (options.binary != null) {
|
||||
contentType = CONTENT_TYPE.binary
|
||||
body = options.binary
|
||||
} else if (options.formdata != null) {
|
||||
const formdata = new FormData()
|
||||
// eslint-disable-next-line guard-for-in
|
||||
for (const key in options.formdata) {
|
||||
formdata.append(key, options.formdata[key])
|
||||
}
|
||||
contentType = CONTENT_TYPE.formdata
|
||||
body = formdata
|
||||
} else if (options.xml != null) {
|
||||
contentType = CONTENT_TYPE.xml
|
||||
body = options.xml
|
||||
} else if (options.text != null) {
|
||||
contentType = CONTENT_TYPE.text
|
||||
body = options.text
|
||||
}
|
||||
const headers = options.headers ?? {}
|
||||
if (headers['Content-Type']) {
|
||||
contentType = headers['Content-Type'] as string
|
||||
}
|
||||
const finalHeaders: NonNullable<Options['headers']> = { ...defaultOptions.headers, ...headers }
|
||||
if (contentType) finalHeaders['Content-Type'] = contentType
|
||||
return [finalHeaders, body] as const
|
||||
}
|
||||
|
||||
const buildRequestDispatcher = (options: Options) => {
|
||||
let dispatcher: Dispatcher.ComposedDispatcher | undefined
|
||||
|
||||
if (options.maxRedirect != null) {
|
||||
if (options.maxRedirect != defaultOptions.maxRedirect) {
|
||||
if (options.maxRedirect) {
|
||||
dispatcher = buildDispatcher(interceptors.redirect({ maxRedirections: options.maxRedirect }), options.retryNum)
|
||||
} else {
|
||||
dispatcher = buildDispatcher(null, options.retryNum)
|
||||
}
|
||||
}
|
||||
}
|
||||
return dispatcher
|
||||
}
|
||||
|
||||
export const request = async <T = unknown>(url: string, options: Options = {}): Promise<Response<T>> => {
|
||||
const method = options.method?.toUpperCase() ?? 'GET'
|
||||
const timeout = options.timeout ?? defaultOptions.timeout
|
||||
const [headers, body] = buildRequestBody(options)
|
||||
// console.log(url, {
|
||||
// method,
|
||||
// bodyTimeout: timeout,
|
||||
// headersTimeout: timeout,
|
||||
// headers,
|
||||
// query: options.query,
|
||||
// body,
|
||||
// signal: options.signal,
|
||||
// dispatcher: buildRequestDispatcher(options),
|
||||
// })
|
||||
return nodeRrequest(url, {
|
||||
method,
|
||||
bodyTimeout: timeout,
|
||||
headersTimeout: timeout,
|
||||
headers,
|
||||
query: options.query,
|
||||
body,
|
||||
signal: options.signal,
|
||||
dispatcher: buildRequestDispatcher(options),
|
||||
}).then(async(response) => {
|
||||
if (options.needBody) {
|
||||
return {
|
||||
headers: response.headers,
|
||||
statusCode: response.statusCode,
|
||||
body: response.body as unknown as T,
|
||||
} satisfies Omit<Response<T>, 'raw'> as Response<T>
|
||||
}
|
||||
if (options.needRaw) {
|
||||
return {
|
||||
headers: response.headers,
|
||||
statusCode: response.statusCode,
|
||||
raw: await response.body.bytes(),
|
||||
} satisfies Omit<Response<T>, 'body'> as Response<T>
|
||||
}
|
||||
// console.log(response)
|
||||
let body = (await response.body.text()) as T
|
||||
if (!headers['Content-Type'] || headers['Content-Type'].includes(CONTENT_TYPE.json)) {
|
||||
try {
|
||||
body = JSON.parse(body as string) as T
|
||||
} catch {}
|
||||
}
|
||||
return {
|
||||
body,
|
||||
headers: response.headers,
|
||||
statusCode: response.statusCode,
|
||||
} satisfies Omit<Response<T>, 'raw'> as Response<T>
|
||||
})
|
||||
}
|
||||
237
src/common/utils/request_node16.ts
Normal file
237
src/common/utils/request_node16.ts
Normal file
@@ -0,0 +1,237 @@
|
||||
import qs from 'node:querystring'
|
||||
import {
|
||||
FormData,
|
||||
getGlobalDispatcher,
|
||||
request as nodeRrequest,
|
||||
ProxyAgent,
|
||||
setGlobalDispatcher,
|
||||
type Dispatcher,
|
||||
} from 'undici'
|
||||
|
||||
const defaultOptions: Options = {
|
||||
timeout: 15000,
|
||||
headers: {
|
||||
'User-Agent':
|
||||
'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36',
|
||||
},
|
||||
maxRedirect: 5,
|
||||
} as const
|
||||
let proxyAgent: ProxyAgent | null = null
|
||||
let globalDispatcher = getGlobalDispatcher()
|
||||
const buildDispatcher = () => {
|
||||
return proxyAgent ?? globalDispatcher
|
||||
}
|
||||
|
||||
setGlobalDispatcher(buildDispatcher())
|
||||
|
||||
export const setProxy = (url?: string) => {
|
||||
proxyAgent = url ? new ProxyAgent(url) : null
|
||||
setGlobalDispatcher(buildDispatcher())
|
||||
}
|
||||
export const setProxyByHost = (host?: string, port?: string) => {
|
||||
console.log(host)
|
||||
setProxy(host ? `http://${host}:${port}` : undefined)
|
||||
}
|
||||
const CONTENT_TYPE = {
|
||||
json: 'application/json',
|
||||
form: 'application/x-www-form-urlencoded',
|
||||
text: 'text/plain',
|
||||
formdata: 'multipart/form-data',
|
||||
xml: 'application/xml',
|
||||
binary: 'application/octet-stream',
|
||||
}
|
||||
type ParamsData = Record<string, string | number | null | undefined | boolean>
|
||||
export interface Options {
|
||||
method?:
|
||||
| 'GET'
|
||||
| 'HEAD'
|
||||
| 'POST'
|
||||
| 'PUT'
|
||||
| 'DELETE'
|
||||
| 'OPTIONS'
|
||||
| 'PATCH'
|
||||
| 'PROPFIND'
|
||||
| 'COPY'
|
||||
| 'MOVE'
|
||||
| 'MKCOL'
|
||||
| 'PROPPATCH'
|
||||
| 'QUOTA'
|
||||
query?: ParamsData
|
||||
headers?: Record<string, string | string[]>
|
||||
timeout?: number
|
||||
maxRedirect?: number
|
||||
signal?: AbortController['signal']
|
||||
json?: Record<string, unknown>
|
||||
form?: ParamsData
|
||||
binary?: Buffer | Uint8Array
|
||||
text?: string
|
||||
formdata?: Record<string, string | Buffer | Uint8Array>
|
||||
xml?: string
|
||||
needBody?: boolean
|
||||
needRaw?: boolean
|
||||
retryNum?: number
|
||||
}
|
||||
export interface Response<Res> {
|
||||
headers: {
|
||||
accept?: string | undefined
|
||||
'accept-language'?: string | undefined
|
||||
'accept-patch'?: string | undefined
|
||||
'accept-ranges'?: string | undefined
|
||||
'access-control-allow-credentials'?: string | undefined
|
||||
'access-control-allow-headers'?: string | undefined
|
||||
'access-control-allow-methods'?: string | undefined
|
||||
'access-control-allow-origin'?: string | undefined
|
||||
'access-control-expose-headers'?: string | undefined
|
||||
'access-control-max-age'?: string | undefined
|
||||
'access-control-request-headers'?: string | undefined
|
||||
'access-control-request-method'?: string | undefined
|
||||
age?: string | undefined
|
||||
allow?: string | undefined
|
||||
'alt-svc'?: string | undefined
|
||||
authorization?: string | undefined
|
||||
'cache-control'?: string | undefined
|
||||
connection?: string | undefined
|
||||
'content-disposition'?: string | undefined
|
||||
'content-encoding'?: string | undefined
|
||||
'content-language'?: string | undefined
|
||||
'content-length'?: string | undefined
|
||||
'content-location'?: string | undefined
|
||||
'content-range'?: string | undefined
|
||||
'content-type'?: string | undefined
|
||||
cookie?: string | undefined
|
||||
date?: string | undefined
|
||||
etag?: string | undefined
|
||||
expect?: string | undefined
|
||||
expires?: string | undefined
|
||||
forwarded?: string | undefined
|
||||
from?: string | undefined
|
||||
host?: string | undefined
|
||||
'if-match'?: string | undefined
|
||||
'if-modified-since'?: string | undefined
|
||||
'if-none-match'?: string | undefined
|
||||
'if-unmodified-since'?: string | undefined
|
||||
'last-modified'?: string | undefined
|
||||
location?: string | undefined
|
||||
origin?: string | undefined
|
||||
pragma?: string | undefined
|
||||
'proxy-authenticate'?: string | undefined
|
||||
'proxy-authorization'?: string | undefined
|
||||
'public-key-pins'?: string | undefined
|
||||
range?: string | undefined
|
||||
referer?: string | undefined
|
||||
'retry-after'?: string | undefined
|
||||
'sec-websocket-accept'?: string | undefined
|
||||
'sec-websocket-extensions'?: string | undefined
|
||||
'sec-websocket-key'?: string | undefined
|
||||
'sec-websocket-protocol'?: string | undefined
|
||||
'sec-websocket-version'?: string | undefined
|
||||
'set-cookie'?: string[] | undefined
|
||||
'strict-transport-security'?: string | undefined
|
||||
tk?: string | undefined
|
||||
trailer?: string | undefined
|
||||
'transfer-encoding'?: string | undefined
|
||||
upgrade?: string | undefined
|
||||
'user-agent'?: string | undefined
|
||||
vary?: string | undefined
|
||||
via?: string | undefined
|
||||
warning?: string | undefined
|
||||
'www-authenticate'?: string | undefined
|
||||
}
|
||||
body: Res
|
||||
raw: Uint8Array
|
||||
statusCode?: number
|
||||
statusMessage?: string
|
||||
}
|
||||
|
||||
const buildRequestBody = (options: Options) => {
|
||||
let contentType: string | undefined
|
||||
let body: string | Buffer | Uint8Array | FormData | undefined
|
||||
if (options.json != null) {
|
||||
contentType = CONTENT_TYPE.json
|
||||
body = JSON.stringify(options.json)
|
||||
} else if (options.form != null) {
|
||||
contentType = CONTENT_TYPE.form
|
||||
body = qs.stringify(options.form)
|
||||
} else if (options.binary != null) {
|
||||
contentType = CONTENT_TYPE.binary
|
||||
body = options.binary
|
||||
} else if (options.formdata != null) {
|
||||
const formdata = new FormData()
|
||||
// eslint-disable-next-line guard-for-in
|
||||
for (const key in options.formdata) {
|
||||
formdata.append(key, options.formdata[key])
|
||||
}
|
||||
contentType = CONTENT_TYPE.formdata
|
||||
body = formdata
|
||||
} else if (options.xml != null) {
|
||||
contentType = CONTENT_TYPE.xml
|
||||
body = options.xml
|
||||
} else if (options.text != null) {
|
||||
contentType = CONTENT_TYPE.text
|
||||
body = options.text
|
||||
}
|
||||
const headers = options.headers ?? {}
|
||||
if (headers['Content-Type']) {
|
||||
contentType = headers['Content-Type'] as string
|
||||
}
|
||||
const finalHeaders: NonNullable<Options['headers']> = { ...defaultOptions.headers, ...headers }
|
||||
if (contentType) finalHeaders['Content-Type'] = contentType
|
||||
return [finalHeaders, body] as const
|
||||
}
|
||||
|
||||
const buildRequestDispatcher = (options: Options) => {
|
||||
return buildDispatcher()
|
||||
}
|
||||
|
||||
export const request = async <T = unknown>(url: string, options: Options = {}): Promise<Response<T>> => {
|
||||
const method = (options.method?.toUpperCase() ?? 'GET') as Dispatcher.RequestOptions['method']
|
||||
const timeout = options.timeout ?? defaultOptions.timeout
|
||||
const [headers, body] = buildRequestBody(options)
|
||||
// console.log(url, {
|
||||
// method,
|
||||
// bodyTimeout: timeout,
|
||||
// headersTimeout: timeout,
|
||||
// headers,
|
||||
// query: options.query,
|
||||
// body,
|
||||
// signal: options.signal,
|
||||
// dispatcher: buildRequestDispatcher(options),
|
||||
// })
|
||||
return nodeRrequest(url, {
|
||||
method,
|
||||
bodyTimeout: timeout,
|
||||
headersTimeout: timeout,
|
||||
headers,
|
||||
query: options.query,
|
||||
body,
|
||||
signal: options.signal,
|
||||
dispatcher: buildRequestDispatcher(options),
|
||||
}).then(async(response) => {
|
||||
if (options.needBody) {
|
||||
return {
|
||||
headers: response.headers,
|
||||
statusCode: response.statusCode,
|
||||
body: response.body as unknown as T,
|
||||
} satisfies Omit<Response<T>, 'raw'> as Response<T>
|
||||
}
|
||||
if (options.needRaw) {
|
||||
return {
|
||||
headers: response.headers,
|
||||
statusCode: response.statusCode,
|
||||
raw: new Uint8Array(await response.body.arrayBuffer()),
|
||||
} satisfies Omit<Response<T>, 'body'> as unknown as Response<T>
|
||||
}
|
||||
// console.log(response)
|
||||
let body = (await response.body.text()) as T
|
||||
if (!headers['Content-Type'] || headers['Content-Type'].includes(CONTENT_TYPE.json)) {
|
||||
try {
|
||||
body = JSON.parse(body as string) as T
|
||||
} catch {}
|
||||
}
|
||||
return {
|
||||
body,
|
||||
headers: response.headers,
|
||||
statusCode: response.statusCode,
|
||||
} satisfies Omit<Response<T>, 'raw'> as Response<T>
|
||||
})
|
||||
}
|
||||
@@ -6,6 +6,14 @@ export const toNewMusicInfo = (oldMusicInfo: any): LX.Music.MusicInfo => {
|
||||
albumName: oldMusicInfo.albumName, // 歌曲专辑名称
|
||||
picUrl: oldMusicInfo.img, // 歌曲图片链接
|
||||
}
|
||||
const newInfo = {
|
||||
id: `${oldMusicInfo.source}_${oldMusicInfo.songmid}`,
|
||||
name: oldMusicInfo.name,
|
||||
singer: oldMusicInfo.singer,
|
||||
source: oldMusicInfo.source,
|
||||
interval: oldMusicInfo.interval,
|
||||
meta: meta as LX.Music.MusicInfoOnline['meta'],
|
||||
}
|
||||
|
||||
if (oldMusicInfo.source == 'local') {
|
||||
meta.filePath = oldMusicInfo.filePath ?? oldMusicInfo.songmid ?? ''
|
||||
@@ -27,6 +35,7 @@ export const toNewMusicInfo = (oldMusicInfo: any): LX.Music.MusicInfo => {
|
||||
switch (oldMusicInfo.source) {
|
||||
case 'kg':
|
||||
meta.hash = oldMusicInfo.hash
|
||||
newInfo.id = oldMusicInfo.songmid + '_' + oldMusicInfo.hash
|
||||
break
|
||||
case 'tx':
|
||||
meta.strMediaMid = oldMusicInfo.strMediaMid
|
||||
@@ -42,14 +51,7 @@ export const toNewMusicInfo = (oldMusicInfo: any): LX.Music.MusicInfo => {
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
id: `${oldMusicInfo.source as string}_${oldMusicInfo.songmid as string}`,
|
||||
name: oldMusicInfo.name,
|
||||
singer: oldMusicInfo.singer,
|
||||
source: oldMusicInfo.source,
|
||||
interval: oldMusicInfo.interval,
|
||||
meta: meta as LX.Music.MusicInfoOnline['meta'],
|
||||
}
|
||||
return newInfo
|
||||
}
|
||||
|
||||
export const toOldMusicInfo = (minfo: LX.Music.MusicInfo) => {
|
||||
@@ -128,3 +130,21 @@ export const filterMusicList = <T extends LX.Music.MusicInfo>(list: T[]): T[] =>
|
||||
return true
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
const MAX_NAME_LENGTH = 80
|
||||
const MAX_FILE_NAME_LENGTH = 150
|
||||
export const clipNameLength = (name: string) => {
|
||||
if (name.length <= MAX_NAME_LENGTH || !name.includes('、')) return name
|
||||
const names = name.split('、')
|
||||
let newName = names.shift()!
|
||||
for (const name of names) {
|
||||
if (newName.length + name.length > MAX_NAME_LENGTH) break
|
||||
newName = newName + '、' + name
|
||||
}
|
||||
return newName
|
||||
}
|
||||
export const clipFileNameLength = (name: string) => {
|
||||
return name.length > MAX_FILE_NAME_LENGTH ? name.substring(0, MAX_FILE_NAME_LENGTH) : name
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -18,7 +18,7 @@ const langs = [
|
||||
message: zh_cn,
|
||||
},
|
||||
{
|
||||
name: '繁体中文',
|
||||
name: '繁體中文',
|
||||
locale: 'zh-tw',
|
||||
// alternate: 'zh-hk',
|
||||
country: 'cn',
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"fallback": true
|
||||
},
|
||||
{
|
||||
"name": "繁体中文",
|
||||
"name": "繁體中文",
|
||||
"locale": "zh-tw",
|
||||
"alternate": "zh-hk",
|
||||
"country": "cn"
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"cancel_button_text_2": "不不不,点错了",
|
||||
"close": "关闭",
|
||||
"comment__hot_load_error": "热门评论加载失败,点击尝试重新加载",
|
||||
"comment__hot_loading": "热门评论加载中",
|
||||
"comment__hot_loading": "热门评论加载中...",
|
||||
"comment__hot_title": "热门评论",
|
||||
"comment__location": "来自{location}",
|
||||
"comment__new_load_error": "最新评论加载失败,点击尝试重新加载",
|
||||
@@ -21,13 +21,13 @@
|
||||
"comment__no_content": "暂无评论",
|
||||
"comment__refresh": "刷新评论",
|
||||
"comment__show": "歌曲评论",
|
||||
"comment__title": "{name} 的评论",
|
||||
"comment__title": "「{name}」的评论",
|
||||
"comment__unavailable": "此歌曲不支持获取评论",
|
||||
"confirm_button_text": "是的",
|
||||
"copy_tip": "(点击复制)",
|
||||
"date_format_hour": "{num}小时前",
|
||||
"date_format_minute": "{num}分钟前",
|
||||
"date_format_second": "{num}秒前",
|
||||
"date_format_hour": "{num} 小时前",
|
||||
"date_format_minute": "{num} 分钟前",
|
||||
"date_format_second": "{num} 秒前",
|
||||
"deep_link__handle_error_tip": "调用失败:{message}",
|
||||
"default": "默认",
|
||||
"default_list": "试听列表",
|
||||
@@ -38,22 +38,22 @@
|
||||
"desktop_lyric__lock": "锁定歌词",
|
||||
"desktop_lyric__lrc_active_zoom_off": "取消缩放当前播放的歌词",
|
||||
"desktop_lyric__lrc_active_zoom_on": "缩放当前播放的歌词",
|
||||
"desktop_lyric__opactiy_decrease": "增加透明度(右击可微调)",
|
||||
"desktop_lyric__opactiy_increase": "减小透明度(右击可微调)",
|
||||
"desktop_lyric__opacity_decrease": "增加透明度(右击可微调)",
|
||||
"desktop_lyric__opacity_increase": "减小透明度(右击可微调)",
|
||||
"desktop_lyric__theme": "主题配色",
|
||||
"desktop_lyric__unlock": "解锁歌词",
|
||||
"desktop_lyric__win_top_off": "取消置顶歌词界面",
|
||||
"desktop_lyric__win_top_on": "置顶歌词界面",
|
||||
"download": "下载",
|
||||
"download___status_complated": "下载完成",
|
||||
"download___status_completed": "下载完成",
|
||||
"download___status_error": "任务出错",
|
||||
"download___status_paused": "暂停下载",
|
||||
"download___status_runing": "正在下载",
|
||||
"download___status_wating": "等待下载",
|
||||
"download__all": "全部任务",
|
||||
"download___status_running": "正在下载",
|
||||
"download___status_waiting": "等待下载",
|
||||
"download__all": "所有任务",
|
||||
"download__error": "出错",
|
||||
"download__finished": "下载完成",
|
||||
"download__high_quality": "高品音质",
|
||||
"download__high_quality": "高清音质",
|
||||
"download__lossless": "无损音质",
|
||||
"download__multiple_tip": "已选择 {len} 首歌曲",
|
||||
"download__multiple_tip2": "请选择要优先下载的音质",
|
||||
@@ -62,7 +62,7 @@
|
||||
"download__paused": "已暂停",
|
||||
"download__progress": "进度",
|
||||
"download__quality": "品质",
|
||||
"download__runing": "正在下载",
|
||||
"download__running": "正在下载",
|
||||
"download__status": "状态",
|
||||
"download_status_error_check_path": "检查下载路径出错,请检查设置的下载目录是否正常",
|
||||
"download_status_error_check_path_exist": "存在同名文件,跳过下载",
|
||||
@@ -71,9 +71,9 @@
|
||||
"download_status_error_url_failed": "获取音乐链接失败",
|
||||
"download_status_error_write": "歌曲保存位置被占用或没有写入权限,请尝试更改歌曲保存目录或重启软件或重启电脑,错误详情:",
|
||||
"download_status_start": "开始下载",
|
||||
"download_status_url_geting": "音乐链接获取中...",
|
||||
"download_status_url_getting": "音乐链接获取中...",
|
||||
"download_status_write_queue": "数据写入中({num})",
|
||||
"duplicate_list_tip": "你之前已收藏过该列表 [{name}],是否需要更新里面的歌曲?",
|
||||
"duplicate_list_tip": "你之前已收藏过列表「{name}」,是否需要更新里面的歌曲?",
|
||||
"export": "导出",
|
||||
"fullscreen_exit": "退出全屏",
|
||||
"history_clear": "清空搜索历史",
|
||||
@@ -90,7 +90,7 @@
|
||||
"list__file": "定位文件",
|
||||
"list__import_part_button_cancel": "不要啊",
|
||||
"list__import_part_button_confirm": "覆盖掉",
|
||||
"list__import_part_confirm": "导入的列表({importName})与本地列表({localName})的ID相同,是否覆盖本地列表?",
|
||||
"list__import_part_confirm": "导入的列表「{importName}」与本地列表「{localName}」的 ID 相同,是否覆盖本地列表?",
|
||||
"list__import_part_desc": "选择列表文件",
|
||||
"list__load_failed": "啊,加载失败了😭",
|
||||
"list__loading": "列表加载中...⏳",
|
||||
@@ -104,9 +104,9 @@
|
||||
"list__pause": "暂停任务",
|
||||
"list__play": "播放",
|
||||
"list__play_later": "稍后播放",
|
||||
"list__remove": "删除",
|
||||
"list__remove_tip": "你真的想要移除 {name} 吗?",
|
||||
"list__remove_tip_button": "是的 没错",
|
||||
"list__remove": "移除",
|
||||
"list__remove_tip": "你真的想要移除「{name}」吗?",
|
||||
"list__remove_tip_button": "是的,没错",
|
||||
"list__rename": "重命名",
|
||||
"list__search": "搜索",
|
||||
"list__sort": "调整位置",
|
||||
@@ -114,60 +114,60 @@
|
||||
"list__start": "开始任务",
|
||||
"list__sync": "更新",
|
||||
"list__toggle_source": "歌曲换源",
|
||||
"list_add__btn_title": "把该歌曲添加到 {name}",
|
||||
"list_add__multiple_btn_title": "把这些歌曲添加到 {name}",
|
||||
"list_add__btn_title": "把该歌曲添加到「{name}」",
|
||||
"list_add__multiple_btn_title": "把这些歌曲添加到「{name}」",
|
||||
"list_add__multiple_title_add": "添加已选的 {num} 首歌曲到...",
|
||||
"list_add__multiple_title_move": "移动已选的 {num} 首歌曲到...",
|
||||
"list_add__title_first_add": "添加",
|
||||
"list_add__title_first_move": "移动",
|
||||
"list_add__title_last": "到...",
|
||||
"list_duplicate_tip": "已存在同名列表,是否仍要继续创建?",
|
||||
"list_import_tip__alldata": "导入失败,这是一个所有数据备份文件,你需要去这里导入:\n设置 -> 备份与恢复 -> 所有数据 -> 导入",
|
||||
"list_import_tip__playlist": "导入失败,这是一个列表备份文件,你需要去这里导入:\n设置 -> 备份与恢复 -> 部分数据 -> 导入列表",
|
||||
"list_import_tip__playlist_part": "导入失败,这是一个单列表文件,你需要去这里导入:\n我的列表 -> 右击任意一个列表名 -> 在弹出的菜单中选择导入",
|
||||
"list_import_tip__setting": "导入失败,这是一个设置备份文件,你需要去这里导入:\n设置 -> 备份与恢复 -> 部分数据 -> 设置导入",
|
||||
"list_import_tip__alldata": "导入失败,这是一个「所有数据」备份文件,你需要去这里导入:\n\n设置 → 备份与恢复 → 所有数据 → 导入",
|
||||
"list_import_tip__playlist": "导入失败,这是一个「列表」备份文件,你需要去这里导入:\n\n设置 → 备份与恢复 → 部分数据 → 导入列表",
|
||||
"list_import_tip__playlist_part": "导入失败,这是一个「单列表」文件,你需要去这里导入:\n\n我的列表 → 右击任意一个列表名 → 在弹出的菜单中选择「导入」",
|
||||
"list_import_tip__setting": "导入失败,这是一个「设置」备份文件,你需要去这里导入:\n\n设置 → 备份与恢复 → 部分数据 → 导入设置",
|
||||
"list_import_tip__unknown": "导入失败,未知的文件类型,请尝试升级到最新版本后再试",
|
||||
"list_sort_modal_by_album": "专辑名",
|
||||
"list_sort_modal_by_down": "降序",
|
||||
"list_sort_modal_by_field": "排序字段",
|
||||
"list_sort_modal_by_name": "歌曲名",
|
||||
"list_sort_modal_by_random": "随机乱序",
|
||||
"list_sort_modal_by_singer": "歌手名",
|
||||
"list_sort_modal_by_source": "歌曲源",
|
||||
"list_sort_modal_by_singer": "艺术家",
|
||||
"list_sort_modal_by_source": "歌曲来源平台",
|
||||
"list_sort_modal_by_time": "时长",
|
||||
"list_sort_modal_by_type": "排序类别",
|
||||
"list_sort_modal_by_up": "升序",
|
||||
"list_sort_modal_tip_confirm": "你确定要这么做吗?",
|
||||
"list_update_modal__auto_update": "自动更新",
|
||||
"list_update_modal__tips": "💡 每次启动软件时将会自动更新已勾选“自动更新”的列表",
|
||||
"list_update_modal__tips": "💡 每次启动软件时将会自动更新已勾选「自动更新」的列表",
|
||||
"list_update_modal__title": "列表更新管理",
|
||||
"list_update_modal__update": "立即更新",
|
||||
"lists__add_local_file_desc": "选择歌曲文件",
|
||||
"lists__dislike_music_singer_tip": "你真的不喜欢 {singer} 的 {name} 吗?",
|
||||
"lists__dislike_music_tip": "你真的不喜欢 {name} 吗?",
|
||||
"lists__dislike_music_singer_tip": "你真的不喜欢「{singer}」的「{name}」吗?",
|
||||
"lists__dislike_music_tip": "你真的不喜欢「{name}」吗?",
|
||||
"lists__duplicate": "重复歌曲",
|
||||
"lists__export": "导出",
|
||||
"lists__export_part_desc": "选择列表文件保存位置",
|
||||
"lists__import": "导入",
|
||||
"lists__import_part_button_cancel": "不要啊",
|
||||
"lists__import_part_button_confirm": "覆盖掉",
|
||||
"lists__import_part_confirm": "导入的列表({importName})与本地列表({localName})的ID相同,是否覆盖本地列表?",
|
||||
"lists__import_part_confirm": "导入的列表「{importName}」与本地列表「{localName}」的 ID 相同,是否覆盖本地列表?",
|
||||
"lists__import_part_desc": "选择列表文件",
|
||||
"lists__new_list_btn": "新建列表",
|
||||
"lists__new_list_input": "新列表...",
|
||||
"lists__remove": "删除",
|
||||
"lists__remove": "移除",
|
||||
"lists__remove_music_tip": "你真的要移除所选的 {len} 首歌曲吗?",
|
||||
"lists__remove_tip": "你真的想要移除 {name} 吗?",
|
||||
"lists__remove_tip_button": "是的 没错",
|
||||
"lists__remove_tip": "你真的想要移除「{name}」吗?",
|
||||
"lists__remove_tip_button": "是的,没错",
|
||||
"lists__rename": "重命名",
|
||||
"lists__select_local_file": "添加本地歌曲",
|
||||
"lists__sort_list": "排序歌曲",
|
||||
"lists__source_detail": "歌单详情页",
|
||||
"lists__sync": "更新",
|
||||
"lists__sync_confirm_tip": "这将会把 {name} 内的歌曲替换成在线列表的歌曲,你确认要更新吗?",
|
||||
"load_list_file_error_detail": "我们已经帮你把旧的列表文件备份到{path}\n它以 JSON 格式存储,你可以尝试手动修复并恢复它\n\n错误详情:{detail}",
|
||||
"load_list_file_error_title": "播放列表数据加载错误(建议到GitHub或加群反馈)",
|
||||
"loding": "加载中...",
|
||||
"lists__sync_confirm_tip": "这将会把「{name}」内的歌曲替换成在线列表的歌曲,你确认要更新吗?",
|
||||
"load_list_file_error_detail": "我们已经帮你把旧的列表文件备份到:{path}\n\n它以 JSON 格式存储,你可以尝试手动修复并恢复它。\n\n错误详情:{detail}",
|
||||
"load_list_file_error_title": "播放列表数据加载错误(建议到 GitHub 反馈)",
|
||||
"loading": "加载中...",
|
||||
"love_list": "收藏",
|
||||
"lyric__load_error": "歌词获取失败",
|
||||
"lyric__select": "歌词文本选择",
|
||||
@@ -176,25 +176,27 @@
|
||||
"lyric_menu__align_left": "居左",
|
||||
"lyric_menu__lrc_size": "字体大小 [ {size} ]",
|
||||
"lyric_menu__offset": "歌词偏移 [ {offset}ms ]",
|
||||
"lyric_menu__offset_add_10": "加快10毫秒",
|
||||
"lyric_menu__offset_add_100": "加快100毫秒",
|
||||
"lyric_menu__offset_dec_10": "减慢10毫秒",
|
||||
"lyric_menu__offset_dec_100": "减慢100毫秒",
|
||||
"lyric_menu__offset_add_10": "加快 10 毫秒",
|
||||
"lyric_menu__offset_add_100": "加快 100 毫秒",
|
||||
"lyric_menu__offset_dec_10": "减慢 10 毫秒",
|
||||
"lyric_menu__offset_dec_100": "减慢 100 毫秒",
|
||||
"lyric_menu__offset_reset": "重置",
|
||||
"lyric_menu__size_add": "加大字体(右击可微调)",
|
||||
"lyric_menu__size_dec": "减小字体(右击可微调)",
|
||||
"lyric_menu__size_reset": "重置",
|
||||
"media_device__emtpy_device_tip": "音频输出设备为空,若出现无法播放的情况,请检查声卡驱动是否已安装或重装声卡驱动!",
|
||||
"media_device__empty_device_tip": "音频输出设备为空,若出现无法播放的情况,请检查声卡驱动是否已安装。或卸载并重新安装软件,安装时选「仅为我安装」,并保持默认安装路径。",
|
||||
"min": "最小化",
|
||||
"music_album": "专辑名",
|
||||
"music_duplicate": "重复歌曲",
|
||||
"music_name": "歌曲名",
|
||||
"music_singer": "艺术家",
|
||||
"music_sort__input_tip": "请输入要调整到第几个位置",
|
||||
"music_sort__title": "将 {name} 的位置调整到:",
|
||||
"music_sort__title": "将「{name}」的位置调整到:",
|
||||
"music_sort__title_multiple": "将已选的 {num} 首歌曲的位置调整到:",
|
||||
"music_time": "时长",
|
||||
"music_toggle_clean": "取消换源",
|
||||
"music_toggle_confirm": "确认",
|
||||
"music_toggle_duplicate_tip": "列表中已存在相同的歌曲,是否将其移除并继续?",
|
||||
"my_list": "我的列表",
|
||||
"no_item": "列表竟然是空的...",
|
||||
"not_agree": "不接受",
|
||||
@@ -218,8 +220,8 @@
|
||||
"player__desktop_lyric_unlock": "右击解锁歌词",
|
||||
"player__end": "播放完毕",
|
||||
"player__error": "音频加载出错,5 秒后切换下一首",
|
||||
"player__geting_url": "歌曲链接获取中...",
|
||||
"player__geting_url_delay_retry": "服务繁忙,{time}秒后重试...",
|
||||
"player__getting_url": "歌曲链接获取中...",
|
||||
"player__getting_url_delay_retry": "服务繁忙,{time} 秒后重试...",
|
||||
"player__hide_detail_tip": "隐藏详情页(界面内右键双击可快速隐藏详情页)",
|
||||
"player__loading": "音乐加载中...",
|
||||
"player__music_album": "专辑名:",
|
||||
@@ -227,19 +229,19 @@
|
||||
"player__music_singer": "艺术家:",
|
||||
"player__next": "下一首",
|
||||
"player__pause": "暂停",
|
||||
"player__pic_tip": "播放详情页(右击在“我的列表”定位当前播放的歌曲)",
|
||||
"player__pic_tip": "播放详情页(右击在「我的列表」定位当前播放的歌曲)",
|
||||
"player__play": "播放",
|
||||
"player__play_toggle_mode_list": "顺序播放",
|
||||
"player__play_toggle_mode_list_loop": "列表循环",
|
||||
"player__play_toggle_mode_off": "禁用",
|
||||
"player__play_toggle_mode_random": "列表随机",
|
||||
"player__play_toggle_mode_single_loop": "单曲循环",
|
||||
"player__play_toggle_mode_list_loop": "列表循环播放",
|
||||
"player__play_toggle_mode_off": "禁用歌曲切换",
|
||||
"player__play_toggle_mode_random": "列表随机播放",
|
||||
"player__play_toggle_mode_single_loop": "单曲循环播放",
|
||||
"player__playback_preserves_pitch": "音调补偿",
|
||||
"player__playback_rate": "当前播放速率:",
|
||||
"player__playback_rate_reset_btn": "重置",
|
||||
"player__playing": "播放中...",
|
||||
"player__prev": "上一首",
|
||||
"player__refresh_url": "URL过期,正在刷新URL...",
|
||||
"player__refresh_url": "URL 过期,正在刷新 URL...",
|
||||
"player__sound_effect": "音效设置(实验性)",
|
||||
"player__sound_effect_biquad_filter": "均衡器",
|
||||
"player__sound_effect_biquad_filter_preset_classical": "古典",
|
||||
@@ -261,8 +263,8 @@
|
||||
"player__sound_effect_convolution_file_dining_living_true_stereo": "餐厅",
|
||||
"player__sound_effect_convolution_file_feedback_spring": "反馈弹簧",
|
||||
"player__sound_effect_convolution_file_living_bedroom_leveled": "卫生间",
|
||||
"player__sound_effect_convolution_file_matrix_1": "矩阵混响",
|
||||
"player__sound_effect_convolution_file_matrix_2": "矩阵混响2",
|
||||
"player__sound_effect_convolution_file_matrix_1": "矩阵混响(1)",
|
||||
"player__sound_effect_convolution_file_matrix_2": "矩阵混响(2)",
|
||||
"player__sound_effect_convolution_file_s2_r4_bd": "教堂",
|
||||
"player__sound_effect_convolution_file_s3_r1_bd": "立体声",
|
||||
"player__sound_effect_convolution_file_spreader50_65ms": "室内",
|
||||
@@ -271,14 +273,14 @@
|
||||
"player__sound_effect_convolution_main_gain": "原始音频增益",
|
||||
"player__sound_effect_convolution_send_gain": "环境音效增益",
|
||||
"player__sound_effect_features_tip": "提示:「音效设置」与「自定义音频输出设备」冲突,启用音效设置后音频输出设备将会被重置为默认的输出设备,目前此问题暂无法解决。",
|
||||
"player__sound_effect_panner": "3D立体环绕(需使用耳机)",
|
||||
"player__sound_effect_panner": "3D 立体环绕(需使用耳机)",
|
||||
"player__sound_effect_panner_enabled": "启用",
|
||||
"player__sound_effect_panner_sound_r": "声音距离",
|
||||
"player__sound_effect_panner_sound_speed": "环绕速度",
|
||||
"player__sound_effect_pitch_shifter": "音调升降调节",
|
||||
"player__sound_effect_pitch_shifter_preset_semitones": "{num} 半音",
|
||||
"player__sound_effect_pitch_shifter_reset_btn": "重置",
|
||||
"player__sound_effect_pitch_shifter_tip": "由于升降调需要实时处理音频数据,这会导致额外的CPU占用\n\n已知问题:\n如果CPU资源不够时将处理导致任务堆积而出现声音异常,这时需要暂停播放一段时间等堆积的任务处理完毕再播放",
|
||||
"player__sound_effect_pitch_shifter_tip": "由于升降调需要实时处理音频数据,这会导致额外的 CPU 占用。\n\n已知问题:\n如果 CPU 资源不够将导致处理任务堆积而出现声音异常。\n这时需要暂停播放一段时间等堆积的任务处理完毕再播放。",
|
||||
"player__stop": "暂停播放",
|
||||
"player__volume": "当前音量:",
|
||||
"player__volume_mute_label": "静音",
|
||||
@@ -289,7 +291,7 @@
|
||||
"search__type_songlist": "歌单",
|
||||
"search__welcome": "搜我所想~~😉",
|
||||
"setting": "设置",
|
||||
"setting__about": "关于洛雪音乐",
|
||||
"setting__about": "关于 LX Music",
|
||||
"setting__backup": "备份与恢复",
|
||||
"setting__backup_all": "所有数据(列表数据与设置数据)",
|
||||
"setting__backup_all_export": "导出",
|
||||
@@ -298,16 +300,16 @@
|
||||
"setting__backup_all_import_desc": "选择备份文件",
|
||||
"setting__backup_other": "其他备份格式(目前不支持恢复此类备份文件)",
|
||||
"setting__backup_other_export_dir": "选择文件保存位置",
|
||||
"setting__backup_other_export_list_csv": "导出 CSV 格式的列表",
|
||||
"setting__backup_other_export_list_text": "导出 TXT 格式的列表",
|
||||
"setting__backup_other_export_list_csv": "导出 CSV 格式列表",
|
||||
"setting__backup_other_export_list_text": "导出 TXT 格式列表",
|
||||
"setting__backup_other_export_list_text_confirm": "是否将所有列表合并为一个文件?",
|
||||
"setting__backup_part": "部分数据(列表数据包括试听列表、收藏列表、用户自定义列表,设置数据不包括快捷键设置)",
|
||||
"setting__backup_part": "部分数据(列表数据包括「试听列表」、「我的收藏」和用户自行创建的列表;设置数据不包括快捷键设置)",
|
||||
"setting__backup_part_export_list": "导出列表",
|
||||
"setting__backup_part_export_list_desc": "选择歌单保存位置",
|
||||
"setting__backup_part_export_setting": "导出设置",
|
||||
"setting__backup_part_export_setting_desc": "选择设置保存位置",
|
||||
"setting__backup_part_import_list": "导入列表",
|
||||
"setting__backup_part_import_list_confirm": "备份文件中列表与现有列表ID相同时,现有列表内歌曲将会被覆盖,是否要继续?",
|
||||
"setting__backup_part_import_list_confirm": "备份文件中列表与现有列表 ID 相同时,现有列表内歌曲将会被覆盖,是否要继续?",
|
||||
"setting__backup_part_import_list_desc": "选择列表文件",
|
||||
"setting__backup_part_import_setting": "导入设置",
|
||||
"setting__backup_part_import_setting_desc": "选择配置文件",
|
||||
@@ -318,11 +320,11 @@
|
||||
"setting__basic_control_btn_position_right": "右边",
|
||||
"setting__basic_font": "字体",
|
||||
"setting__basic_font_size": "字体大小",
|
||||
"setting__basic_font_size_14px": "较小",
|
||||
"setting__basic_font_size_14px": "更小",
|
||||
"setting__basic_font_size_15px": "小",
|
||||
"setting__basic_font_size_16px": "标准",
|
||||
"setting__basic_font_size_17px": "大",
|
||||
"setting__basic_font_size_18px": "较大",
|
||||
"setting__basic_font_size_18px": "更大",
|
||||
"setting__basic_font_size_19px": "非常大",
|
||||
"setting__basic_lang": "语言",
|
||||
"setting__basic_lang_title": "软件显示的语言",
|
||||
@@ -330,30 +332,30 @@
|
||||
"setting__basic_playbar_progress_style_full": "全宽",
|
||||
"setting__basic_playbar_progress_style_middle": "中等",
|
||||
"setting__basic_playbar_progress_style_mini": "迷你",
|
||||
"setting__basic_show_animation": "显示切换动画",
|
||||
"setting__basic_source": "音乐来源",
|
||||
"setting__basic_show_animation": "显示动画效果",
|
||||
"setting__basic_source": "自定义源",
|
||||
"setting__basic_source_status_failed": "初始化失败",
|
||||
"setting__basic_source_status_initing": "初始化中",
|
||||
"setting__basic_source_status_initing": "初始化中...",
|
||||
"setting__basic_source_status_success": "初始化成功",
|
||||
"setting__basic_source_temp": "临时接口(软件的某些功能不可用,建议测试接口不可用再使用本接口)",
|
||||
"setting__basic_source_test": "测试接口(几乎软件的所有功能都可用)",
|
||||
"setting__basic_source_user_api_btn": "自定义源管理",
|
||||
"setting__basic_sourcename": "音源名字",
|
||||
"setting__basic_sourcename": "歌曲来源名称",
|
||||
"setting__basic_sourcename_alias": "别名",
|
||||
"setting__basic_sourcename_real": "原名",
|
||||
"setting__basic_sourcename_title": "选择音源名字类型",
|
||||
"setting__basic_sourcename_title": "选择歌曲来源名称类型",
|
||||
"setting__basic_start_in_fullscreen": "以全屏模式启动",
|
||||
"setting__basic_theme": "主题颜色",
|
||||
"setting__basic_theme_auto_tip": "此乃动态主题,你可以预先设置一个亮色主题及暗色主题,此后将根据系统的亮、暗主题色自动切换为你预先设置的相应主题。\n注:鼠标 右击 此主题项即可打开亮、暗色主题设置窗口。",
|
||||
"setting__basic_to_tray": "关闭软件时不退出软件将其最小化到系统托盘",
|
||||
"setting__basic_theme_auto_tip": "此乃动态主题,你可以预先设置一个亮色主题及暗色主题,此后将根据系统的亮、暗主题色自动切换为你预先设置的相应主题。\n\n注:鼠标右击此主题项即可打开亮、暗色主题设置窗口。",
|
||||
"setting__basic_to_tray": "关闭窗口时不退出软件将其最小化到系统托盘",
|
||||
"setting__basic_window_size": "窗口尺寸",
|
||||
"setting__basic_window_size_big": "大",
|
||||
"setting__basic_window_size_huge": "巨大",
|
||||
"setting__basic_window_size_larger": "较大",
|
||||
"setting__basic_window_size_larger": "更大",
|
||||
"setting__basic_window_size_medium": "中",
|
||||
"setting__basic_window_size_oversized": "超大",
|
||||
"setting__basic_window_size_small": "小",
|
||||
"setting__basic_window_size_smaller": "较小",
|
||||
"setting__basic_window_size_smaller": "更小",
|
||||
"setting__basic_window_size_title": "设置软件窗口尺寸",
|
||||
"setting__click_copy": "点击复制",
|
||||
"setting__click_open": "点击打开",
|
||||
@@ -363,7 +365,8 @@
|
||||
"setting__desktop_lyric_align_left": "居左",
|
||||
"setting__desktop_lyric_align_right": "居右",
|
||||
"setting__desktop_lyric_always_on_top": "使歌词总是在其他窗口之上",
|
||||
"setting__desktop_lyric_always_on_top_loop": "自动刷新歌词置顶(当歌词置顶后仍被某些程序遮挡时可尝试启用此设置)",
|
||||
"setting__desktop_lyric_always_on_top_loop": "自动刷新歌词置顶",
|
||||
"setting__desktop_lyric_always_on_top_loop_tip": "当歌词置顶后仍被某些程序遮挡时可尝试启用此选项",
|
||||
"setting__desktop_lyric_audio_visualization": "音频可视化(实验性)",
|
||||
"setting__desktop_lyric_color": "歌词字体颜色",
|
||||
"setting__desktop_lyric_color_reset": "重置颜色",
|
||||
@@ -376,13 +379,18 @@
|
||||
"setting__desktop_lyric_font": "歌词字体",
|
||||
"setting__desktop_lyric_font_default": "默认",
|
||||
"setting__desktop_lyric_font_weight": "加粗字体",
|
||||
"setting__desktop_lyric_font_weight_extended": "翻译、罗马音歌词",
|
||||
"setting__desktop_lyric_font_weight_font": "逐字歌词",
|
||||
"setting__desktop_lyric_font_weight_line": "逐行歌词",
|
||||
"setting__desktop_lyric_fullscreen_hide": "全屏时自动关闭歌词",
|
||||
"setting__desktop_lyric_hover_hide": "鼠标移入歌词区域时降低歌词透明度(此功能存在平台兼容性问题)",
|
||||
"setting__desktop_lyric_hover_hide": "鼠标移入歌词区域时提高歌词透明度",
|
||||
"setting__desktop_lyric_hover_hide_tip": "此功能存在平台兼容性问题,在某些平台上可能会出现预料外的问题",
|
||||
"setting__desktop_lyric_line_gap": "歌词间距({num})",
|
||||
"setting__desktop_lyric_line_gap_add": "加大间距",
|
||||
"setting__desktop_lyric_line_gap_dec": "减小间距",
|
||||
"setting__desktop_lyric_lock": "锁定歌词",
|
||||
"setting__desktop_lyric_lock_screen": "不允许歌词窗口拖出主屏幕之外",
|
||||
"setting__desktop_lyric_pause_hide": "暂停时提高歌词透明度",
|
||||
"setting__desktop_lyric_played_color": "已播放颜色",
|
||||
"setting__desktop_lyric_reset": "重置",
|
||||
"setting__desktop_lyric_reset_window": "重置窗口设置",
|
||||
@@ -390,30 +398,35 @@
|
||||
"setting__desktop_lyric_scroll_align_center": "中心",
|
||||
"setting__desktop_lyric_scroll_align_top": "顶部",
|
||||
"setting__desktop_lyric_shadow_color": "阴影颜色",
|
||||
"setting__desktop_lyric_show_taskbar": "在任务栏显示歌词进程(此设置用于在录屏软件无法捕获歌词窗口时的变通解决方法)",
|
||||
"setting__desktop_lyric_show_taskbar": "在任务栏显示歌词进程",
|
||||
"setting__desktop_lyric_show_taskbar_tip": "此选项作为在录屏软件无法捕获歌词窗口时的变通解决方法",
|
||||
"setting__desktop_lyric_unplay_color": "未播放颜色",
|
||||
"setting__dislike_list_input_tip": "歌曲名@歌手名\n歌曲名\n@歌手名",
|
||||
"setting__dislike_list_input_tip": "歌曲名@艺术家\n歌曲名\n@艺术家",
|
||||
"setting__dislike_list_save_btn": "保存",
|
||||
"setting__dislike_list_tips": "1. 每条一行,若歌曲或者歌手名字中存在“@”符号,需要将其替换成“#”\n2. 指定某歌手的某首歌:歌曲名@歌手名\n3. 指定某首歌:歌曲名\n4. 指定某歌手:@歌手名",
|
||||
"setting__dislike_list_title": "不喜欢的歌曲规则列表",
|
||||
"setting__dislike_list_tips": "1. 每条一行,若歌曲或者艺术家名字中存在「@」符号,需要将其替换成「#」\n2. 指定某艺术家的某首歌:歌曲名@艺术家\n3. 指定某首歌:歌曲名\n4. 指定某艺术家:@艺术家",
|
||||
"setting__dislike_list_title": "「不喜欢的歌曲」规则列表",
|
||||
"setting__download": "下载设置",
|
||||
"setting__download_data_embed": "是否将以下内容嵌入到音频文件中",
|
||||
"setting__download_embed_lyric": "歌词嵌入",
|
||||
"setting__download_embed_pic": "封面嵌入",
|
||||
"setting__download_data_embed": "嵌入到音频文件中的内容",
|
||||
"setting__download_embed_lxlyric": "同时嵌入 LX Music 歌词(如果有,使用 LX Music 播放时可支持逐字歌词)",
|
||||
"setting__download_embed_lyric": "嵌入歌词",
|
||||
"setting__download_embed_pic": "嵌入封面",
|
||||
"setting__download_embed_rlyric": "同时嵌入罗马音歌词(如果有)",
|
||||
"setting__download_embed_tlyric": "同时嵌入翻译歌词(如果有)",
|
||||
"setting__download_enable": "是否启用下载功能",
|
||||
"setting__download_enable": "启用下载功能",
|
||||
"setting__download_lxlyric": "同时将 LX Music 歌词写入歌词文件中(如果有,使用 LX Music 播放时可支持逐字歌词)",
|
||||
"setting__download_lyric": "歌词下载",
|
||||
"setting__download_lyric_format": "下载的歌词文件编码格式",
|
||||
"setting__download_lyric_format_gbk": "GBK(在某些设备上出现中文乱码时可尝试选择此格式)",
|
||||
"setting__download_lyric_format_gbk": "GBK",
|
||||
"setting__download_lyric_format_tip": "在某些设备上出现中文乱码时可尝试选择 GBK 格式",
|
||||
"setting__download_lyric_format_utf8": "UTF-8",
|
||||
"setting__download_lyric_title": "是否同时下载歌词文件",
|
||||
"setting__download_max_num": "同时下载任务数(设置过大可能会导致 IP 被封,这取决于音源)",
|
||||
"setting__download_max_num_tip": "过大的同时下载数量可能会导致你的 IP 被音源封禁,是否确认修改?",
|
||||
"setting__download_lyric_title": "同时下载歌词文件",
|
||||
"setting__download_max_num": "同时下载任务数",
|
||||
"setting__download_max_num_tip": "过大的同时下载数量可能会导致你的 IP 被自定义源封禁,是否确认修改?",
|
||||
"setting__download_max_num_tooltip": "设置过大可能会导致 IP 被封,这取决于自定义源",
|
||||
"setting__download_name": "文件命名方式",
|
||||
"setting__download_name1": "歌名 - 歌手",
|
||||
"setting__download_name2": "歌手 - 歌名",
|
||||
"setting__download_name3": "歌名",
|
||||
"setting__download_name1": "歌曲名 - 艺术家",
|
||||
"setting__download_name2": "艺术家 - 歌曲名",
|
||||
"setting__download_name3": "歌曲名",
|
||||
"setting__download_name_title": "下载歌曲时的命名方式",
|
||||
"setting__download_path": "下载路径",
|
||||
"setting__download_path_change_btn": "更改",
|
||||
@@ -422,10 +435,10 @@
|
||||
"setting__download_path_title": "下载歌曲保存的路径",
|
||||
"setting__download_rlyric": "同时将罗马音歌词写入歌词文件中(如果有)",
|
||||
"setting__download_select_save_path": "选择歌曲保存路径",
|
||||
"setting__download_skip_exist_file": "下载目录存在同名的文件时跳过下载此任务",
|
||||
"setting__download_skip_exist_file": "下载目录存在同名文件时跳过下载此任务",
|
||||
"setting__download_tlyric": "同时将翻译歌词写入歌词文件中(如果有)",
|
||||
"setting__download_use_other_source": "自动换源下载",
|
||||
"setting__download_use_other_source_tip": "当无法从歌曲的原始源下载时,尝试切换到其他源下载,注:此功能不100%保证换源后的歌曲版本与原版一致",
|
||||
"setting__download_use_other_source_tip": "当无法从歌曲的原始来源下载时,尝试切换到其他来源下载。\n注:此功能不 100% 保证换源后的歌曲版本与原版一致。",
|
||||
"setting__hot_key": "快捷键设置",
|
||||
"setting__hot_key_common_focus_search_input": "聚焦搜索框",
|
||||
"setting__hot_key_common_min": "最小化程序",
|
||||
@@ -442,54 +455,56 @@
|
||||
"setting__hot_key_player_music_unlove": "取消收藏",
|
||||
"setting__hot_key_player_next": "下一首歌曲",
|
||||
"setting__hot_key_player_prev": "上一首歌曲",
|
||||
"setting__hot_key_player_seekbackward": "快退 5s",
|
||||
"setting__hot_key_player_seekforward": "快进 5s",
|
||||
"setting__hot_key_player_toggle_play": "播放/暂停控制",
|
||||
"setting__hot_key_player_volume_down": "减少音量",
|
||||
"setting__hot_key_player_volume_mute": "静音切换",
|
||||
"setting__hot_key_player_volume_up": "增加音量",
|
||||
"setting__hot_key_tip_input": "请输入新的按键",
|
||||
"setting__hot_key_unset_input": "未设置",
|
||||
"setting__is_enable": "是否启用",
|
||||
"setting__is_show": "是否显示",
|
||||
"setting__is_enable": "启用",
|
||||
"setting__is_show": "显示",
|
||||
"setting__list": "列表设置",
|
||||
"setting__list_action_btn": "显示列表操作按钮",
|
||||
"setting__list_add_music_location_type": "添加歌曲到列表时的位置",
|
||||
"setting__list_add_music_location_type_bottom": "底部",
|
||||
"setting__list_add_music_location_type_top": "顶部",
|
||||
"setting__list_click_action": "双击列表里的歌曲时自动切换到当前列表播放(仅对歌单、排行榜有效)",
|
||||
"setting__list_scroll": "记住播放列表滚动条位置(仅对我的音乐分类有效)",
|
||||
"setting__list_source": "显示歌曲源(仅对我的音乐分类有效)",
|
||||
"setting__list_click_action": "双击列表里的歌曲时自动切换到当前列表播放(仅对「歌单」和「排行榜」有效)",
|
||||
"setting__list_scroll": "记住播放列表滚动条位置(仅对「我的列表」有效)",
|
||||
"setting__list_source": "显示歌曲来源平台(仅对「我的列表」有效)",
|
||||
"setting__network": "网络设置",
|
||||
"setting__network_proxy_host": "主机",
|
||||
"setting__network_proxy_password": "密码",
|
||||
"setting__network_proxy_port": "端口",
|
||||
"setting__network_proxy_title": "HTTP代理设置(乱设置软件将无法联网)",
|
||||
"setting__network_proxy_title": "HTTP 代理设置(乱设置软件将无法联网)",
|
||||
"setting__network_proxy_username": "用户名",
|
||||
"setting__odc": "强迫症设置",
|
||||
"setting__odc_clear_search_input": "离开搜索界面时清空搜索框",
|
||||
"setting__odc_clear_search_list": "离开搜索界面时清空搜索列表",
|
||||
"setting__open_api": "开放API",
|
||||
"setting__open_api": "开放 API",
|
||||
"setting__open_api_address": "服务地址:",
|
||||
"setting__open_api_bind_lan": "允许来自局域网的访问",
|
||||
"setting__open_api_enable": "启用开放API服务",
|
||||
"setting__open_api_enable": "启用开放 API 服务",
|
||||
"setting__open_api_port": "服务端口",
|
||||
"setting__open_api_port_tip": "请输入开放API服务端口",
|
||||
"setting__open_api_tip": "该功能用于为第三方软件提供调用LX Music的能力,目前可用的功能可以看:",
|
||||
"setting__open_api_port_tip": "请输入开放 API 服务端口",
|
||||
"setting__open_api_tip": "该功能用于为第三方软件提供调用 LX Music 的能力,目前可用的功能可以看:",
|
||||
"setting__open_api_tip_link": "接入文档",
|
||||
"setting__other": "其他",
|
||||
"setting__other_dislike_list": "不喜欢的歌曲规则",
|
||||
"setting__other_dislike_list": "「不喜欢的歌曲」规则",
|
||||
"setting__other_dislike_list_label": "规则数量:",
|
||||
"setting__other_dislike_list_show_btn": "编辑不喜欢歌曲规则",
|
||||
"setting__other_dislike_list_show_btn": "编辑规则",
|
||||
"setting__other_listdata": "列表数据清理",
|
||||
"setting__other_listdata_clear_btn": "清空我的列表数据",
|
||||
"setting__other_listdata_clear_tip_confirm": "这将清理你创建的 所有列表 及收藏的 所有歌曲,是否真的要继续?",
|
||||
"setting__other_listdata_clear_btn": "清空「我的列表」数据",
|
||||
"setting__other_listdata_clear_tip_confirm": "这将清理你创建的「所有列表」及收藏的「所有歌曲」,是否真的要继续?",
|
||||
"setting__other_lyric_edited_cache": "已调整过偏移时间的歌词管理",
|
||||
"setting__other_lyric_edited_clear_btn": "清理已调整过时间的歌词",
|
||||
"setting__other_lyric_edited_clear_tip_confirm": "这将清理所有你之前已调整过偏移时间的歌词,是否确认清理?(手抖确认🤪)",
|
||||
"setting__other_lyric_edited_label": "歌词数量:",
|
||||
"setting__other_lyric_raw_clear_btn": "清理歌词缓存",
|
||||
"setting__other_lyric_raw_label": "歌词数量:",
|
||||
"setting__other_music_url_clear_btn": "清理歌曲URL缓存",
|
||||
"setting__other_music_url_label": "歌曲URL数量:",
|
||||
"setting__other_music_url_clear_btn": "清理歌曲 URL 缓存",
|
||||
"setting__other_music_url_label": "歌曲 URL 数量:",
|
||||
"setting__other_other_cache": "其他缓存管理",
|
||||
"setting__other_other_source_clear_btn": "清理换源歌曲缓存",
|
||||
"setting__other_other_source_label": "换源歌曲信息数量:",
|
||||
@@ -497,59 +512,63 @@
|
||||
"setting__other_resource_cache_clear_btn": "清理资源缓存",
|
||||
"setting__other_resource_cache_confirm": "我要清掉",
|
||||
"setting__other_resource_cache_label": "软件已使用缓存大小:",
|
||||
"setting__other_resource_cache_tip": "图片、音频等缓存,清理后图片等资源将需要重新下载,不建议清理,软件会根据磁盘空间动态管理缓存大小",
|
||||
"setting__other_resource_cache_tip_confirm": "涉及图片、音频等缓存,清理后图片等资源将需要重新下载,不建议清理,软件会根据磁盘空间动态管理缓存大小,是否仍要清理?",
|
||||
"setting__other_resource_cache_tip": "包括图片、音频等缓存,清理后这些资源将需要重新下载,不建议清理,软件会根据磁盘空间动态管理缓存大小",
|
||||
"setting__other_resource_cache_tip_confirm": "涉及图片、音频等缓存,清理后这些资源将需要重新下载,不建议清理,软件会根据磁盘空间动态管理缓存大小,是否仍要清理?",
|
||||
"setting__other_transparent_window": "主窗口使用软件内置的圆角及阴影",
|
||||
"setting__other_transparent_window_tip": "关闭后将使用系统原生窗口样式。更改后重启软件生效。",
|
||||
"setting__other_tray_theme": "托盘图标样式",
|
||||
"setting__other_tray_theme_auto": "跟随系统亮暗模式",
|
||||
"setting__other_tray_theme_black": "黑色",
|
||||
"setting__other_tray_theme_native": "白色",
|
||||
"setting__other_tray_theme_origin": "原色",
|
||||
"setting__play": "播放设置",
|
||||
"setting__play_advanced_audio_features_tip": "自定义音频输出设备与该功能冲突,启用该功能后音频输出设备将会被重置为默认的输出设备,目前此问题暂无法解决,是否仍要开启?",
|
||||
"setting__play_auto_clean_played_list": "点击与播放列表相同的列表切歌时是否清空已播放列表(随机模式下列表内所有歌曲会重新参与随机)",
|
||||
"setting__play_advanced_audio_features_tip": "自定义音频输出设备与该功能冲突,启用该功能后音频输出设备将会被重置为默认,目前此问题暂无法解决。是否仍要开启?",
|
||||
"setting__play_auto_clean_played_list": "点击与播放列表相同的列表切歌时清空已播放列表",
|
||||
"setting__play_auto_clean_played_list_tip": "随机模式下列表内所有歌曲会重新参与随机",
|
||||
"setting__play_auto_skip_on_error": "播放错误时自动切换歌曲",
|
||||
"setting__play_detail": "播放详情页设置",
|
||||
"setting__play_detail_align": "歌词对齐方式",
|
||||
"setting__play_detail_align_center": "居中",
|
||||
"setting__play_detail_align_left": "居左",
|
||||
"setting__play_detail_align_right": "居右",
|
||||
"setting__play_detail_font_size": "歌词字体大小(可以在播放详情页使用键盘的 + - 调整字体大小)",
|
||||
"setting__play_detail_font_size": "歌词字体大小(可以在播放详情页使用键盘的「+」「-」调整字体大小)",
|
||||
"setting__play_detail_font_size_current": "当前字体大小:{size}",
|
||||
"setting__play_detail_font_size_reset": "重置",
|
||||
"setting__play_detail_font_zoom": "缩放当前正在播放的歌词",
|
||||
"setting__play_detail_lyric_delay_scroll": "延迟歌词滚动",
|
||||
"setting__play_detail_lyric_progress": "允许通过歌词调整播放进度",
|
||||
"setting__play_lyric_lxlrc": "使用卡拉OK式歌词播放(如果可用,此功能比较耗性能,低配置电脑不建议开启)",
|
||||
"setting__play_detail_lyric_progress": "允许通过拖拽歌词调整播放进度",
|
||||
"setting__play_lyric_lxlrc": "使用卡拉 OK 式歌词播放(如果可用)",
|
||||
"setting__play_lyric_lxlrc_tip": "此功能比较耗性能,低配置电脑不建议开启!",
|
||||
"setting__play_lyric_roma": "显示歌词罗马音(如果可用)",
|
||||
"setting__play_lyric_s2t": "将播放与下载的歌词转换为繁体中文",
|
||||
"setting__play_lyric_s2t": "将播放与下载的中文歌词转换为繁体",
|
||||
"setting__play_lyric_transition": "显示歌词翻译(如果可用)",
|
||||
"setting__play_max_output_channel_count": "使用设备能处理的最大声道数输出音频",
|
||||
"setting__play_mediaDevice": "音频输出",
|
||||
"setting__play_mediaDevice_remove_stop_play": "当前的声音输出设备被改变时暂停播放歌曲",
|
||||
"setting__play_mediaDevice_title": "选择声音输出的媒体设备",
|
||||
"setting__play_media_device_error_tip": "此功能与高级音频功能(音频可视化、音效设置、使用设备能处理的最大声道数输出音频功能)冲突,你本次启动软件时已启用这些功能,此设置暂不可用,请 关闭这些功能 并 重启 软件后,再来修改此设置。",
|
||||
"setting__play_media_device_tip": "此功能与音频可视化功能冲突,两者无法同时启用,是否将音频可视化关闭 并 应用所选音频输出设置?",
|
||||
"setting__play_media_device_error_tip": "此功能与高级音频功能(音频可视化、音效设置、使用设备能处理的最大声道数输出音频功能)冲突。你本次启动软件时已启用这些功能,此选项暂不可用。请关闭这些功能并重启软件后,再修改此选项!",
|
||||
"setting__play_media_device_tip": "此功能与音频可视化功能冲突,两者无法同时启用。是否关闭「音频可视化」并应用所选音频输出设置?",
|
||||
"setting__play_playQuality": "优先播放的音质(如果可用)",
|
||||
"setting__play_power_save_blocker": "播放歌曲时阻止电脑休眠",
|
||||
"setting__play_save_play_time": "记住播放进度",
|
||||
"setting__play_startup_auto_play": "启动软件后自动播放音乐",
|
||||
"setting__play_statusbar_lyric": "在状态栏显示歌词(需要启用托盘)",
|
||||
"setting__play_statusbar_lyric": "在菜单栏的状态菜单显示歌词",
|
||||
"setting__play_statusbar_lyric_tip": "需要在「设置 → 基本设置」启用「关闭窗口时不退出软件将其最小化到系统托盘」。",
|
||||
"setting__play_task_bar": "在任务栏上显示当前歌曲播放进度",
|
||||
"setting__play_timeout": "定时暂停",
|
||||
"setting__player_audio_visualization_tip": "自定义音频输出设备与音频可视化功能会冲突,启用了音频可视化后音频输出设备将会被重置为默认的输出设备,目前此问题暂无法解决,是否仍要开启?",
|
||||
"setting__player_audio_visualization_tip": "自定义音频输出设备与音频可视化功能冲突,启用「音频可视化」后音频输出设备将会被重置为默认,目前此问题暂无法解决。是否仍要开启?",
|
||||
"setting__player_swap_lyric_trans_roma": "调换歌词翻译与歌词罗马音位置",
|
||||
"setting__search": "搜索设置",
|
||||
"setting__search_focus_search_box": "启动时自动聚焦搜索框",
|
||||
"setting__search_history": "显示历史搜索记录",
|
||||
"setting__search_hot": "显示热门搜索",
|
||||
"setting__setting__desktop_lyric_font_weight_extended": "翻译、罗马音歌词",
|
||||
"setting__setting__desktop_lyric_font_weight_font": "逐字歌词",
|
||||
"setting__setting__desktop_lyric_font_weight_line": "逐行歌词",
|
||||
"setting__sync": "数据同步",
|
||||
"setting__sync_client_address": "当前设备地址:{address}",
|
||||
"setting__sync_client_host": "同步服务地址",
|
||||
"setting__sync_client_host_tip": "http://IP地址:端口号",
|
||||
"setting__sync_client_host_tip": "http://<IP 地址>:<端口号>",
|
||||
"setting__sync_client_mode": "客户端模式",
|
||||
"setting__sync_client_status": "状态:{status}",
|
||||
"setting__sync_code_blocked_ip": "当前设备的IP已被服务端封禁!",
|
||||
"setting__sync_code_blocked_ip": "当前设备的 IP 已被服务端封禁!",
|
||||
"setting__sync_code_fail": "连接码无效",
|
||||
"setting__sync_enable": "启用同步功能",
|
||||
"setting__sync_mode": "同步模式",
|
||||
@@ -568,7 +587,7 @@
|
||||
"setting__sync_server_port_tip": "请输入同步服务端口号",
|
||||
"setting__sync_server_refresh_code": "刷新连接码",
|
||||
"setting__sync_server_show_device_list": "已认证设备列表",
|
||||
"setting__sync_tip": "使用方式请看常见问题“同步功能”部分",
|
||||
"setting__sync_tip": "使用方式请看常见问题「同步功能」部分",
|
||||
"setting__update": "软件更新",
|
||||
"setting__update_checking": "检查更新中...",
|
||||
"setting__update_commit_date": "提交日期:",
|
||||
@@ -584,18 +603,19 @@
|
||||
"setting__update_show_change_log": "更新版本后的首次启动时显示更新日志",
|
||||
"setting__update_try_auto_update": "发现新版本时尝试自动下载更新",
|
||||
"setting__update_unknown": "未知",
|
||||
"setting__update_unknown_tip": "❓ 获取最新版本信息失败,建议去关于界面打开项目发布地址查看当前版本是否最新",
|
||||
"setting__update_unknown_tip": "❓ 获取最新版本信息失败,建议去「关于」页面打开项目发布地址查看当前版本是否最新",
|
||||
"setting_download_save_group_list_name": "将文件保存到以对应列表命名的子目录中",
|
||||
"setting_sync_status_enabled": "已连接",
|
||||
"song_list": "歌单",
|
||||
"songlist__import_input_btn_confirm": "打开",
|
||||
"songlist__import_input_show_btn": "打开歌单",
|
||||
"songlist__import_input_tip": "输入歌单链接或歌单ID",
|
||||
"songlist__import_input_tip_1": "不支持跨源打开歌单,请确认要打开的歌单与当前歌单源是否对应",
|
||||
"songlist__import_input_tip": "输入歌单链接或歌单 ID",
|
||||
"songlist__import_input_tip_1": "不支持跨源打开歌单,请确认要打开的歌单与当前选择的歌单来源是否对应",
|
||||
"songlist__import_input_tip_2": "若遇到无法打开的歌单链接,欢迎反馈",
|
||||
"songlist__import_input_tip_3": "酷狗源不支持用歌单ID打开,但支持酷狗码打开",
|
||||
"songlist__import_input_tip_4": "网易源的“我喜欢”歌单需要 Token 才能打开,详情看 ",
|
||||
"songlist__import_input_tip_3": "酷狗源歌单不支持用歌单 ID 或概念版链接打开,但支持用普通版链接或酷狗码打开",
|
||||
"songlist__import_input_tip_4": "网易源的「我喜欢」歌单需要 Token 才能打开,详情看 ",
|
||||
"songlist__import_input_title": "打开分享的歌单",
|
||||
"songlist__open_list": "打开{name}歌单",
|
||||
"songlist__open_list": "打开「{name}」歌单",
|
||||
"songlist__tag_info_hot_tag": "热门标签",
|
||||
"source_alias_all": "聚合大会",
|
||||
"source_alias_bd": "小杜音乐",
|
||||
@@ -616,24 +636,24 @@
|
||||
"sync__auth_code_input_tip": "请输入连接码",
|
||||
"sync__auth_code_title": "需要输入连接码",
|
||||
"sync__dislike_merge_tip_desc": "合并两边列表内容并去重",
|
||||
"sync__dislike_other_tip_desc": "“取消同步”将不使用不喜欢列表同步功能",
|
||||
"sync__dislike_other_tip_desc": "「取消同步」将不使用「不喜欢的歌曲」列表同步功能",
|
||||
"sync__dislike_overwrite_tip_desc": "被覆盖者的列表将被替换成覆盖者的列表",
|
||||
"sync__dislike_title": "选择与 {name} 的不喜欢列表同步方式",
|
||||
"sync__dislike_title": "选择与「{name}」的「不喜欢的歌曲」列表同步方式",
|
||||
"sync__list_merge_tip_desc": "将两边的列表合并到一起,相同的歌曲将被去掉(去掉的是被合并者的歌曲),不同的歌曲将被添加。",
|
||||
"sync__list_other_tip_desc": "“取消同步”将不使用列表同步功能。",
|
||||
"sync__list_overwrite_tip_desc": "被覆盖者与覆盖者列表ID相同的列表将被删除后替换成覆盖者的列表(列表ID不同的列表将被合并到一起),若勾选完全覆盖,则被覆盖者的所有列表将被移除,然后替换成覆盖者的列表。",
|
||||
"sync__list_title": "选择与 {name} 的列表同步方式",
|
||||
"sync__merge_btn_local_remote": "本机列表 合并 远程列表",
|
||||
"sync__merge_btn_remote_local": "远程列表 合并 本机列表",
|
||||
"sync__list_other_tip_desc": "「取消同步」将不使用列表同步功能。",
|
||||
"sync__list_overwrite_tip_desc": "被覆盖者与覆盖者列表 ID 相同的列表将被移除后替换成覆盖者的列表(列表 ID 不同的列表将被合并到一起)。若勾选「完全覆盖」,则被覆盖者的所有列表将被移除,然后替换成覆盖者的列表。",
|
||||
"sync__list_title": "选择与「{name}」的列表同步方式",
|
||||
"sync__merge_btn_local_remote": "「本机列表」合并「远程列表」",
|
||||
"sync__merge_btn_remote_local": "「远程列表」合并「本机列表」",
|
||||
"sync__merge_label": "合并",
|
||||
"sync__merge_tip": "合并:",
|
||||
"sync__merge_tip": "合并:",
|
||||
"sync__other_label": "其他",
|
||||
"sync__other_tip": "其他:",
|
||||
"sync__other_tip": "其他:",
|
||||
"sync__overwrite": "完全覆盖",
|
||||
"sync__overwrite_btn_cancel": "取消同步",
|
||||
"sync__overwrite_btn_local_remote": "本机列表 覆盖 远程列表",
|
||||
"sync__overwrite_btn_local_remote": "「本机列表」覆盖「远程列表」",
|
||||
"sync__overwrite_btn_none": "仅使用实时同步功能",
|
||||
"sync__overwrite_btn_remote_local": "远程列表 覆盖 本机列表",
|
||||
"sync__overwrite_btn_remote_local": "「远程列表」覆盖「本机列表」",
|
||||
"sync__overwrite_label": "覆盖",
|
||||
"sync__overwrite_tip": "覆盖:",
|
||||
"sync_status_disabled": "未连接",
|
||||
@@ -642,7 +662,7 @@
|
||||
"tag__lossless_24bit": "24bit",
|
||||
"theme_add": "添加主题",
|
||||
"theme_auto": "道法自然",
|
||||
"theme_auto_tip": "鼠标 右击 可打开亮、暗主题设置窗口",
|
||||
"theme_auto_tip": "鼠标右击可打开亮、暗主题设置窗口",
|
||||
"theme_black": "黑灯瞎火",
|
||||
"theme_blue": "蓝田生玉",
|
||||
"theme_blue2": "清热版蓝",
|
||||
@@ -673,15 +693,16 @@
|
||||
"theme_edit_modal__pick_save": "确认",
|
||||
"theme_edit_modal__preview": "预览主题",
|
||||
"theme_edit_modal__primary": "主题色",
|
||||
"theme_edit_modal__remove": "删除",
|
||||
"theme_edit_modal__remove": "移除",
|
||||
"theme_edit_modal__remove_tip": "是否真的要移除这个主题?",
|
||||
"theme_edit_modal__save_new": "另存",
|
||||
"theme_edit_modal__select_bg_file": "选择背景图片",
|
||||
"theme_edit_modal__title": "编辑主题",
|
||||
"theme_edit_modal__title_add": "添加主题",
|
||||
"theme_edit_modal__title_edit": "编辑主题",
|
||||
"theme_green": "绿意盎然",
|
||||
"theme_grey": "灰常美丽",
|
||||
"theme_happy_new_year": "新年快乐",
|
||||
"theme_max_tip": "最多只能添加10个主题哦,删掉一些再添加吧 😜 ",
|
||||
"theme_max_tip": "最多只能添加 10 个主题哦,删掉一些再添加吧😜",
|
||||
"theme_mid_autumn": "月里嫦娥",
|
||||
"theme_ming": "青出于黑",
|
||||
"theme_more_btn_show": "更多主题",
|
||||
@@ -695,29 +716,29 @@
|
||||
"theme_selector_modal__theme_name": "主题名称",
|
||||
"theme_selector_modal__title": "跟随系统主题设置",
|
||||
"theme_selector_modal__title_tip": "注:你可以预先设置一个亮色主题及暗色主题,此后将根据系统的亮、暗主题色自动切换为你预先设置的相应主题。",
|
||||
"toggle_source_failed": "换源失败,请尝试手动在其他源搜索该歌曲播放",
|
||||
"toggle_source_try": "尝试切换到其他源...",
|
||||
"update__downgrade_tip": "我们发现你降级了版本({ver}),若使用新版本时遇到问题,请先尝试阅读常见问题解决,若你遇到的问题在常见问题中未记录或无法解决,可以通过文档中提到的反馈渠道给我们反馈😘!\n注意:从新版本降级旧版时建议先备份歌单,若出现异常则可通过清理数据解决,数据目录路径文档有记录。",
|
||||
"update__error_top": "自动下载新版本失败,你可以尝试重新下载更新或者手动去下载更新,\n新版地址在更新弹窗下面有写,下载新版直接覆盖安装即可,若安装失败则看常见问题解决,\n注意:目前只有Windows安装版可以自动更新(Linux的AppImage、deb版似乎也可以,未测试),其他版本请手动下载更新!",
|
||||
"toggle_source_failed": "换源失败,请尝试手动在搜索页指定其他来源搜索该歌曲播放",
|
||||
"toggle_source_try": "尝试切换到其他来源...",
|
||||
"update__downgrade_tip": "我们发现你降级了版本({ver}),若使用新版本时遇到问题,请先尝试阅读常见问题解决,若你遇到的问题在常见问题中未记录或无法解决,可以通过文档中提到的反馈渠道给我们反馈😘!\n\n注意:从新版本降级旧版时建议先备份歌单,若出现异常则可通过清理数据解决,数据目录路径文档有记录。",
|
||||
"update__error_top": "自动下载新版本失败,你可以尝试重新下载更新或者手动去下载更新。\n\n新版地址在更新弹窗下面有写,下载新版直接覆盖安装即可,若安装失败则看常见问题解决。\n\n注意:目前只有 Windows 安装版可以自动更新(Linux 的 AppImage、deb 版似乎也可以,未测试),其他版本请手动下载更新!",
|
||||
"update__ignore_cancel": "我就不想更新🤨",
|
||||
"update__ignore_confirm": "好 去更新看看❤️",
|
||||
"update__ignore_confirm_tip": "目前只有Windows安装版可以自动更新(Linux的AppImage、deb版似乎也可以,未测试),其他版本请手动下载更新,\n新版地址在更新弹窗下面有写,下载新版直接覆盖安装即可,若安装失败看常见问题解决。",
|
||||
"update__ignore_confirm_tip_confirm": "OK 已了解",
|
||||
"update__ignore_tip": "你现在使用的版本距离最新版本已经落后了 {num} 个版本🤪,为了更好的使用体验,建议更新到最新版本哦~!\n注:若使用新版本时遇到问题,请先尝试阅读常见问题解决,若你遇到的问题在常见问题中未记录或无法解决,可以通过文档中提到的反馈渠道给我们反馈😘!",
|
||||
"update__timeout_top": "下载时间过长提示\n\n你当前所在网络访问GitHub较慢,新版本已经下了一个钟了还没完成😳,你仍可选择继续等,但墙裂建议手动更新版本!",
|
||||
"update__ignore_confirm": "好,去更新看看❤️",
|
||||
"update__ignore_confirm_tip": "目前只有 Windows 安装版可以自动更新(Linux 的 AppImage、deb 版似乎也可以,未测试),其他版本请手动下载更新,\n新版地址在更新弹窗下面有写,下载新版直接覆盖安装即可,若安装失败看常见问题解决。",
|
||||
"update__ignore_confirm_tip_confirm": "OK,已了解",
|
||||
"update__ignore_tip": "你现在使用的版本距离最新版本已经落后了 {num} 个版本🤪,为了更好的使用体验,建议更新到最新版本哦~!\n\n注:若使用新版本时遇到问题,请先尝试阅读常见问题解决,若你遇到的问题在常见问题中未记录或无法解决,可以通过文档中提到的反馈渠道给我们反馈😘!",
|
||||
"update__timeout_top": "下载时间过长提示\n\n你当前所在网络访问 GitHub 较慢,新版本已经下了一个钟了还没完成😳,你仍可选择继续等,但墙裂建议手动更新版本!",
|
||||
"user_api__allow_show_update_alert": "允许显示更新弹窗",
|
||||
"user_api__btn_export": "导出",
|
||||
"user_api__btn_import": "本地导入",
|
||||
"user_api__btn_import_online": "在线导入",
|
||||
"user_api__btn_remove": "移除",
|
||||
"user_api__import_file": "选择音乐API脚本文件",
|
||||
"user_api__init_failed_alert": "自定义源 [{name}] 初始化失败:",
|
||||
"user_api__max_tip": "最多只能同时存在20个源哦🤪\n想要继续导入的话,请先移除一些旧的源腾出位置吧",
|
||||
"user_api__noitem": "这里竟然是空的 😲",
|
||||
"user_api__import_file": "选择自定义源 API 脚本文件",
|
||||
"user_api__init_failed_alert": "自定义源「{name}」初始化失败:",
|
||||
"user_api__max_tip": "最多只能同时存在 20 个源哦🤪\n想要继续导入的话,请先移除一些旧的源腾出位置吧",
|
||||
"user_api__noitem": "这里竟然是空的😲",
|
||||
"user_api__note": "提示:虽然我们已经尽可能地隔离了脚本的运行环境,但导入包含恶意行为的脚本仍可能会影响你的系统,请谨慎导入。",
|
||||
"user_api__readme": "源编写说明:",
|
||||
"user_api__title": "自定义源管理",
|
||||
"user_api__update_alert": "自定义源 [{name}] 发现新版本:",
|
||||
"user_api__update_alert": "自定义源「{name}」发现新版本:",
|
||||
"user_api__update_alert_open_url": "打开更新地址",
|
||||
"user_api_import__failed": "自定义源导入失败:\n{message}",
|
||||
"user_api_import_online__input_confirm": "导入",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -2,7 +2,7 @@ import path from 'node:path'
|
||||
import { existsSync, mkdirSync, renameSync } from 'fs'
|
||||
import { app, shell, screen, nativeTheme, dialog } from 'electron'
|
||||
import { URL_SCHEME_RXP } from '@common/constants'
|
||||
import { getTheme, initHotKey, initSetting, parseEnvParams } from './utils'
|
||||
import { getProxy, getTheme, initHotKey, initSetting, parseEnvParams } from './utils'
|
||||
import { navigationUrlWhiteList } from '@common/config'
|
||||
import defaultSetting from '@common/defaultSetting'
|
||||
import { isExistWindow as isExistMainWindow, showWindow as showMainWindow } from './modules/winMain'
|
||||
@@ -11,9 +11,12 @@ import { isMac, log } from '@common/utils'
|
||||
import createWorkers from './worker'
|
||||
import { migrateDBData } from './utils/migrate'
|
||||
import { openDirInExplorer } from '@common/utils/electron'
|
||||
import { setProxyByHost } from '@common/utils/request'
|
||||
|
||||
export const initGlobalData = () => {
|
||||
const envParams = parseEnvParams()
|
||||
// envParams.cmdParams.dt = !!envParams.cmdParams.dt
|
||||
|
||||
global.envParams = {
|
||||
cmdParams: envParams.cmdParams,
|
||||
deeplink: envParams.deeplink,
|
||||
@@ -62,7 +65,12 @@ export const initGlobalData = () => {
|
||||
lyricLineText: '',
|
||||
lyricLineAllText: '',
|
||||
lyric: '',
|
||||
tlyric: '',
|
||||
rlyric: '',
|
||||
lxlyric: '',
|
||||
collect: false,
|
||||
volume: 0,
|
||||
mute: false,
|
||||
},
|
||||
}
|
||||
|
||||
@@ -80,16 +88,16 @@ export const initSingleInstanceHandle = () => {
|
||||
}
|
||||
|
||||
app.on('second-instance', (event, argv, cwd) => {
|
||||
for (const param of argv) {
|
||||
if (URL_SCHEME_RXP.test(param)) {
|
||||
global.envParams.deeplink = param
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
if (isExistMainWindow()) {
|
||||
if (global.envParams.deeplink) global.lx.event_app.deeplink(global.envParams.deeplink)
|
||||
else showMainWindow()
|
||||
const envParams = parseEnvParams(argv)
|
||||
if (envParams.deeplink) {
|
||||
global.envParams.deeplink = envParams.deeplink
|
||||
global.lx.event_app.deeplink(global.envParams.deeplink)
|
||||
return
|
||||
}
|
||||
if (envParams.cmdParams.hidden !== true) {
|
||||
showMainWindow()
|
||||
}
|
||||
} else {
|
||||
app.quit()
|
||||
}
|
||||
@@ -228,6 +236,28 @@ export const listenerAppEvent = (startApp: () => void) => {
|
||||
global.lx.theme.shouldUseDarkColors = shouldUseDarkColors
|
||||
global.lx?.event_app.system_theme_change(shouldUseDarkColors)
|
||||
})
|
||||
|
||||
const setProxy = () => {
|
||||
const proxy = getProxy()
|
||||
if (proxy) {
|
||||
setProxyByHost(proxy.host, proxy.port ? String(proxy.port) : undefined)
|
||||
} else setProxyByHost()
|
||||
}
|
||||
global.lx.event_app.on('updated_config', (keys, setting) => {
|
||||
if (keys.includes('network.proxy.enable') || (global.lx.appSetting['network.proxy.enable'] && keys.some(k => k.includes('network.proxy.')))) {
|
||||
setProxy()
|
||||
}
|
||||
|
||||
if (keys.includes('player.volume')) {
|
||||
global.lx.event_app.player_status({ volume: Math.trunc(setting['player.volume']! * 100) })
|
||||
}
|
||||
if (keys.includes('player.isMute')) {
|
||||
global.lx.event_app.player_status({ mute: setting['player.isMute'] })
|
||||
}
|
||||
})
|
||||
global.lx.event_app.on('app_inited', () => {
|
||||
setProxy()
|
||||
})
|
||||
}
|
||||
|
||||
const initTheme = () => {
|
||||
@@ -254,6 +284,20 @@ const initTheme = () => {
|
||||
})
|
||||
}
|
||||
|
||||
const backupDB = (backupPath: string) => {
|
||||
const dbPath = path.join(global.lxDataPath, 'lx.data.db')
|
||||
try {
|
||||
renameSync(dbPath, backupPath)
|
||||
} catch {}
|
||||
try {
|
||||
renameSync(`${dbPath}-wal`, `${backupPath}-wal`)
|
||||
} catch {}
|
||||
try {
|
||||
renameSync(`${dbPath}-shm`, `${backupPath}-shm`)
|
||||
} catch {}
|
||||
openDirInExplorer(backupPath)
|
||||
}
|
||||
|
||||
let isInitialized = false
|
||||
export const initAppSetting = async() => {
|
||||
if (!global.lx.inited) {
|
||||
@@ -266,19 +310,19 @@ export const initAppSetting = async() => {
|
||||
if (!isInitialized) {
|
||||
let dbFileExists = await global.lx.worker.dbService.init(global.lxDataPath)
|
||||
if (dbFileExists === null) {
|
||||
const backPath = path.join(global.lxDataPath, `lx.data.db.${Date.now()}.bak`)
|
||||
const backupPath = path.join(global.lxDataPath, `lx.data.db.${Date.now()}.bak`)
|
||||
dialog.showMessageBoxSync({
|
||||
type: 'warning',
|
||||
message: 'Database verify failed',
|
||||
detail: `数据库表结构校验失败,我们将把有问题的数据库备份到:${backPath}\n若此问题导致你的数据丢失,你可以尝试从备份文件找回它们。\n\nThe database table structure verification failed, we will back up the problematic database to: ${backPath}\nIf this problem causes your data to be lost, you can try to retrieve them from the backup file.`,
|
||||
detail: `数据库表结构校验失败,我们将把有问题的数据库备份到:${backupPath}\n若此问题导致你的数据丢失,你可以尝试从备份文件找回它们。\n\nThe database table structure verification failed, we will back up the problematic database to: ${backupPath}\nIf this problem causes your data to be lost, you can try to retrieve them from the backup file.`,
|
||||
})
|
||||
renameSync(path.join(global.lxDataPath, 'lx.data.db'), backPath)
|
||||
openDirInExplorer(backPath)
|
||||
backupDB(backupPath)
|
||||
dbFileExists = await global.lx.worker.dbService.init(global.lxDataPath)
|
||||
}
|
||||
global.lx.appSetting = (await initSetting()).setting
|
||||
if (!dbFileExists) await migrateDBData().catch(err => { log.error(err) })
|
||||
initTheme()
|
||||
if (envParams.cmdParams.dt == null) envParams.cmdParams.dt = !global.lx.appSetting['common.transparentWindow']
|
||||
}
|
||||
// global.lx.theme = getTheme()
|
||||
|
||||
|
||||
@@ -2,6 +2,19 @@ import http from 'node:http'
|
||||
import querystring from 'node:querystring'
|
||||
import type { Socket } from 'node:net'
|
||||
import { getAddress } from '@common/utils/nodejs'
|
||||
import { sendTaskbarButtonClick } from '@main/modules/winMain'
|
||||
|
||||
const sendResponse = (res: http.ServerResponse, code = 200, msg: string | Record<any, unknown> = 'OK', contentType = 'text/plain; charset=utf-8') => {
|
||||
res.writeHead(code, {
|
||||
'Content-Type': contentType,
|
||||
'Access-Control-Allow-Origin': '*',
|
||||
})
|
||||
if (typeof msg === 'object') {
|
||||
res.end(JSON.stringify(msg))
|
||||
} else {
|
||||
res.end(msg)
|
||||
}
|
||||
}
|
||||
|
||||
let status: LX.OpenAPI.Status = {
|
||||
status: false,
|
||||
@@ -37,10 +50,16 @@ const handleSendStatus = (res: http.ServerResponse<http.IncomingMessage>, query?
|
||||
const keys = parseFilter(querystring.parse(query ?? '').filter)
|
||||
const resp: Partial<Record<SubscribeKeys, any>> = {}
|
||||
for (const k of keys) resp[k] = global.lx.player_status[k]
|
||||
res.setHeader('Content-Type', 'application/json; charset=utf-8')
|
||||
res.setHeader('Access-Control-Allow-Origin', '*')
|
||||
res.writeHead(200)
|
||||
res.end(JSON.stringify(resp))
|
||||
sendResponse(res, 200, resp, 'application/json; charset=utf-8')
|
||||
}
|
||||
const handleSendAllLyric = (res: http.ServerResponse<http.IncomingMessage>) => {
|
||||
const resp: Partial<Record<SubscribeKeys, any>> = {
|
||||
lyric: global.lx.player_status.lyric,
|
||||
tlyric: global.lx.player_status.tlyric,
|
||||
rlyric: global.lx.player_status.rlyric,
|
||||
lxlyric: global.lx.player_status.lxlyric,
|
||||
}
|
||||
sendResponse(res, 200, resp, 'application/json; charset=utf-8')
|
||||
}
|
||||
const handleSubscribePlayerStatus = (req: http.IncomingMessage, res: http.ServerResponse<http.IncomingMessage>, query?: string) => {
|
||||
res.writeHead(200, {
|
||||
@@ -67,8 +86,8 @@ const handleStartServer = async(port: number, ip: string) => new Promise<void>((
|
||||
playerStatusKeys = Object.keys(global.lx.player_status) as SubscribeKeys[]
|
||||
httpServer = http.createServer((req, res): void => {
|
||||
const [endUrl, query] = `/${req.url?.split('/').at(-1) ?? ''}`.split('?')
|
||||
let code
|
||||
let msg
|
||||
let code = 200
|
||||
let msg = 'OK'
|
||||
switch (endUrl) {
|
||||
case '/status':
|
||||
handleSendStatus(res, query)
|
||||
@@ -118,11 +137,61 @@ const handleStartServer = async(port: number, ip: string) => new Promise<void>((
|
||||
// </html>`
|
||||
// break
|
||||
case '/lyric':
|
||||
code = 200
|
||||
res.setHeader('Content-Type', 'text/plain; charset=utf-8')
|
||||
res.setHeader('Access-Control-Allow-Origin', '*')
|
||||
msg = global.lx.player_status.lyric
|
||||
break
|
||||
case '/lyric-all':
|
||||
handleSendAllLyric(res)
|
||||
return
|
||||
case '/play':
|
||||
sendTaskbarButtonClick('play')
|
||||
break
|
||||
case '/pause':
|
||||
sendTaskbarButtonClick('pause')
|
||||
break
|
||||
case '/skip-next':
|
||||
sendTaskbarButtonClick('next')
|
||||
break
|
||||
case '/skip-prev':
|
||||
sendTaskbarButtonClick('prev')
|
||||
break
|
||||
case '/seek': {
|
||||
const offset = parseFloat(querystring.parse(query ?? '').offset as string)
|
||||
if (Number.isNaN(offset) || offset < 0 || offset > global.lx.player_status.duration) {
|
||||
code = 400
|
||||
msg = 'Invalid offset'
|
||||
} else {
|
||||
sendTaskbarButtonClick('seek', parseFloat(offset.toFixed(3)))
|
||||
}
|
||||
break
|
||||
}
|
||||
case '/collect':
|
||||
sendTaskbarButtonClick('collect')
|
||||
break
|
||||
case '/uncollect':
|
||||
sendTaskbarButtonClick('unCollect')
|
||||
break
|
||||
case '/volume': {
|
||||
const volume = parseInt(querystring.parse(query ?? '').volume as string)
|
||||
if (Number.isNaN(volume) || volume < 0 || volume > 100) {
|
||||
code = 400
|
||||
msg = 'Invalid volume'
|
||||
} else {
|
||||
sendTaskbarButtonClick('volume', volume / 100)
|
||||
}
|
||||
break
|
||||
}
|
||||
case '/mute': {
|
||||
const mute = querystring.parse(query ?? '').mute
|
||||
if (mute == 'true') {
|
||||
sendTaskbarButtonClick('mute', true)
|
||||
} else if (mute == 'false') {
|
||||
sendTaskbarButtonClick('mute', false)
|
||||
} else {
|
||||
code = 400
|
||||
msg = 'Invalid mute value'
|
||||
}
|
||||
break
|
||||
}
|
||||
case '/subscribe-player-status':
|
||||
try {
|
||||
handleSubscribePlayerStatus(req, res, query)
|
||||
@@ -138,9 +207,7 @@ const handleStartServer = async(port: number, ip: string) => new Promise<void>((
|
||||
msg = 'Forbidden'
|
||||
break
|
||||
}
|
||||
if (!code) return
|
||||
res.writeHead(code)
|
||||
res.end(msg)
|
||||
sendResponse(res, code, msg)
|
||||
})
|
||||
httpServer.on('error', error => {
|
||||
console.log(error)
|
||||
|
||||
@@ -3,7 +3,7 @@ import { httpFetch, type RequestOptions } from '@main/utils/request'
|
||||
import { decodeData, encodeData } from '../utils'
|
||||
|
||||
export const request = async(url: string, options: RequestOptions = { }) => {
|
||||
return httpFetch(url, {
|
||||
return httpFetch<string>(url, {
|
||||
...options,
|
||||
timeout: options.timeout ?? 10000,
|
||||
}).then(response => {
|
||||
|
||||
@@ -9,6 +9,7 @@ import {
|
||||
showWindow as showMainWindow,
|
||||
} from './winMain'
|
||||
import { quitApp } from '@main/app'
|
||||
import { TRAY_AUTO_ID } from '@common/constants'
|
||||
|
||||
let tray: Electron.Tray | null
|
||||
let isEnableTray: boolean = false
|
||||
@@ -53,24 +54,24 @@ const themeList = [
|
||||
|
||||
const messages = {
|
||||
'en-us': {
|
||||
collect: 'Collection',
|
||||
uncollect: 'Cancel collection',
|
||||
collect: 'Love',
|
||||
uncollect: 'Unlove',
|
||||
play: 'Play',
|
||||
pause: 'Pause',
|
||||
next: 'Next song',
|
||||
prev: 'Previous song',
|
||||
next: 'Next Song',
|
||||
prev: 'Prev Song',
|
||||
hide_win_main: 'Hide Main Window',
|
||||
show_win_main: 'Show Main Window',
|
||||
hide_win_lyric: 'Close desktop lyrics',
|
||||
show_win_lyric: 'Open desktop lyrics',
|
||||
lock_win_lyric: 'Lock desktop lyrics',
|
||||
unlock_win_lyric: 'Unlock desktop lyrics',
|
||||
top_win_lyric: 'Set top lyrics',
|
||||
untop_win_lyric: 'Cancel top lyrics',
|
||||
show_statusbar_lyric: 'Show statusbar lyric',
|
||||
hide_statusbar_lyric: 'Hide statusbar lyric',
|
||||
hide_win_lyric: 'Hide Lyric Window',
|
||||
show_win_lyric: 'Show Lyric Window',
|
||||
lock_win_lyric: 'Lock Lyric Window',
|
||||
unlock_win_lyric: 'Unlock Lyric Window',
|
||||
top_win_lyric: 'On-top Lyric Window',
|
||||
untop_win_lyric: 'Un-top Lyric Window',
|
||||
show_statusbar_lyric: 'Show Lyrics on Statusbar',
|
||||
hide_statusbar_lyric: 'Hide Lyrics on Statusbar',
|
||||
exit: 'Exit',
|
||||
music_name: 'Name: ',
|
||||
music_name: 'Title: ',
|
||||
music_singer: 'Artist: ',
|
||||
},
|
||||
'zh-cn': {
|
||||
@@ -101,19 +102,19 @@ const messages = {
|
||||
pause: '暫停',
|
||||
next: '下一曲',
|
||||
prev: '上一曲',
|
||||
hide_win_main: '隱藏主界面',
|
||||
show_win_main: '顯示主界面',
|
||||
hide_win_lyric: '關閉桌面歌詞',
|
||||
show_win_lyric: '開啟桌面歌詞',
|
||||
lock_win_lyric: '鎖定桌面歌詞',
|
||||
unlock_win_lyric: '解鎖桌面歌詞',
|
||||
top_win_lyric: '置頂歌詞',
|
||||
untop_win_lyric: '取消置頂',
|
||||
hide_win_main: '隱藏軟體視窗',
|
||||
show_win_main: '顯示軟體視窗',
|
||||
hide_win_lyric: '關閉歌詞視窗',
|
||||
show_win_lyric: '開啟歌詞視窗',
|
||||
lock_win_lyric: '鎖定歌詞視窗',
|
||||
unlock_win_lyric: '解鎖歌詞視窗',
|
||||
top_win_lyric: '置頂歌詞視窗',
|
||||
untop_win_lyric: '取消置頂歌詞視窗',
|
||||
show_statusbar_lyric: '顯示狀態列歌詞',
|
||||
hide_statusbar_lyric: '隱藏狀態列歌詞',
|
||||
exit: '退出',
|
||||
music_name: '歌曲名: ',
|
||||
music_singer: '藝術家: ',
|
||||
music_name: '標題: ',
|
||||
music_singer: '演出者: ',
|
||||
},
|
||||
} as const
|
||||
type Messages = typeof messages
|
||||
@@ -132,7 +133,10 @@ const i18n = {
|
||||
}
|
||||
|
||||
const getIconPath = (id: number) => {
|
||||
let theme = themeList.find(item => item.id === id) ?? themeList[0]
|
||||
let theme = id == TRAY_AUTO_ID
|
||||
? global.lx.theme.shouldUseDarkColors
|
||||
? themeList[0] : themeList[2]
|
||||
: themeList.find(item => item.id === id) ?? themeList[0]
|
||||
return path.join(global.staticPath, 'images/tray', theme.fileName + (isWin ? '.ico' : '.png'))
|
||||
}
|
||||
|
||||
@@ -146,9 +150,11 @@ export const createTray = () => {
|
||||
// tray.setToolTip('LX Music')
|
||||
// createMenu()
|
||||
tray.setIgnoreDoubleClickEvents(true)
|
||||
tray.on('click', () => {
|
||||
showMainWindow()
|
||||
})
|
||||
if (isWin) {
|
||||
tray.on('click', () => {
|
||||
showMainWindow()
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
export const destroyTray = () => {
|
||||
@@ -372,6 +378,11 @@ export default () => {
|
||||
init()
|
||||
})
|
||||
|
||||
global.lx.event_app.on('system_theme_change', () => {
|
||||
if (global.lx.appSetting['tray.themeId'] != TRAY_AUTO_ID) return
|
||||
setTrayImage(global.lx.appSetting['tray.themeId'])
|
||||
})
|
||||
|
||||
global.lx.event_app.on('player_status', (status) => {
|
||||
let updated = false
|
||||
if (status.status) {
|
||||
|
||||
@@ -77,6 +77,7 @@ export const createWindow = async(userApi: LX.UserApi.UserApiInfo) => {
|
||||
minimizable: false,
|
||||
maximizable: false,
|
||||
fullscreenable: false,
|
||||
roundedCorners: false,
|
||||
hasShadow: false,
|
||||
show: false,
|
||||
webPreferences: {
|
||||
|
||||
@@ -73,7 +73,7 @@ const matchInfo = (scriptInfo: string) => {
|
||||
for (const [key, len] of Object.entries(INFO_NAMES) as Array<{ [K in keyof INFO_NAMES_Type]: [K, INFO_NAMES_Type[K]] }[keyof INFO_NAMES_Type]>) {
|
||||
infos[key] ||= ''
|
||||
if (infos[key] == null) infos[key] = ''
|
||||
else if (infos[key]!.length > len) infos[key] = infos[key]!.substring(0, len) + '...'
|
||||
else if (infos[key].length > len) infos[key] = infos[key].substring(0, len) + '...'
|
||||
}
|
||||
|
||||
return infos as Record<keyof typeof INFO_NAMES, string>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import path from 'node:path'
|
||||
import { BrowserWindow } from 'electron'
|
||||
import { debounce, isLinux, isWin } from '@common/utils'
|
||||
import { initWindowSize } from './utils'
|
||||
import { debounce, getPlatform, isLinux, isWin } from '@common/utils'
|
||||
import { initWindowSize, minHeight, minWidth } from './utils'
|
||||
import { mainSend } from '@common/mainIpc'
|
||||
import { encodePath } from '@common/utils/electron'
|
||||
|
||||
@@ -55,6 +55,7 @@ const winEvent = () => {
|
||||
browserWindow.on('resize', () => {
|
||||
// bounds = browserWindow.getBounds()
|
||||
// console.log(bounds)
|
||||
isWinBoundsUpdateing = true
|
||||
const bounds = browserWindow!.getBounds()
|
||||
saveBoundsConfig({
|
||||
'desktopLyric.x': bounds.x,
|
||||
@@ -114,18 +115,19 @@ export const createWindow = () => {
|
||||
width: winSize.width,
|
||||
x: winSize.x,
|
||||
y: winSize.y,
|
||||
minWidth: 380,
|
||||
minHeight: 80,
|
||||
minWidth,
|
||||
minHeight,
|
||||
useContentSize: true,
|
||||
frame: false,
|
||||
transparent: true,
|
||||
hasShadow: false,
|
||||
// enableRemoteModule: false,
|
||||
// icon: join(global.__static, isWin ? 'icons/256x256.ico' : 'icons/512x512.png'),
|
||||
resizable: false,
|
||||
resizable: isWin,
|
||||
minimizable: false,
|
||||
maximizable: false,
|
||||
fullscreenable: false,
|
||||
roundedCorners: false,
|
||||
show: false,
|
||||
alwaysOnTop: isAlwaysOnTop,
|
||||
skipTaskbar: !isShowTaskbar,
|
||||
@@ -137,11 +139,12 @@ export const createWindow = () => {
|
||||
enableWebSQL: false,
|
||||
webgl: false,
|
||||
spellcheck: false, // 禁用拼写检查器
|
||||
backgroundThrottling: false,
|
||||
},
|
||||
})
|
||||
|
||||
const winURL = process.env.NODE_ENV !== 'production' ? 'http://localhost:9081/lyric.html' : `file://${path.join(encodePath(__dirname), 'lyric.html')}`
|
||||
void browserWindow.loadURL(winURL + `?dark=${shouldUseDarkColors}&theme=${encodeURIComponent(JSON.stringify(theme))}`)
|
||||
void browserWindow.loadURL(winURL + `?os=${getPlatform()}&dark=${shouldUseDarkColors}&theme=${encodeURIComponent(JSON.stringify(theme))}`)
|
||||
|
||||
winEvent()
|
||||
// browserWindow.webContents.openDevTools()
|
||||
@@ -159,6 +162,11 @@ export const showWindow = () => {
|
||||
browserWindow.show()
|
||||
}
|
||||
|
||||
export const setResizeable = (isResizeable: boolean) => {
|
||||
if (!browserWindow) return
|
||||
browserWindow.setResizable(isResizeable)
|
||||
}
|
||||
|
||||
export const sendEvent = <T = any>(name: string, params?: T) => {
|
||||
if (!browserWindow) return
|
||||
mainSend(browserWindow, name, params)
|
||||
@@ -218,7 +226,7 @@ export const alwaysOnTopTools: AlwaysOnTopTools = {
|
||||
return
|
||||
}
|
||||
setAlwaysOnTop(true, 'screen-saver')
|
||||
}, 1000)
|
||||
}, 500)
|
||||
},
|
||||
clearLoop() {
|
||||
if (!this.timeout) return
|
||||
|
||||
@@ -3,7 +3,7 @@ import { mainOn, mainHandle } from '@common/mainIpc'
|
||||
import { WIN_LYRIC_RENDERER_EVENT_NAME } from '@common/ipcNames'
|
||||
import { buildLyricConfig, getLyricWindowBounds } from './utils'
|
||||
import { sendNewDesktopLyricClient } from '@main/modules/winMain'
|
||||
import { getBounds, getMainFrame, sendEvent, setBounds } from './main'
|
||||
import { getBounds, getMainFrame, sendEvent, setBounds, setResizeable } from './main'
|
||||
import { MessageChannelMain } from 'electron'
|
||||
|
||||
|
||||
@@ -29,6 +29,10 @@ export default () => {
|
||||
setBounds(getLyricWindowBounds(getBounds(), options))
|
||||
})
|
||||
|
||||
mainOn<boolean>(WIN_LYRIC_RENDERER_EVENT_NAME.set_win_resizeable, ({ params: resizable }) => {
|
||||
setResizeable(resizable)
|
||||
})
|
||||
|
||||
mainOn(WIN_LYRIC_RENDERER_EVENT_NAME.request_main_window_channel, ({ event }) => {
|
||||
if (event.senderFrame !== getMainFrame()) return
|
||||
// Create a new channel ...
|
||||
@@ -36,7 +40,7 @@ export default () => {
|
||||
// ... send one end to the worker ...
|
||||
sendNewDesktopLyricClient(port1)
|
||||
// ... and the other end to the main window.
|
||||
event.senderFrame.postMessage(WIN_LYRIC_RENDERER_EVENT_NAME.provide_main_window_channel, null, [port2])
|
||||
event.senderFrame?.postMessage(WIN_LYRIC_RENDERER_EVENT_NAME.provide_main_window_channel, null, [port2])
|
||||
// Now the main window and the worker can communicate with each other
|
||||
// without going through the main process!
|
||||
console.log('request_main_window_channel')
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// 设置窗口位置、大小
|
||||
export let minWidth = 80
|
||||
export let minHeight = 50
|
||||
export let minWidth = 38
|
||||
export let minHeight = 38
|
||||
|
||||
|
||||
// const updateBounds = (bounds: Bounds) => {
|
||||
@@ -14,7 +14,7 @@ export let minHeight = 50
|
||||
* @param param 新设置(相对于当前设置)
|
||||
* @returns
|
||||
*/
|
||||
export const getLyricWindowBounds = (bounds: Electron.Rectangle, { x = 0, y = 0, w = 0, h = 0 }: LX.DesktopLyric.NewBounds): Electron.Rectangle => {
|
||||
export const getLyricWindowBounds = (bounds: Electron.Rectangle, { x, y, w, h }: LX.DesktopLyric.NewBounds): Electron.Rectangle => {
|
||||
if (w < minWidth) w = minWidth
|
||||
if (h < minHeight) h = minHeight
|
||||
|
||||
@@ -53,6 +53,7 @@ export const watchConfigKeys = [
|
||||
'desktopLyric.isAlwaysOnTop',
|
||||
'desktopLyric.isAlwaysOnTopLoop',
|
||||
'desktopLyric.isShowTaskbar',
|
||||
'desktopLyric.pauseHide',
|
||||
'desktopLyric.audioVisualization',
|
||||
'desktopLyric.width',
|
||||
'desktopLyric.height',
|
||||
@@ -80,9 +81,10 @@ export const watchConfigKeys = [
|
||||
'common.langId',
|
||||
'player.isShowLyricTranslation',
|
||||
'player.isShowLyricRoma',
|
||||
'player.isSwapLyricTranslationAndRoma',
|
||||
'player.isPlayLxlrc',
|
||||
'player.playbackRate',
|
||||
] as const
|
||||
] satisfies Array<keyof LX.AppSetting>
|
||||
|
||||
export const buildLyricConfig = (appSetting: Partial<LX.AppSetting>): Partial<LX.DesktopLyric.Config> => {
|
||||
const setting: Partial<LX.DesktopLyric.Config> = {}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { BrowserWindow, dialog, session } from 'electron'
|
||||
import path from 'node:path'
|
||||
import { createTaskBarButtons, getWindowSizeInfo } from './utils'
|
||||
import { isLinux, isWin } from '@common/utils'
|
||||
import { getPlatform, isLinux, isWin } from '@common/utils'
|
||||
import { getProxy, openDevTools as handleOpenDevTools } from '@main/utils'
|
||||
import { mainSend } from '@common/mainIpc'
|
||||
import { sendFocus, sendTaskbarButtonClick } from './rendererEvent'
|
||||
@@ -42,8 +42,10 @@ const winEvent = () => {
|
||||
})
|
||||
|
||||
browserWindow.once('ready-to-show', () => {
|
||||
showWindow()
|
||||
setThumbarButtons()
|
||||
if (!global.envParams.cmdParams.hidden) {
|
||||
showWindow()
|
||||
setThumbarButtons()
|
||||
}
|
||||
global.lx.event_app.main_window_ready_to_show()
|
||||
})
|
||||
|
||||
@@ -66,11 +68,7 @@ export const createWindow = () => {
|
||||
const { shouldUseDarkColors, theme } = global.lx.theme
|
||||
const ses = session.fromPartition('persist:win-main')
|
||||
const proxy = getProxy()
|
||||
if (proxy) {
|
||||
void ses.setProxy({
|
||||
proxyRules: `http://${proxy.host}:${proxy.port}`,
|
||||
})
|
||||
}
|
||||
setSesProxy(ses, proxy?.host, proxy?.port)
|
||||
|
||||
/**
|
||||
* Initial window options
|
||||
@@ -87,7 +85,7 @@ export const createWindow = () => {
|
||||
resizable: false,
|
||||
maximizable: false,
|
||||
fullscreenable: true,
|
||||
roundedCorners: false,
|
||||
roundedCorners: global.envParams.cmdParams.dt,
|
||||
show: false,
|
||||
webPreferences: {
|
||||
session: ses,
|
||||
@@ -109,7 +107,7 @@ export const createWindow = () => {
|
||||
browserWindow = new BrowserWindow(options)
|
||||
|
||||
const winURL = process.env.NODE_ENV !== 'production' ? 'http://localhost:9080' : `file://${path.join(encodePath(__dirname), 'index.html')}`
|
||||
void browserWindow.loadURL(winURL + `?dt=${!!global.envParams.cmdParams.dt}&dark=${shouldUseDarkColors}&theme=${encodeURIComponent(JSON.stringify(theme))}`)
|
||||
void browserWindow.loadURL(winURL + `?os=${getPlatform()}&dt=${global.envParams.cmdParams.dt}&dark=${shouldUseDarkColors}&theme=${encodeURIComponent(JSON.stringify(theme))}`)
|
||||
|
||||
winEvent()
|
||||
|
||||
@@ -131,18 +129,22 @@ export const closeWindow = () => {
|
||||
browserWindow.close()
|
||||
}
|
||||
|
||||
const setSesProxy = (ses: Electron.Session, host?: string, port?: string | number) => {
|
||||
if (host) {
|
||||
void ses.setProxy({
|
||||
mode: 'fixed_servers',
|
||||
proxyRules: `http://${host}:${port}`,
|
||||
})
|
||||
} else {
|
||||
void ses.setProxy({
|
||||
mode: 'direct',
|
||||
})
|
||||
}
|
||||
}
|
||||
export const setProxy = () => {
|
||||
if (!browserWindow) return
|
||||
const proxy = getProxy()
|
||||
if (proxy) {
|
||||
void browserWindow.webContents.session.setProxy({
|
||||
proxyRules: `http://${proxy.host}:${proxy.port}`,
|
||||
})
|
||||
} else {
|
||||
void browserWindow.webContents.session.setProxy({
|
||||
proxyRules: '',
|
||||
})
|
||||
}
|
||||
setSesProxy(browserWindow.webContents.session, proxy?.host, proxy?.port)
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -137,8 +137,8 @@ export const sendFocus = () => {
|
||||
sendEvent(WIN_MAIN_RENDERER_EVENT_NAME.focus)
|
||||
}
|
||||
|
||||
export const sendTaskbarButtonClick = (action: LX.Player.StatusButtonActions) => {
|
||||
sendEvent(WIN_MAIN_RENDERER_EVENT_NAME.player_action_on_button_click, action)
|
||||
export const sendTaskbarButtonClick = (action: LX.Player.StatusButtonActions, data?: unknown) => {
|
||||
sendEvent(WIN_MAIN_RENDERER_EVENT_NAME.player_action_on_button_click, { action, data })
|
||||
}
|
||||
export const sendConfigChange = (setting: Partial<LX.AppSetting>) => {
|
||||
sendEvent(WIN_MAIN_RENDERER_EVENT_NAME.on_config_change, setting)
|
||||
|
||||
@@ -24,13 +24,13 @@ const decodeLyric = async(buf: Buffer, isGetLyricx: boolean) => {
|
||||
// const isLyric = info.includes('\r\nlrcx=0\r\n')
|
||||
if (buf.toString('utf8', 0, 10) != 'tp=content') return ''
|
||||
// const index = buf.indexOf('\r\n\r\n') + 4
|
||||
const lrcData = await handleInflate(buf.slice(buf.indexOf('\r\n\r\n') + 4))
|
||||
const lrcData = await handleInflate(buf.subarray(buf.indexOf('\r\n\r\n') + 4))
|
||||
|
||||
if (!isGetLyricx) return iconv.decode(lrcData, 'gb18030')
|
||||
|
||||
const buf_str = Buffer.from(lrcData.toString(), 'base64')
|
||||
const buf_str_len = buf_str.length
|
||||
const output = new Uint16Array(buf_str_len)
|
||||
const output = new Uint8Array(buf_str_len)
|
||||
let i = 0
|
||||
while (i < buf_str_len) {
|
||||
let j = 0
|
||||
|
||||
@@ -9,11 +9,11 @@ import { nativeTheme, powerSaveBlocker } from 'electron'
|
||||
import { joinPath } from '@common/utils/nodejs'
|
||||
import themes from '@common/theme/index.json'
|
||||
|
||||
export const parseEnvParams = (): { cmdParams: LX.CmdParams, deeplink: string | null } => {
|
||||
export const parseEnvParams = (argv = process.argv): { cmdParams: LX.CmdParams, deeplink: string | null } => {
|
||||
const cmdParams: LX.CmdParams = {}
|
||||
let deeplink = null
|
||||
const rx = /^-\w+/
|
||||
for (let param of process.argv) {
|
||||
for (let param of argv) {
|
||||
if (URL_SCHEME_RXP.test(param)) {
|
||||
deeplink = param
|
||||
}
|
||||
@@ -107,6 +107,11 @@ export const mergeSetting = (originSetting: LX.AppSetting, targetSetting?: Parti
|
||||
}
|
||||
}
|
||||
|
||||
const applyInitSetting = (setting: LX.AppSetting) => {
|
||||
if (global.envParams.cmdParams.hidden && !setting['tray.enable']) {
|
||||
setting['tray.enable'] = true
|
||||
}
|
||||
}
|
||||
|
||||
export const updateSetting = (setting?: Partial<LX.AppSetting>, isInit: boolean = false) => {
|
||||
const electronStore_config = getStore(STORE_NAMES.APP_SETTINGS)
|
||||
@@ -114,6 +119,7 @@ export const updateSetting = (setting?: Partial<LX.AppSetting>, isInit: boolean
|
||||
let originSetting: LX.AppSetting
|
||||
if (isInit) {
|
||||
setting &&= migrateSetting(setting)
|
||||
applyInitSetting(setting as LX.AppSetting)
|
||||
originSetting = { ...defaultSetting }
|
||||
} else originSetting = global.lx.appSetting
|
||||
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
import needle, { type NeedleHttpVerbs, type NeedleOptions, type BodyData, type NeedleCallback, type NeedleResponse } from 'needle'
|
||||
// import progress from 'request-progress'
|
||||
import { httpOverHttp, httpsOverHttp } from 'tunnel'
|
||||
import { type ClientRequest } from 'node:http'
|
||||
import { getProxy } from './index'
|
||||
import { request, type Options } from '@common/utils/request'
|
||||
// import fs from 'fs'
|
||||
|
||||
export const requestMsg = {
|
||||
@@ -14,53 +11,6 @@ export const requestMsg = {
|
||||
cancelRequest: '取消http请求',
|
||||
} as const
|
||||
|
||||
|
||||
const httpsRxp = /^https:/
|
||||
const getRequestAgent = (url: string) => {
|
||||
const proxy = getProxy()
|
||||
return proxy ? (httpsRxp.test(url) ? httpsOverHttp : httpOverHttp)({ proxy }) : undefined
|
||||
}
|
||||
|
||||
export interface RequestOptions extends NeedleOptions {
|
||||
method?: NeedleHttpVerbs
|
||||
body?: BodyData
|
||||
form?: BodyData
|
||||
formData?: BodyData
|
||||
}
|
||||
export type RequestCallback = NeedleCallback
|
||||
type RequestResponse = NeedleResponse
|
||||
const request = (url: string, options: RequestOptions, callback: RequestCallback): ClientRequest => {
|
||||
let data: BodyData = null
|
||||
if (options.body) {
|
||||
data = options.body
|
||||
} else if (options.form) {
|
||||
data = options.form
|
||||
// data.content_type = 'application/x-www-form-urlencoded'
|
||||
options.json = false
|
||||
} else if (options.formData) {
|
||||
data = options.formData
|
||||
// data.content_type = 'multipart/form-data'
|
||||
options.json = false
|
||||
}
|
||||
options.response_timeout = options.timeout
|
||||
|
||||
return needle.request(options.method ?? 'get', url, data, options, (err, resp, body) => {
|
||||
if (!err) {
|
||||
body = resp.body = resp.raw.toString()
|
||||
try {
|
||||
resp.body = JSON.parse(resp.body)
|
||||
} catch (_) {}
|
||||
body = resp.body
|
||||
}
|
||||
callback(err, resp, body)
|
||||
// @ts-expect-error
|
||||
}).request
|
||||
}
|
||||
|
||||
|
||||
const defaultHeaders = {
|
||||
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36',
|
||||
}
|
||||
// var proxyUrl = "http://" + user + ":" + password + "@" + host + ":" + port;
|
||||
// var proxiedRequest = request.defaults({'proxy': proxyUrl});
|
||||
|
||||
@@ -68,70 +18,13 @@ const defaultHeaders = {
|
||||
// abort: () => void
|
||||
// }
|
||||
|
||||
/**
|
||||
* promise 形式的请求方法
|
||||
* @param {*} url
|
||||
* @param {*} options
|
||||
*/
|
||||
const buildHttpPromose = async(url: string, options: RequestOptions): Promise<RequestResponse> => {
|
||||
return new Promise((resolve, reject) => {
|
||||
void fetchData(url, options.method, options, (err, resp, body) => {
|
||||
// options.isShowProgress && window.api.hideProgress()
|
||||
// debugRequest && console.log(`\n---response------${url}------------`)
|
||||
// debugRequest && console.log(body)
|
||||
// obj.requestObj = null
|
||||
// obj.cancelFn = null
|
||||
if (err) {
|
||||
reject(err)
|
||||
return
|
||||
}
|
||||
resolve(resp)
|
||||
})
|
||||
// .then(request => {
|
||||
// // obj.requestObj = ro
|
||||
// // if (obj.isCancelled) obj.cancelHttp()
|
||||
// promise.abort = () => {
|
||||
// request.destroy(new Error('cancelled'))
|
||||
// }
|
||||
// })
|
||||
})
|
||||
// let obj = {
|
||||
// isCancelled: false,
|
||||
// cancelHttp: () => {
|
||||
// if (!obj.requestObj) return obj.isCancelled = true
|
||||
// cancelHttp(obj.requestObj)
|
||||
// obj.requestObj = null
|
||||
// obj.promise = obj.cancelHttp = null
|
||||
// obj.cancelFn(new Error(requestMsg.cancelRequest))
|
||||
// obj.cancelFn = null
|
||||
// },
|
||||
// }
|
||||
// obj.promise = new Promise((resolve, reject) => {
|
||||
// obj.cancelFn = reject
|
||||
// debugRequest && console.log(`\n---send request------${url}------------`)
|
||||
// fetchData(url, options.method, options, (err, resp, body) => {
|
||||
// // options.isShowProgress && window.api.hideProgress()
|
||||
// debugRequest && console.log(`\n---response------${url}------------`)
|
||||
// debugRequest && console.log(body)
|
||||
// obj.requestObj = null
|
||||
// obj.cancelFn = null
|
||||
// if (err) { reject(err); return }
|
||||
// resolve(resp)
|
||||
// }).then(ro => {
|
||||
// obj.requestObj = ro
|
||||
// if (obj.isCancelled) obj.cancelHttp()
|
||||
// })
|
||||
// })
|
||||
// return obj
|
||||
}
|
||||
|
||||
/**
|
||||
* 请求超时自动重试
|
||||
* @param {*} url
|
||||
* @param {*} options
|
||||
*/
|
||||
export const httpFetch = async(url: string, options: RequestOptions = { method: 'get' }) => {
|
||||
return buildHttpPromose(url, options).catch(async(err: any) => {
|
||||
export const httpFetch = async<T = unknown> (url: string, options: Options) => {
|
||||
return request<T>(url, options).catch(async(err: any) => {
|
||||
// console.log('出错', err)
|
||||
if (err.message === 'socket hang up') {
|
||||
// window.globalObj.apiSource = 'temp'
|
||||
@@ -166,24 +59,4 @@ export const httpFetch = async(url: string, options: RequestOptions = { method:
|
||||
// return requestPromise
|
||||
}
|
||||
|
||||
const fetchData = async(url: string, method: RequestOptions['method'], {
|
||||
headers = {},
|
||||
format = 'json',
|
||||
timeout = 15000,
|
||||
...options
|
||||
}, callback: RequestCallback) => {
|
||||
// console.log(url, options)
|
||||
console.log('---start---', url)
|
||||
headers = Object.assign({}, headers)
|
||||
|
||||
return request(url, {
|
||||
...options,
|
||||
method,
|
||||
headers: Object.assign({}, defaultHeaders, headers),
|
||||
timeout,
|
||||
agent: getRequestAgent(url),
|
||||
json: format === 'json',
|
||||
}, (err, resp, body) => {
|
||||
callback(err, resp, body)
|
||||
})
|
||||
}
|
||||
export type RequestOptions = Options
|
||||
|
||||
@@ -36,6 +36,7 @@ export const init = (lxDataPath: string): boolean | null => {
|
||||
initTables(db)
|
||||
dbFileExists = false
|
||||
}
|
||||
db.pragma('journal_mode = WAL')
|
||||
|
||||
if (dbFileExists) migrateData(db)
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ export const queryDislikeList = () => {
|
||||
* 批量插入不喜欢歌曲并刷新顺序
|
||||
* @param infos 列表
|
||||
*/
|
||||
export const inertDislikeList = async(infos: LX.DBService.DislikeInfo[]) => {
|
||||
export const insertDislikeList = async(infos: LX.DBService.DislikeInfo[]) => {
|
||||
const db = getDB()
|
||||
const insertStatement = createInsertStatement()
|
||||
db.transaction((infos: LX.DBService.DislikeInfo[]) => {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { SPLIT_CHAR } from '@common/constants'
|
||||
import {
|
||||
queryDislikeList,
|
||||
inertDislikeList,
|
||||
insertDislikeList,
|
||||
overwirteDislikeList,
|
||||
// updateDislikeList,
|
||||
// deleteDislikeList,
|
||||
@@ -71,7 +71,7 @@ export const getDislikeListInfo = (): LX.Dislike.DislikeInfo => {
|
||||
* @param lists 列表信息
|
||||
*/
|
||||
export const dislikeInfoAdd = async(lists: LX.Dislike.DislikeMusicInfo[]) => {
|
||||
await inertDislikeList(lists.map(info => ({ content: `${info.name}${SPLIT_CHAR.DISLIKE_NAME}${info.singer}` })))
|
||||
await insertDislikeList(lists.map(info => ({ content: `${info.name}${SPLIT_CHAR.DISLIKE_NAME}${info.singer}` })))
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -20,7 +20,7 @@ export const queryDownloadList = () => {
|
||||
* 批量插入下载歌曲并刷新顺序
|
||||
* @param mInfos 列表
|
||||
*/
|
||||
export const inertDownloadList = (mInfos: LX.DBService.DownloadMusicInfo[], listPositions: Array<{ id: string, position: number }>) => {
|
||||
export const insertDownloadList = (mInfos: LX.DBService.DownloadMusicInfo[], listPositions: Array<{ id: string, position: number }>) => {
|
||||
const db = getDB()
|
||||
const insertStatement = createInsertStatement()
|
||||
const updatePositionStatement = createUpdatePositionStatement()
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { arrPush, arrUnshift } from '@common/utils/common'
|
||||
import {
|
||||
queryDownloadList,
|
||||
inertDownloadList,
|
||||
insertDownloadList,
|
||||
updateDownloadList,
|
||||
deleteDownloadList,
|
||||
clearDownloadList,
|
||||
@@ -72,12 +72,12 @@ export const downloadInfoSave = (downloadInfos: LX.Download.ListItem[], addMusic
|
||||
if (addMusicLocationType == 'top') {
|
||||
let newList = [...list]
|
||||
arrUnshift(newList, downloadInfos)
|
||||
inertDownloadList(toDBDownloadInfo(downloadInfos), newList.slice(downloadInfos.length - 1).map((info, index) => {
|
||||
insertDownloadList(toDBDownloadInfo(downloadInfos), newList.slice(downloadInfos.length - 1).map((info, index) => {
|
||||
return { id: info.id, position: index }
|
||||
}))
|
||||
list = newList
|
||||
} else {
|
||||
inertDownloadList(toDBDownloadInfo(downloadInfos, list.length), [])
|
||||
insertDownloadList(toDBDownloadInfo(downloadInfos, list.length), [])
|
||||
arrPush(list, downloadInfos)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ export const queryAllUserList = () => {
|
||||
* @param lists 列表
|
||||
* @param isClear 是否清空列表
|
||||
*/
|
||||
export const inertUserLists = (lists: LX.DBService.UserListInfo[], isClear: boolean = false) => {
|
||||
export const insertUserLists = (lists: LX.DBService.UserListInfo[], isClear: boolean = false) => {
|
||||
const db = getDB()
|
||||
const listClearStatement = createListClearStatement()
|
||||
const listInsertStatement = createListInsertStatement()
|
||||
|
||||
@@ -2,7 +2,7 @@ import { LIST_IDS } from '@common/constants'
|
||||
import { arrPush, arrPushByPosition, arrUnshift } from '@common/utils/common'
|
||||
import {
|
||||
deleteUserLists,
|
||||
inertUserLists,
|
||||
insertUserLists,
|
||||
insertMusicInfoList,
|
||||
insertMusicInfoListAndRefreshOrder,
|
||||
moveMusicInfo,
|
||||
@@ -61,7 +61,7 @@ export const createUserLists = (position: number, lists: LX.List.UserListInfo[])
|
||||
position: position + index,
|
||||
}
|
||||
})
|
||||
inertUserLists(newLists)
|
||||
insertUserLists(newLists)
|
||||
userLists = [...userLists, ...newLists]
|
||||
} else {
|
||||
const newUserLists = [...userLists]
|
||||
@@ -70,7 +70,7 @@ export const createUserLists = (position: number, lists: LX.List.UserListInfo[])
|
||||
newUserLists.forEach((list, index) => {
|
||||
list.position = index
|
||||
})
|
||||
inertUserLists(newUserLists, true)
|
||||
insertUserLists(newUserLists, true)
|
||||
userLists = newUserLists
|
||||
}
|
||||
}
|
||||
@@ -86,7 +86,7 @@ export const createUserLists = (position: number, lists: LX.List.UserListInfo[])
|
||||
// position: index,
|
||||
// }
|
||||
// })
|
||||
// inertUserLists(newUserLists, true)
|
||||
// insertUserLists(newUserLists, true)
|
||||
// userLists = newUserLists
|
||||
// }
|
||||
|
||||
@@ -145,7 +145,7 @@ export const updateUserListsPosition = (position: number, ids: string[]) => {
|
||||
newUserLists.forEach((list, index) => {
|
||||
list.position = index
|
||||
})
|
||||
inertUserLists(newUserLists, true)
|
||||
insertUserLists(newUserLists, true)
|
||||
userLists = newUserLists
|
||||
}
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ export const queryRawLyric = (id: string) => {
|
||||
* 批量插入原始歌词
|
||||
* @param lyrics 列表
|
||||
*/
|
||||
export const inertRawLyric = (lyrics: LX.DBService.Lyricnfo[]) => {
|
||||
export const insertRawLyric = (lyrics: LX.DBService.Lyricnfo[]) => {
|
||||
const db = getDB()
|
||||
const rawLyricInsertStatement = createRawLyricInsertStatement()
|
||||
db.transaction((lyrics: LX.DBService.Lyricnfo[]) => {
|
||||
@@ -102,7 +102,7 @@ export const queryEditedLyric = (id: string) => {
|
||||
* 批量插入已编辑歌词
|
||||
* @param lyrics 列表
|
||||
*/
|
||||
export const inertEditedLyric = (lyrics: LX.DBService.Lyricnfo[]) => {
|
||||
export const insertEditedLyric = (lyrics: LX.DBService.Lyricnfo[]) => {
|
||||
const db = getDB()
|
||||
const rawLyricInsertStatement = createEditedLyricInsertStatement()
|
||||
db.transaction((lyrics: LX.DBService.Lyricnfo[]) => {
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import {
|
||||
queryLyric,
|
||||
queryRawLyric,
|
||||
inertRawLyric,
|
||||
insertRawLyric,
|
||||
deleteRawLyric,
|
||||
updateRawLyric,
|
||||
clearRawLyric,
|
||||
queryEditedLyric,
|
||||
inertEditedLyric,
|
||||
insertEditedLyric,
|
||||
deleteEditedLyric,
|
||||
updateEditedLyric,
|
||||
clearEditedLyric,
|
||||
@@ -90,7 +90,7 @@ export const getRawLyric = (id: string): LX.Music.LyricInfo => {
|
||||
* @param lyricInfo 歌词信息
|
||||
*/
|
||||
export const rawLyricAdd = (id: string, lyricInfo: LX.Music.LyricInfo) => {
|
||||
inertRawLyric(toDBLyric(id, 'raw', lyricInfo))
|
||||
insertRawLyric(toDBLyric(id, 'raw', lyricInfo))
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -150,7 +150,7 @@ export const getEditedLyric = (id: string): LX.Music.LyricInfo => {
|
||||
* @param lyricInfo 歌词信息
|
||||
*/
|
||||
export const editedLyricAdd = (id: string, lyricInfo: LX.Music.LyricInfo) => {
|
||||
inertEditedLyric(toDBLyric(id, 'edited', lyricInfo))
|
||||
insertEditedLyric(toDBLyric(id, 'edited', lyricInfo))
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -185,7 +185,7 @@ export const editedLyricClear = () => {
|
||||
export const editedLyricUpdateAddAndUpdate = (id: string, lyricInfo: LX.Music.LyricInfo) => {
|
||||
const lyrics = queryEditedLyric(id)
|
||||
if (lyrics.length) updateEditedLyric(toDBLyric(id, 'edited', lyricInfo))
|
||||
else inertEditedLyric(toDBLyric(id, 'edited', lyricInfo))
|
||||
else insertEditedLyric(toDBLyric(id, 'edited', lyricInfo))
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -22,7 +22,7 @@ export const queryMusicInfo = (id: string) => {
|
||||
* 批量插入歌曲信息
|
||||
* @param musicInfos 列表
|
||||
*/
|
||||
export const inertMusicInfo = (musicInfos: LX.DBService.MusicInfoOtherSource[]) => {
|
||||
export const insertMusicInfo = (musicInfos: LX.DBService.MusicInfoOtherSource[]) => {
|
||||
const db = getDB()
|
||||
const musicInfoInsertStatement = createMusicInfoInsertStatement()
|
||||
db.transaction((musicInfos: LX.DBService.MusicInfoOtherSource[]) => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import {
|
||||
queryMusicInfo,
|
||||
inertMusicInfo,
|
||||
insertMusicInfo,
|
||||
deleteMusicInfo,
|
||||
clearMusicInfo,
|
||||
countMusicInfo,
|
||||
@@ -44,7 +44,7 @@ export const getMusicInfoOtherSource = (id: string): LX.Music.MusicInfoOnline[]
|
||||
* @param musicInfos 歌词信息
|
||||
*/
|
||||
export const musicInfoOtherSourceAdd = (id: string, musicInfos: LX.Music.MusicInfoOnline[]) => {
|
||||
inertMusicInfo(toDBMusicInfo(id, musicInfos))
|
||||
insertMusicInfo(toDBMusicInfo(id, musicInfos))
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -22,7 +22,7 @@ export const queryMusicUrl = (id: string) => {
|
||||
* 批量插入歌曲url
|
||||
* @param urlInfo 列表
|
||||
*/
|
||||
export const inertMusicUrl = (urlInfo: LX.DBService.MusicUrlInfo[]) => {
|
||||
export const insertMusicUrl = (urlInfo: LX.DBService.MusicUrlInfo[]) => {
|
||||
const db = getDB()
|
||||
const insertStatement = createInsertStatement()
|
||||
const deleteStatement = createDeleteStatement()
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import {
|
||||
queryMusicUrl,
|
||||
inertMusicUrl,
|
||||
insertMusicUrl,
|
||||
deleteMusicUrl,
|
||||
clearMusicUrl,
|
||||
countMusicUrl,
|
||||
@@ -22,7 +22,7 @@ export const getMusicUrl = (id: string): string | null => {
|
||||
* @param urlInfos url信息
|
||||
*/
|
||||
export const musicUrlSave = (urlInfos: LX.Music.MusicUrlInfo[]) => {
|
||||
inertMusicUrl(urlInfos)
|
||||
insertMusicUrl(urlInfos)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div id="container" :class="[{ lock: setting['desktopLyric.isLock'] }, { hide: isHoverHide && isMouseEnter }]">
|
||||
<div id="container" :class="[{ lock: setting['desktopLyric.isLock'] }, { hide: isHide || (isHoverHide && isMouseEnter) }]">
|
||||
<div id="main" @mouseenter="handleMouseEnter" @mouseleave="handleMouseLeave" @mousemove="handleMouseMoveMain">
|
||||
<transition enter-active-class="animated-fast fadeIn" leave-active-class="animated-fast fadeOut">
|
||||
<div v-show="!setting['desktopLyric.isLock']" class="control-bar">
|
||||
@@ -12,14 +12,16 @@
|
||||
<common-audio-visualizer v-if="setting['desktopLyric.audioVisualization']" />
|
||||
</transition>
|
||||
</div>
|
||||
<div class="resize resize-left" @mousedown.self="handleMouseDown('left', $event)" @touchstart.self="handleTouchDown('left', $event)" />
|
||||
<div class="resize resize-top" @mousedown.self="handleMouseDown('top', $event)" @touchstart.self="handleTouchDown('top', $event)" />
|
||||
<div class="resize resize-right" @mousedown.self="handleMouseDown('right', $event)" @touchstart.self="handleTouchDown('right', $event)" />
|
||||
<div class="resize resize-bottom" @mousedown.self="handleMouseDown('bottom', $event)" @touchstart.self="handleTouchDown('bottom', $event)" />
|
||||
<div class="resize resize-top-left" @mousedown.self="handleMouseDown('top-left', $event)" @touchstart.self="handleTouchDown('top-left', $event)" />
|
||||
<div class="resize resize-top-right" @mousedown.self="handleMouseDown('top-right', $event)" @touchstart.self="handleTouchDown('top-right', $event)" />
|
||||
<div class="resize resize-bottom-left" @mousedown.self="handleMouseDown('bottom-left', $event)" @touchstart.self="handleTouchDown('bottom-left', $event)" />
|
||||
<div class="resize resize-bottom-right" @mousedown.self="handleMouseDown('bottom-right', $event)" @touchstart.self="handleTouchDown('bottom-right', $event)" />
|
||||
<template v-if="isShowResize">
|
||||
<div class="resize resize-left" @mousedown.self="handleMouseDown('left', $event)" @touchstart.self="handleTouchDown('left', $event)" />
|
||||
<div class="resize resize-top" @mousedown.self="handleMouseDown('top', $event)" @touchstart.self="handleTouchDown('top', $event)" />
|
||||
<div class="resize resize-right" @mousedown.self="handleMouseDown('right', $event)" @touchstart.self="handleTouchDown('right', $event)" />
|
||||
<div class="resize resize-bottom" @mousedown.self="handleMouseDown('bottom', $event)" @touchstart.self="handleTouchDown('bottom', $event)" />
|
||||
<div class="resize resize-top-left" @mousedown.self="handleMouseDown('top-left', $event)" @touchstart.self="handleTouchDown('top-left', $event)" />
|
||||
<div class="resize resize-top-right" @mousedown.self="handleMouseDown('top-right', $event)" @touchstart.self="handleTouchDown('top-right', $event)" />
|
||||
<div class="resize resize-bottom-left" @mousedown.self="handleMouseDown('bottom-left', $event)" @touchstart.self="handleTouchDown('bottom-left', $event)" />
|
||||
<div class="resize resize-bottom-right" @mousedown.self="handleMouseDown('bottom-right', $event)" @touchstart.self="handleTouchDown('bottom-right', $event)" />
|
||||
</template>
|
||||
<layout-icons />
|
||||
</div>
|
||||
</template>
|
||||
@@ -30,15 +32,19 @@ import useHoverHide from '@lyric/useApp/useHoverHide'
|
||||
import { onMounted } from '@common/utils/vueTools'
|
||||
import { setting } from '@lyric/store/state'
|
||||
import { sendConnectMainWindowEvent } from '@lyric/utils/ipc'
|
||||
import useCommon from '@lyric/useApp/useCommon'
|
||||
import useLyric from '@lyric/useApp/useLyric'
|
||||
import useTheme from '@lyric/useApp/useTheme'
|
||||
import { init as initLyricPlayer } from '@lyric/core/lyric'
|
||||
import usePauseHide from '@lyric/useApp/usePauseHide'
|
||||
|
||||
|
||||
const isShowResize = window.os != 'windows'
|
||||
useCommon()
|
||||
const { handleMouseDown, handleTouchDown } = useWindowSize()
|
||||
const { handleMouseMoveMain, isHoverHide, isMouseEnter } = useHoverHide()
|
||||
useLyric()
|
||||
useTheme()
|
||||
const isHide = usePauseHide()
|
||||
|
||||
|
||||
onMounted(() => {
|
||||
@@ -81,6 +87,9 @@ body {
|
||||
}
|
||||
&.hide {
|
||||
opacity: .05;
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user