Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

较高清晰度的封面只显示了一次,此后只显示低清晰度封面 #323

Open
Eason20000 opened this issue Jan 21, 2025 · 6 comments

Comments

@Eason20000
Copy link

Eason20000 commented Jan 21, 2025

描述 Bug
NeteaseCloudMusicGtk4 在 GNOME 扩展 media-controls 中显示的封面清晰度较低。
第一次播放一首歌曲的时候,会短暂地显示高清晰度的封面。但是切换到另外一首歌之后再切回去就变成低清晰度的封面了。

重现步骤
Steps to reproduce the behavior:

  1. 安装 GNOME 扩展 media-controls。
  2. 启动 NeteaseCloudMusicGtk4 播放任意歌曲。
  3. 打开顶栏中的 media-controls 扩展面板。
  4. See error

期望行为
一直显示高清晰度封面。

截屏
Image
Image
Image
Image
Image
Image

系统信息

  • Hardware Model: Gigabyte Technology Co., Ltd. Z390 GAMING X
  • Memory: 32.0 GiB
  • Processor: Intel® Core™ i5-9400F × 6
  • Graphics: AMD Radeon™ RX 7800 XT
  • Disk Capacity: 11.0 TB
  • Firmware Version: F10
  • OS Name: Debian GNU/Linux trixie/sid
  • OS Build: (null)
  • OS Type: 64-bit
  • GNOME Version: 47
  • Windowing System: Wayland
  • Kernel Version: Linux 6.12.9-amd64

附加内容
在或许是 media-controls 插件的缓存目录 ~/.local/share/Trash/files/mediacontrols@cliffniff*.github.com 与 ~/.cache/[email protected] 中显示的图片均为高清度图片。

@gmg137
Copy link
Owner

gmg137 commented Jan 21, 2025

第一次显示高清是因为显示的网络图片,第二次因为已经缓存了图片,在播放栏的小图片尺寸只有50*50,为了节省流量mpris也使用了缓存图片导致的。

@Eason20000
Copy link
Author

所以说这个问题在之后的版本会解决吗?还是说在当前版本进行配置就可以解决?

@gmg137
Copy link
Owner

gmg137 commented Jan 21, 2025

因为mpris控制插件或程序各不相同,需要显示的图片尺寸也各不相同,最简单的是不使用缓存图片,需要做些取舍,回头研究下看怎么处理。

@JadeVane
Copy link

JadeVane commented Feb 5, 2025

这个歌词插件看着不错,请问是叫什么名字

@Eason20000
Copy link
Author

这个歌词插件看着不错,请问是叫什么名字

“Desktop Lyric”,https://extensions.gnome.org/extension/4006/desktop-lyric/

@JadeVane
Copy link

JadeVane commented Feb 7, 2025

有了,感谢 >_<

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants