mirror of
https://github.com/koel/koel.git
synced 2026-04-25 16:56:02 +03:00
[PR #2153] [CLOSED] feat: add synchronized LRC lyrics support #2113
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#2113
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/koel/koel/pull/2153
Author: @DzmingLi
Created: 10/25/2025
Status: ❌ Closed
Base:
master← Head:master📝 Commits (3)
33bf1bbchore: add Nix flake for development environmentb553e56fix: preserve LRC timestamps in lyrics760fa80feat: add synchronized lyrics display with LRC support📊 Changes
5 files changed (+673 additions, -5 deletions)
View changed files
📝
app/Casts/SongLyricsCast.php(+2 -2)📝
app/Services/Scanners/Scanner.php(+44 -1)➕
flake.lock(+61 -0)➕
flake.nix(+440 -0)📝
resources/assets/js/components/ui/LyricsPane.vue(+126 -2)📄 Description
Description
This PR adds support for synchronized LRC lyrics with real-time highlighting and auto-scrolling. When a song has LRC-formatted lyrics with timestamps, the lyrics pane will automatically synchronize with playback, highlighting the current line and scrolling to keep it centered.
Motivation
Koel already supports reading LRC files (#1447, #1502) but displays them as plain text without synchronization. This enhancement provides a karaoke-style lyrics experience that improves the music listening experience, especially for users who enjoy following along with lyrics.
Checklist
Technical Details
Backend Changes
Frontend Changes
/\[(\d{2}):(\d{2})\.(\d{2,3})\](.*)/gCompatibility
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.