You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2.10.4beta往后更新依赖之后无论如何都无法成功构建代码,2.10.4之前为正常 npm error path D:\Github\lx-music-desktop\node_modules\electron npm error command failed npm error command C:\Windows\system32\cmd.exe /d /s /c node install.js npm error RequestError: read ECONNRESET npm error at ClientRequest. (D:\Github\lx-music-desktop\node_modules\got\dist\source\core\index.js:970:111) npm error at Object.onceWrapper (node:events:633:26) npm error at ClientRequest.emit (node:events:530:35) npm error at origin.emit (D:\Github\lx-music-desktop\node_modules@szmarczak\http-timer\dist\source\index.js:43:20) npm error at emitErrorEvent (node:_http_client:104:11) npm error at TLSSocket.socketErrorListener (node:_http_client:518:5) npm error at TLSSocket.emit (node:events:518:28) npm error at emitErrorNT (node:internal/streams/destroy:170:8) npm error at emitErrorCloseNT (node:internal/streams/destroy:129:3) npm error at process.processTicksAndRejections (node:internal/process/task_queues:90:21) npm error at TLSWrap.onStreamRead (node:internal/stream_base_commons:216:20)
你的网络有问题,需要科学上网
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
由于本人代码水平太低,打开pr的目的是希望其他人可以帮忙实现代码或者可以review我的代码(对ts不熟悉使用了大量的ai)。本人自己完成代码略感困难
如果此pr完成,可以关闭以下的issue
close #2368 #2261 #2115 #2018 #1921 #1805 #1782 #1693 #1680 #1532 #1524 #1385 #913 #837 #800
目前已经完成的部分:
基础的ui和交互逻辑:
待完成的部分:
i18n,主题样式适配,ui优化,稍后播放列表model
目前的难点:
由于lx源码的混乱导致无法真正创建一个list保存将要播放的歌曲,具体体现在
随机播放是播放下一首时从当前歌单随机挑选一首未播放的曲目播放
顺序播放则是获取当前歌单,然后将index加1。歌曲的播放行为基于“我的列表”这一功能且耦合严重。
建议解决方案:
将所有将要播放的歌曲的id保存成一个list然后再进行排序。与原本的“我的列表”解耦