We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5113af1 + 46d646d commit ccda9feCopy full SHA for ccda9fe
1 file changed
src/core/player/SongManager.ts
@@ -290,7 +290,8 @@ class SongManager {
290
console.error("❌ 本地文件不存在");
291
return { id: song.id, url: undefined };
292
}
293
- return { id: song.id, url: `file://${song.path}` };
+ const encodedPath = song.path.replace(/#/g, "%23").replace(/\?/g, "%3F");
294
+ return { id: song.id, url: `file://${encodedPath}` };
295
296
297
// 在线歌曲
0 commit comments