GithubHelp home page GithubHelp logo

gumengyu / music-you Goto Github PK

View Code? Open in Web Editor NEW
497.0 3.0 58.0 218.07 MB

🪗 一个美观简约的Material Design 3 (Material You) 风格pc音乐播放器

Home Page: https://music-you-next.vercel.app

License: GNU Affero General Public License v3.0

JavaScript 1.71% HTML 0.07% SCSS 0.79% TypeScript 97.30% Python 0.13%
material-you music electron music-player netease-cloud-music react reactjs

music-you's Introduction

music-you's People

Contributors

gumengyu avatar yuniling avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

music-you's Issues

灰色音乐不可播放

网易app可以播放没权限但是云盘有的歌曲,希望你们可以支持下,歌单音乐越来越少,就靠云盘撑着了!

播放一段时间后就停止播放

正常播放音乐一段时间后,就停止播放了,并且点 播放键 无反应,切换下一首或者点击其他音乐才能继续播放

客户端版本:vplayer-next.2.0.2
Windows版本:Windows 11 专业工作站版 22H2(22622.586) / Windows Feature Experience Pack 1000.22634.1000.0

托盘图标消失了

Describe the bug
托盘图标消失了

To Reproduce

Expected behavior

Screenshots
6AZWQHzGvG

Desktop (please complete the following information):

  • OS: [Windows]
  • Version [22621.963]

能否添加歌曲黑名单自动跳过?

网易云音乐手机版有一个屏蔽歌曲和歌手的功能,而music-you并没有该功能,希望可以出一个,即使没法与手机同步黑名单也好啊,用户自己屏蔽

[无法编译] At least one <template> or <script> is required in a single file component.

Describe the bug

[vite:vue] At least one <template> or <script> is required in a single file component.
file: /home/yidaozhan/music-you/packages/renderer/src/pages/search/more.vue
node:internal/process/esm_loader:97
    internalBinding('errors').triggerUncaughtException(
                              ^

Error [SyntaxError]: At least one <template> or <script> is required in a single file component.
    at Object.parse (/home/yidaozhan/music-you/node_modules/@vue/compiler-sfc/dist/compiler-sfc.cjs.js:5245:21)
    at createDescriptor (/home/yidaozhan/music-you/node_modules/@vitejs/plugin-vue/dist/index.js:4005:43)
    at transformMain (/home/yidaozhan/music-you/node_modules/@vitejs/plugin-vue/dist/index.js:4350:34)
    at Object.transform (/home/yidaozhan/music-you/node_modules/@vitejs/plugin-vue/dist/index.js:4739:16)
    at /home/yidaozhan/music-you/node_modules/rollup/dist/shared/rollup.js:22826:37 {
  id: '/home/yidaozhan/music-you/packages/renderer/src/pages/search/more.vue',
  plugin: 'vite:vue',
  hook: 'transform',
  code: 'PLUGIN_ERROR',
  watchFiles: [
    '/home/yidaozhan/music-you/packages/renderer/index.html',
    'vite/modulepreload-polyfill',

...

To Reproduce
pnpm run electron:build:linux

Desktop (please complete the following information):
Node.js Linux v16.18.0

设置中音频输出设备问题

描述:
手动在设置中选择输出设备后只有日推第一首有声音,其余途径的歌曲都没声音,再次切换回default后正常

Linux下运行报错

Describe the bug
Linux下运行黑屏,黑屏中报错信息如下:
运行后报错如下:

TypeError: Cannot read properties of null (reading 'vipInfo')
    at useUser (http://127.0.0.1:12140/assets/index-413b1906.js:288:7618)
    at MiniDrawer (http://127.0.0.1:12140/assets/index-413b1906.js:288:8578)
    at Xh (http://127.0.0.1:12140/assets/index-413b1906.js:38:21718)
    at Wk (http://127.0.0.1:12140/assets/index-413b1906.js:40:48426)
    at Vk (http://127.0.0.1:12140/assets/index-413b1906.js:40:43708)
    at Uk (http://127.0.0.1:12140/assets/index-413b1906.js:40:43631)
    at Jk (http://127.0.0.1:12140/assets/index-413b1906.js:40:43472)
    at Ok (http://127.0.0.1:12140/assets/index-413b1906.js:40:39453)
    at Hk (http://127.0.0.1:12140/assets/index-413b1906.js:40:38283)
    at ar (http://127.0.0.1:12140/assets/index-413b1906.js:25:1729)

Desktop (please complete the following information):

  • OS: EndeavourOS
  • Kernel: 6.1.60-1-lts
  • PackageVer: 3.0.0-alpha.1

是否可以增加全局热键

增加全局快捷键方便切换歌曲
有时候歌曲卡住,得从托盘里播放下一首
如果有快捷键的话就更方便了

不要让我选中程序中的图片或者没有必要被选中的文本

Describe the bug
如果我随便一拖动鼠标就选中一大堆奇奇怪怪的东西, 那使用体验无疑是糟糕的

To Reproduce
Steps to reproduce the behavior:

  1. 随便找个地方
  2. 按住并拖动鼠标

Expected behavior
别选中

Screenshots
image

Desktop (please complete the following information):

  • OS: Win11
  • Version 22H2 (OS Build 22621.1105)

vercel部署

Describe the bug
您好,我有vercel部署的需求,但是部署后是404,请问具体应该怎样部署?
我已经部署了可用的api
我的项目地址在 https://test2.66619.eu.org

To Reproduce
image

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: win
  • Version [e.g. v2.0.8]

在展示歌曲封面的时候,关闭按钮无法点击

  • 打开封面后,关闭按钮在标题栏区域,需要往下一点点才能点击关闭,如果双击会全屏
  • 如果封面正在加载,无法关闭封面
  • 打开封面的时候,窗口会变大一些,如果按了esc键,窗口大小无法还原

Android version

Is there any chance to get an android version of this app in future!?
It would be great if the users can get an android version for this app.

希望可以增加取色引擎(类似Android 13 的Monet)

这里指的取色不是指的取系统壁纸的颜色(应该难度很大,可能没有相关的接口)
想的是取专辑图片的颜色,举例如下:
这首歌,专辑主体呈乳白色,则取色引擎获得专辑颜色后,整个主题界面呈现不同程度的偏乳白的的色调
93C23042BF233A8E06DA2E193FFEF58D
这首歌,专辑主体呈蓝调,则取色引擎获得专辑颜色后,整个主题界面呈现不同程度的蓝调的的色调
623CD7E676E495C7892D23546EA5430C

linux 下music-you不响应playerctl控制 【feature】

Screenshots
图片

Desktop (please complete the following information):

  • OS:Arch linux [version: Linux Archwen 6.1.58-1-lts]
  • wm:hyprland [version: v0.31.0-8-gd70cc88d]
  • music-you [version: music-you-bin 2.0.14-1]
    目前最喜欢的桌面音乐播放器,已经推荐给群里的朋友们了,除了终端和浏览器又一个常驻后台的应用。

使用外部API打包安装后启动报错

Describe the bug
修改“.env.electron“文件中“VITE_API_SERVER_HOST“参数为外部API地址打包安装后启动报错,但是可以正常打开应用并播放音乐。
以下为“.env.electron“文件

.env.electron

VITE_IS_CLIENT = true
VITE_API_SERVER_HOST = 10.0.1.15
VITE_API_SERVER_PORT = 12141
VITE_CLIENT_PORT = 12140

Desktop:

  • OS: Ubuntu22.04
  • Version git dev分支

Screenshots
报错截图
image

API截图
image

image

可以播放本地音乐嘛

为啥大家都热衷于开发三方网易云,明明都做得很好,没一个支持播放本地音乐的,emoji,网上找了一大圈就一个musicplayer2好用一点,不过界面不是很好看,这个项目的节目我都要舔屏了。

1个优化和bug

菜单按钮和操作按钮重叠
image
歌词页面报错:
image
歌词设置页面报错
image

添加独立的关闭,最小化,最大化

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. 打开客户端

Expected behavior
A clear and concise description of what you expected to happen.
应当具有独立的关闭,最小化,最大化

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: [e.g. Ubuntu 22.04.2 , Gnome 42.9]
  • Version [e.g. v2.0.12]

部署到 vercel

问一下该项目如何自己部署到 vercel 上?部署到 vercel 上后的体验与桌面客户端有什么区别?

捉虫/UX小建议

版本 平台
3.0.1 macOS arm64

十分美观 是用过最丝滑的桌面端网易云了

  • 歌词翻译选项似乎没有用? 小窗播放总是有翻译,全屏总是没有

  • 将歌曲栏放到右下角时点击专辑封面返回的操作逻辑有些奇怪,希望可以添加单独按键

    image
  • 各种地方的...菜单鼠标悬停时的“更多操作”和弹出菜单会有重叠
    同时,再次点击会关闭而不是重复弹出可能更易于操作

    image
  • 底部UI没有歌曲长度

    image
  • 小窗播放时不悬停可以考虑隐藏UI,更加简洁美观

    image
  • 可以考虑把播放模式和随机模式放在一起,更符合操作逻辑

    image
  • 全屏模式的关闭按键在右上角,误触开启/只是看一眼歌词的话需要横跨整个屏幕才能点到,稍微挪近一些会比较好
    例如网易云是原地点击关闭

    image
  • 切到上一首歌曲仍然是向前滚动,如果可以反向滚动会更符合逻辑

邮箱、手机号登录无效

Describe the bug
A clear and concise description of what the bug is.
登录方式选中 邮箱|手机号登录 时无反应,点击登录键后会转圈,但是不会登录,也不会报错。
To Reproduce
Steps to reproduce the behavior:

  1. 打开软件
  2. 使用 邮箱|手机号登录 方式登录

Expected behavior
A clear and concise description of what you expected to happen.
使用 邮箱|手机号登录 方式登录后要么登录成功,要么报错
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. MacOS] :Windows 11
  • Version [e.g. v2.0.8] :22623.1180

迷你控制栏部分控件不应用主题色

music-you_9CuiLyrCVw
↑底部控制栏

music-you_hjFnG6023T
↑迷你控制栏

随机播放播放顺序两个控件在两种控制栏中应用主题色的情况不一致,其他控件是一致的

希望统一下,最好都应用主题色🫡

ArchLinux 下编译出错

Describe the bug
本来想将这个包移植到ArchLinux的AUR,但是在编译过程中报错。
PKGBUILD文件内容如下:

# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
pkgname="music-you-appimage"
pkgver=2.0.11
pkgrel=1
pkgdesc="一个美观简约的Material Design 3 (Material You) 风格网易云音乐播放器pc客户端"
arch=('x86_64')
url="https://v-player-git-dev-gumengyu.vercel.app/"
_githuburl="https://github.com/GuMengYu/music-you"
license=('AGPL3')
options=(!strip)
conflicts=("${pkgname%-appimage}")
depends=('zlib' 'glibc' 'hicolor-icon-theme')
makedepends=('git' 'npm' 'gendesk' 'yarn')
_install_path="/opt/appimages"
source=("${pkgname%-appimage}-${pkgver}.tar.gz::${_githuburl}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('709a650eae1ab1f44021c25bbf18e7c560299f837183b7da1b7107878795003b')
build() {
    cd "${srcdir}/${pkgname%-appimage}-${pkgver}"
    npm install
    npm run electron:prebuild && electron-builder --linux appimage
}
package() {
    install -Dm755 "${srcdir}/${pkgname%-appimage}-${pkgver}/release/${pkgver}/${pkgname%-appimage}-${pkgver}.AppImage" "${pkgdir}/${_install_path}/${pkgname%-appimage}.AppImage"
    install -Dm644 "${srcdir}/${pkgname%-appimage}-${pkgver}/doc/logo.png" "${pkgdir}/usr/share/pixmaps/${pkgname%-appimage}.png"
    gendesk -f -n --icon "${pkgname%-appimage}" --categories "AudioVideo" --name "music-you" --exec "${_install_path}/${pkgname%-appimage}.AppImage --no-sandbox %U"
    install -Dm644 "${srcdir}/${pkgname}.desktop" -t "${pkgdir}/usr/share/applications"
}

在执行npm install时,出现了错误,内容如下:

npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm ERR! code 1
npm ERR! git dep preparation failed
npm ERR! command /usr/bin/node /usr/lib/node_modules/npm/bin/npm-cli.js install --force --cache=$HOME/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run
npm ERR! npm WARN using --force Recommended protections disabled.
npm ERR! npm ERR! code ETARGET
npm ERR! npm ERR! notarget No matching version found for vuetify@next.
npm ERR! npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! npm ERR! notarget a package version that doesn't exist.
npm ERR! 
npm ERR! npm ERR! A complete log of this run can be found in:
npm ERR! npm ERR!     $HOME/.npm/_logs/2023-06-01T08_05_59_538Z-debug-0.log

npm ERR! A complete log of this run can be found in:
npm ERR!     $HOME/.npm/_logs/2023-06-01T08_05_54_222Z-debug-0.log
==> 错误: 在 build() 中发生一个错误。
    正在放弃...

Desktop (please complete the following information):

  • OS: Arch Linux
  • Kernel: 6.1.31-1-lts
  • DE: Cinnamon

windows 下窗口控制按钮丢失

Describe the bug
windows 下窗口控制按钮丢失

Desktop (please complete the following information):

  • OS: Windows
  • Version v2.0.12-hotfix

关于 上传音乐 & 关闭主面板行为 & 音乐可视化 上碰到的一些问题

作者大大更新真快,云盘数量限制的问题一下就弄好了。
不过新版中 点击 音乐库/云盘/上传音乐 没有出现选择文件的提示,反而会重置播放列表,使歌从播放列表的第一首开始播放。
不知道是 bug ,还是我的 操作方式问题

客户端版本:vplayer-next-2.0.3 (便携版)
运行系统规格:Windows 11 专业工作站版 22H2 (Windows Feature Experience Pack 1000.22634.1000.0)

那匹马 i报错

PS E:\webstorm_workspace\music-you> npm install
npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
npm ERR! code 1
npm ERR! path E:\webstorm_workspace\music-you\node_modules\electron
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node install.js
npm ERR! RequestError: read ECONNRESET
npm ERR! at ClientRequest. (E:\webstorm_workspace\music-you\node_modules\got\dist\source\core\index.js:970:111)
npm ERR! at Object.onceWrapper (node:events:628:26)
npm ERR! at ClientRequest.emit (node:events:525:35)
npm ERR! at ClientRequest.origin.emit (E:\webstorm_workspace\music-you\node_modules@szmarczak\http-timer\dist\source\index.js:43:20)
npm ERR! at TLSSocket.socketErrorListener (node:_http_client:494:9)
npm ERR! at TLSSocket.emit (node:events:513:28)
npm ERR! at emitErrorNT (node:internal/streams/destroy:157:8)
npm ERR! at emitErrorCloseNT (node:internal/streams/destroy:122:3)
npm ERR! at processTicksAndRejections (node:internal/process/task_queues:83:21)
npm ERR! at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)

npm ERR! A complete log of this run can be found in:
npm ERR! E:\XiTong\node-v16.20.1-win-x64\node_cache_logs\2023-08-18T19_13_57_220Z-debug-0.log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.