Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
lyswhut committed Sep 2, 2022
2 parents 41f4130 + f4285ae commit 66b965d
Show file tree
Hide file tree
Showing 13 changed files with 38 additions and 25 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ 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/).

## [1.22.3](https://github.com/lyswhut/lx-music-desktop/compare/v1.22.2...v1.22.3) - 2022-09-03

### 修复

- 修复因音源的域名到期导致的音源失效的问题

## [1.22.2](https://github.com/lyswhut/lx-music-desktop/compare/v1.22.1...v1.22.2) - 2022-08-18

### 优化
Expand Down
21 changes: 19 additions & 2 deletions FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

### 提示 `getaddrinfo EAI_AGAIN ...``无法连接到服务器`

尝试在在浏览器打开这个地址`http://ts.tempmusic.tk`,浏览器显示404是正常的,如果不是404那就证明所在网络无法访问接口服务器。
尝试在在浏览器打开这个地址`http://ts.tempmusics.tk`,浏览器显示404是正常的,如果不是404那就证明所在网络无法访问接口服务器。
若网页无法打开或打开来不是404,则可能是DNS的问题,可以尝试以下办法:

1. 将DNS改成自动获取试试(注:改完可能需要清理下系统DNS缓存才生效)
Expand All @@ -68,7 +68,7 @@
5. 若还不行请到这个链接查看详情:<https://github.com/lyswhut/lx-music-desktop/issues/5>
6. 若没有在第5条链接中的第一条评论中看到接口无法使用的说明,则应该是你网络无法访问接口服务器的问题,如果接口有问题我会在那里说明。

想要知道是不是自己网络的问题可以看看`http://ts.tempmusic.tk`能不能在浏览器打开,浏览器显示404是正常的,如果不是404那就证明所在网络无法访问接口服务器。
想要知道是不是自己网络的问题可以看看`http://ts.tempmusics.tk`能不能在浏览器打开,浏览器显示404是正常的,如果不是404那就证明所在网络无法访问接口服务器。
若网页无法打开或打来不是404,则应该是DNS的问题,可以尝试以下办法:

1. 将DNS改成自动获取试试
Expand Down Expand Up @@ -178,6 +178,23 @@

## 界面异常(界面显示不完整)

### Windows 10、11界面异常、界面无法显示

尝试添加运行参数 `--disable-gpu-sandbox` 启动,例如:`.\lx-music-desktop.exe --disable-gpu-sandbox`,添加方法可自行百度“给快捷方式加参数”。

若以上方法无效,则尝试将 `--disable-gpu-sandbox` 逐个换成以下参数启动,直到恢复正常为止:

- `--no-sandbox`
- `-dha`
- `--disable-gpu`

:::caution
这些参数会禁用程序的某些安全特性或降低程序性能,没有遇到问题不要使用它们!
:::

对于界面无法显示,任务栏里也没看到图标,但是任务管理器里面看到进程的问题,还可尝试更换软件安装目录(对于安装版需要先卸载再换目录安装,绿色版直接剪切移动即可,只要目录换了就行),<br />
此方法的相关讨论看:<https://github.com/lyswhut/lx-music-desktop/issues/943#issuecomment-1217832186>

### Windows 7 下界面异常

由于软件默认使用了透明窗口,根据Electron官方文档的[说明](https://www.electronjs.org/docs/latest/tutorial/window-customization#limitations)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lx-music-desktop",
"version": "1.22.2",
"version": "1.22.3",
"description": "一个免费的音乐查找助手",
"main": "./dist/main.js",
"productName": "lx-music-desktop",
Expand Down
12 changes: 1 addition & 11 deletions publish/changeLog.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
### 优化

- 为tx、kw源添加 Flac 24bit 音质显示,注:由于之前没有记录此音质,所以之前收藏的歌曲信息中不包含它

### 修复

- 修复无法批量排序歌曲的问题
- 修复某些缺失的繁体中文翻译
- 修复企鹅音乐搜索失效的问题

### 其他

- 降级electron到v15.5.7
- 修复因音源的域名到期导致的音源失效的问题
2 changes: 1 addition & 1 deletion publish/version.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/renderer/store/modules/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ const mutations = {
state.sourceList[source].total = 0
state.sourceMaxPage[source] = 0
}
state.list.length = []
state.list = []
state.page = 0
state.allPage = 0
state.total = 0
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/utils/music/bd/api-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { dnsLookup } from '../utils'

const api_test = {
getMusicUrl(songInfo, type) {
const requestObj = httpFetch(`http://ts.tempmusic.tk/url/bd/${songInfo.songmid}/${type}`, {
const requestObj = httpFetch(`http://ts.tempmusics.tk/url/bd/${songInfo.songmid}/${type}`, {
method: 'get',
timeout,
headers,
Expand Down
6 changes: 3 additions & 3 deletions src/renderer/utils/music/kg/api-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { dnsLookup } from '../utils'

const api_test = {
getMusicUrl(songInfo, type) {
const requestObj = httpFetch(`http://ts.tempmusic.tk/url/kg/${songInfo._types[type].hash}/${type}`, {
const requestObj = httpFetch(`http://ts.tempmusics.tk/url/kg/${songInfo._types[type].hash}/${type}`, {
method: 'get',
timeout,
headers,
Expand All @@ -18,7 +18,7 @@ const api_test = {
return requestObj
},
getPic(songInfo) {
const requestObj = httpFetch(`http://ts.tempmusic.tk/pic/kg/${songInfo.hash}`, {
const requestObj = httpFetch(`http://ts.tempmusics.tk/pic/kg/${songInfo.hash}`, {
method: 'get',
timeout,
headers,
Expand All @@ -30,7 +30,7 @@ const api_test = {
return requestObj
},
getLyric(songInfo) {
const requestObj = httpFetch(`http://ts.tempmusic.tk/lrc/kg/${songInfo.hash}`, {
const requestObj = httpFetch(`http://ts.tempmusics.tk/lrc/kg/${songInfo.hash}`, {
method: 'get',
timeout,
headers,
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/utils/music/kw/api-temp.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { dnsLookup } from '../utils'

const api_temp = {
getMusicUrl(songInfo, type) {
const requestObj = httpFetch(`http://tm.tempmusic.tk/url/kw/${songInfo.songmid}/${type}`, {
const requestObj = httpFetch(`http://tm.tempmusics.tk/url/kw/${songInfo.songmid}/${type}`, {
method: 'get',
headers,
timeout,
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/utils/music/kw/api-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const api_test = {
// return requestObj
// },
getMusicUrl(songInfo, type) {
const requestObj = httpFetch(`http://ts.tempmusic.tk/url/kw/${songInfo.songmid}/${type}`, {
const requestObj = httpFetch(`http://ts.tempmusics.tk/url/kw/${songInfo.songmid}/${type}`, {
method: 'get',
timeout,
headers,
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/utils/music/mg/api-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { dnsLookup } from '../utils'

const api_test = {
getMusicUrl(songInfo, type) {
const requestObj = httpFetch(`http://ts.tempmusic.tk/url/mg/${songInfo.copyrightId}/${type}`, {
const requestObj = httpFetch(`http://ts.tempmusics.tk/url/mg/${songInfo.copyrightId}/${type}`, {
method: 'get',
timeout,
headers,
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/utils/music/tx/api-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { dnsLookup } from '../utils'

const api_messoer = {
getMusicUrl(songInfo, type) {
const requestObj = httpFetch(`http://ts.tempmusic.tk/url/tx/${songInfo.songmid}/${type}`, {
const requestObj = httpFetch(`http://ts.tempmusics.tk/url/tx/${songInfo.songmid}/${type}`, {
method: 'get',
timeout,
headers,
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/utils/music/wy/api-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { dnsLookup } from '../utils'

const api_test = {
getMusicUrl(songInfo, type) {
const requestObj = httpFetch(`http://ts.tempmusic.tk/url/wy/${songInfo.songmid}/${type}`, {
const requestObj = httpFetch(`http://ts.tempmusics.tk/url/wy/${songInfo.songmid}/${type}`, {
method: 'get',
timeout,
headers,
Expand Down

0 comments on commit 66b965d

Please sign in to comment.