From c21122a753de853e0ec6d9348c6e65571968bd4a Mon Sep 17 00:00:00 2001 From: lyswhut Date: Mon, 25 Nov 2024 18:23:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=93=9D=E7=89=99=E6=AD=8C?= =?UTF-8?q?=E8=AF=8D=E5=9C=A8=E6=9B=B4=E6=96=B0=E6=98=AF=E5=B0=81=E9=9D=A2?= =?UTF-8?q?=E4=B8=A2=E5=A4=B1=E7=9A=84=E9=97=AE=E9=A2=98=EF=BC=881.7.0-bet?= =?UTF-8?q?a.2=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 12 ++++++------ package.json | 4 ++-- publish/changeLog.md | 2 +- src/core/music/utils.ts | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index a3bd09c6..02695400 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,7 +29,7 @@ "react-native-pager-view": "6.3.0", "react-native-quick-base64": "^2.1.2", "react-native-quick-md5": "^3.0.6", - "react-native-track-player": "github:lyswhut/react-native-track-player#bbd330795e9b06177f00441286a4f4cab72d5ed5", + "react-native-track-player": "github:lyswhut/react-native-track-player#01873f81e30de85ab96363ad7351cf4bdcd39e37", "react-native-vector-icons": "^10.2.0" }, "devDependencies": { @@ -10873,8 +10873,8 @@ }, "node_modules/react-native-track-player": { "version": "2.1.2", - "resolved": "git+ssh://git@github.com/lyswhut/react-native-track-player.git#bbd330795e9b06177f00441286a4f4cab72d5ed5", - "integrity": "sha512-jMJPaI8o3trtxE9QL/RAXoCHRhp148oz4tUsoxK4lXkw6Kg+Ij1x0RxFJHaK1T4vkrCGyoe+AJvXvY7Ni0HUUA==", + "resolved": "git+ssh://git@github.com/lyswhut/react-native-track-player.git#01873f81e30de85ab96363ad7351cf4bdcd39e37", + "integrity": "sha512-bJJiUPEXkSJ9mVkitfgTh7/7jONRZorktn1rpGpHTZzqaL4qKpiCgUy0y1w0uhMZvubmASlgujAHu6lxl2ZGaA==", "license": "Apache-2.0", "peerDependencies": { "react": ">=16.8.6", @@ -21483,9 +21483,9 @@ } }, "react-native-track-player": { - "version": "git+ssh://git@github.com/lyswhut/react-native-track-player.git#bbd330795e9b06177f00441286a4f4cab72d5ed5", - "integrity": "sha512-jMJPaI8o3trtxE9QL/RAXoCHRhp148oz4tUsoxK4lXkw6Kg+Ij1x0RxFJHaK1T4vkrCGyoe+AJvXvY7Ni0HUUA==", - "from": "react-native-track-player@github:lyswhut/react-native-track-player#bbd330795e9b06177f00441286a4f4cab72d5ed5", + "version": "git+ssh://git@github.com/lyswhut/react-native-track-player.git#01873f81e30de85ab96363ad7351cf4bdcd39e37", + "integrity": "sha512-bJJiUPEXkSJ9mVkitfgTh7/7jONRZorktn1rpGpHTZzqaL4qKpiCgUy0y1w0uhMZvubmASlgujAHu6lxl2ZGaA==", + "from": "react-native-track-player@github:lyswhut/react-native-track-player#01873f81e30de85ab96363ad7351cf4bdcd39e37", "requires": {} }, "react-native-vector-icons": { diff --git a/package.json b/package.json index c44ce05f..53a53d05 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lx-music-mobile", - "version": "1.7.0-beta.1", + "version": "1.7.0-beta.2", "versionCode": 69, "private": true, "scripts": { @@ -64,7 +64,7 @@ "react-native-pager-view": "6.3.0", "react-native-quick-base64": "^2.1.2", "react-native-quick-md5": "^3.0.6", - "react-native-track-player": "github:lyswhut/react-native-track-player#bbd330795e9b06177f00441286a4f4cab72d5ed5", + "react-native-track-player": "github:lyswhut/react-native-track-player#01873f81e30de85ab96363ad7351cf4bdcd39e37", "react-native-vector-icons": "^10.2.0" }, "devDependencies": { diff --git a/publish/changeLog.md b/publish/changeLog.md index 747cbb74..f0d6b8ec 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -20,4 +20,4 @@ ### ε…Άδ»– -react-native β†’ 0.73.10 +react-native β†’ 0.73.11 diff --git a/src/core/music/utils.ts b/src/core/music/utils.ts index c38c5393..ad107821 100644 --- a/src/core/music/utils.ts +++ b/src/core/music/utils.ts @@ -58,7 +58,7 @@ export const getOtherSource = async(musicInfo: LX.Music.MusicInfo | LX.Download. reject(new Error('find music timeout')) }, 12_000) findMusic(searchMusicInfo).then((otherSource) => { - if (otherSourceCache.size > 100) otherSourceCache.clear() + if (otherSourceCache.size > 10) otherSourceCache.clear() const source = otherSource.map(toNewMusicInfo) as LX.Music.MusicInfoOnline[] otherSourceCache.set(musicInfo, source) resolve(source)