Skip to content

feat(music): show the lock screen lyric line in the music player - #2622

Merged
A-EDev merged 1 commit into
mainfrom
feat/player-lyric-line
Dec 5, 2026
Merged

A-EDev merged 1 commit into
mainfrom
feat/player-lyric-line

Conversation

@A-EDev

@A-EDev A-EDev commented Dec 5, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • New "Lyric line" switch in Appearance > Player > Music player, off by default.
  • When on, the music player shows the line being sung under the title and artist. It is the lock screen's line (moved to lyrics/PlayerLyricLine.kt), with the same lyrics animation setting, colours and filtering.
  • The cover gives up the room, so the seek bar and controls stay where they are. Tapping the line opens lyrics the same way as the Lyrics button.
  • The line reads the lyrics the player already has and never starts a lookup. It stops while the player is collapsed or covered by lyrics, the queue or a video.

Related issue

Part of #2439

Change type

  • Bug fix
  • Feature
  • Refactor or maintenance
  • Build, packaging, or CI
  • Documentation

Validation

  • ./gradlew :app:assembleGithubDebug: passed
  • ./gradlew :app:testGithubDebugUnitTest: passed (8131 tests, run with all the [Feature]: music player appearance nitpicks #2439 and [Feature]: Import playlists directly from Spotify #1553 PRs merged together)
  • I ran any additional flavor-specific build or test tasks affected by this change. ./gradlew :app:compileFossDebugKotlin and ./gradlew ktlintCheck passed
  • I manually tested the affected behavior on an Android device or emulator. Turned the line on with Immersive and the default background, checked it follows the song and stays clear of the seek bar.

Test device and Android version: Android emulator, API 37 phone image (1080x2400)

Screenshots or recordings

Risk and compatibility

New profile preference music_player_lyric_line, default off. With the player collapsed and music playing, dumpsys gfxinfo counted 20 frames per 10 s with the line on and with it off. The lock screen keeps its layout.

  • The change does not introduce secrets, private data, or unexpected telemetry.
  • New user-facing text uses Android string resources.
  • Dependency and lockfile changes are intentional and limited to this PR.
  • Room schema changes include the required version bump and migration, or this PR does not change the Room schema.
  • Breaking changes and upgrade steps are clearly documented.

@A-EDev
A-EDev force-pushed the feat/player-lyric-line branch from cc9cd5c to aef5f9e Compare December 5, 2026 15:50
@A-EDev
A-EDev merged commit ebba63d into main Dec 5, 2026
8 checks passed
@A-EDev
A-EDev deleted the feat/player-lyric-line branch December 5, 2026 16:15
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

Successfully merging this pull request may close these issues.

1 participant