Closed
Conversation
fix🐛: 修复了linux6.1内核下硬件加速被错误关闭的bug
🦄 refactor: 初始化桌面歌词至屏幕下方
fix🐛: 修复了歌词翻译和音译开关不生效的bug
refactor(music): 优化音乐播放逻辑和数据处理
增加会员雷达,里面的每日推荐歌曲质量还不错 https://music.163.com/#/playlist?id=8402996200
Update idMeta.json
- 在 AboutSetting 组件中添加了 jumpLink 函数,实现更新日志中链接的点击跳转 - 修复 CoverList 组件移入移出会出现黑角的bug
fix: 更新日志中的超链接跳转由新窗口打开
Docker 镜像内置 UnblockNeteaseMusic, 支持播放部分无版权歌曲
…y of what's new:
feat: Implement proxy settings, API/Docker docs & upgrade deps
This commit introduces several enhancements and documentation improvements:
1. **Dependency Upgrades:**
* I've updated all project dependencies to their latest versions.
* I also addressed a TypeScript compatibility issue with `electron-store` by using `@ts-ignore` as a temporary workaround. This will be fully resolved once we update the Node.js environment to v20+.
2. **Global Proxy Settings:**
* I've implemented a comprehensive proxy configuration feature that you can find in the application settings.
* You can now choose between:
* No proxy
* System proxy
* Manual HTTP/HTTPS proxy (with server, port, and optional username/password)
* PAC (Proxy Auto-Config) URL
* These settings are saved using `electron-store`.
3. **API Documentation (`API_DOCUMENTATION.md`):**
* I've created a document detailing the SPlayer backend API.
* It explains the dynamic route generation for `NeteaseCloudMusicApi` endpoints.
* It also provides information on the custom Unblock API (`/api/unblock/netease`, `/api/unblock/kuwo`).
* You'll find a link to the official `NeteaseCloudMusicApi` documentation there as well.
4. **Environment and Configuration Documentation (`ENVIRONMENT_SETUP.md`):**
* I've created a document outlining:
* Node.js (>=20) and `pnpm` requirements.
* Key environment variables (`VITE_WEB_PORT`, `VITE_SERVER_PORT`, `VITE_API_URL`).
* Scripts for development, building, linting, etc.
* An overview of main configuration files and where your settings are stored.
5. **Docker Deployment Guide (`DOCKER_DEPLOYMENT.md`):**
* I've added support for running the complete SPlayer application (frontend UI via Nginx, SPlayer backend API, NeteaseCloudMusicApi, and UnblockNeteaseMusic) using Docker.
* I modified `electron/main/index.ts` and `electron/server/index.ts` to enable a headless "Docker mode" for the SPlayer backend.
* I updated `docker-entrypoint.sh` to manage service startup, including setting `ELECTRON_STORE_PATH` for config persistence.
* I revised `nginx.conf` to serve the UI on port 80 (container) and proxy API requests to the appropriate backend services.
* I updated `docker-compose.yml` with new port mappings (e.g., host 8080 to container 80 for Nginx), environment variables for Docker mode, and volumes for persistent SPlayer settings (`./splayer_data`) and Nginx configuration.
* The guide includes detailed setup instructions and notes the current limitation that settings management via the UI (which relies on Electron IPC) will require further refactoring to work via HTTP calls in the Dockerized web environment.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
test