Skip to content

A lightweight, Qt-based local music player featuring playlist management and automatic LRC lyric synchronization.

Notifications You must be signed in to change notification settings

leejkee/TrayMusicPlayer

Repository files navigation

Tray Core Module Icon

TrayMusicPlayer

一个实现了播放列表管理和歌词文件解析的本地音乐播放器


Qt 6.5 C++ 17 CMake 3.0+

运行

  • 部分功能演示(Windows 11)
    show

  • Linux(Arch linux with cosmic)
    show_linux

快速使用

  • 本地目录添加 点击右上角设置图标,添加本地音乐,点击Local按钮加载本地歌单
  • lrc歌词文件 除扩展名外应与音乐文件同名且位于同一目录

从源码构建

配置

  • C++ 17
  • Qt6.5 以上
  • CMake

Windows

  • 下载源码
git clone --recurse-submodules https://github.com/leejkee/TrayMusicPlayer.git
cd TrayMusicPlayer
  • 编译并打包项目

重命名CMakePresets.json.exampleCMakeUserPresets.json

配置工具链的路径,修改 CMAKE_PREFIX_PATH, CMAKE_CXX_COMPILER, CMAKE_MAKE_PROGRAM, PATH 为你电脑上的值

  • MSVC
cmake --preset windows-release
cmake --build build/windows-release --config Release --target package
  • Mingw
cmake --preset Mingw-release
cmake --build build/Mingw-release --config Release --target package

打包好的压缩包在build/windows-release

Linux

git clone --recurse-submodules https://github.com/leejkee/TrayMusicPlayer.git
cd TrayMusicPlayer
cmake -B build --preset linux-release -S .
cmake --build build

资源文件

本项目 TrayIcon.svg, logo.svg 除外,其他svg资源均来自网络

ToDo

  • 可扩展的设置页面嵌入
  • 内置lrc歌词解析支持
  • 可贴边的浮动歌词支持
  • 更美观的主题切换支持
  • 更用户友好的随机数生成算法

About

A lightweight, Qt-based local music player featuring playlist management and automatic LRC lyric synchronization.

Resources

Stars

Watchers

Forks

Packages

No packages published