Skip to content

A KDE Plasma widget that displays the lyrics of the currently playing song from Spotify, Netease Cloud Music, Elisa, etc., on any location, including KDE panels and desktops, inspired by the MacOS Netease Cloud Music Top Panel Lyrics。

License

Notifications You must be signed in to change notification settings

KangweiZhu/lyrics-on-panel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plasma6-Lyric-on-panel

alt text

适配最新的 Plasma6 桌面环境, Plasma5版本请移步 master branch

近乎完美地实现了 MacOS 下 网易云音乐 的 歌词顶栏显示 功能

MacOS原效果参考:https://blog.csdn.net/weixin_34061200/article/details/112693092

采用两套逻辑:

  1. YesPlayMusic (YPM): 直接从 YPM 暴露在本地的端口获取 当前播放歌曲的歌词
  2. Compatible(兼容): 从 Lrclib开源 歌词数据库中 通过(歌手,曲名,专辑名)fetch歌词。 若 不存在这三个参数的 精确匹配的结果,则用歌曲名做一次模糊查询

通过 Mpris2数据源 获取当前播放音乐的所属媒体源。兼容模式理论适用于所有正确实现了 Mpris2 规范的播放器。其中包括通过 Google Chrome 在线播放的流媒体平台。兼容模式下, 主流歌曲 歌词匹配成功率 超过95%

0. Change Log

See here: ChangeLog

1. Installation Guide

As for installing the widget, you will have 2 approaches:

  1. Use the GUI operation recommended by the KDE official website at this link.

  2. In the terminal, type kpackagetool5 -t Plasma/Applet -i xxxx, replacing xxxx with the path to your extracted folder. e.g. /home/anicaa/.local/share/plasma/plasmoids/lyrics-on-panel-master. If you already install this widget, or you failed to install this widget, please try kpackagetool5 -t Plasma/Applet -r xxxx

2. Screenshots

2.1 Fullscreen Shortcuts

  • Under Plasma6 (With Panel Colorizer).

"Most likely will be able to display the lyric that that Spotify does not show."

image-20240529024104188

  • Under Plasma5

image-20240317192855544


2.2 Panel Only

image-20240317192935566

image-20240529023754367

image-20240529023819659


2.3 Synchronized lyrics

image-20240317192959997


2.4 Freedom of Customizing every component of this widget

image-20240529023657784


About

A KDE Plasma widget that displays the lyrics of the currently playing song from Spotify, Netease Cloud Music, Elisa, etc., on any location, including KDE panels and desktops, inspired by the MacOS Netease Cloud Music Top Panel Lyrics。

Topics

Resources

License

Stars

Watchers

Forks

Languages