Skip to content

feat(lyrics): add synchronized karaoke lyric animations and installer setup for syncedlyrics - #12

Open
4sakenme wants to merge 1 commit into
0-ss:mainfrom
4sakenme:feature/maclock-lyrics-animation
Open

4sakenme wants to merge 1 commit into
0-ss:mainfrom
4sakenme:feature/maclock-lyrics-animation

Conversation

@4sakenme

@4sakenme 4sakenme commented Oct 20, 2026 •

Copy link
Copy Markdown

Summary of Changes

This pull request adds smooth Apple Music-style synchronized lyric animations and a multi-provider lyrics fetcher for both MacLock and the MacShell Player desktop widget, complete with automated installation in install.sh.

🎵 Features & Enhancements

  • Multi-Source Asynchronous Lyrics Fetcher (lyrics_fetcher.py):
    • Automatically queries LRCLIB and fallback synced lyrics providers (syncedlyrics: Musixmatch, NetEase, Megalobiz).
    • Caches fetched LRC/JSON files in ~/.cache/macshell/lyrics/ and ~/.cache/maclock/lyrics/ to prevent unnecessary network requests.
  • Apple Music-Style Word-by-Word Karaoke Illumination:
    • Active line lyrics smoothly light up and scale as words are sung.
    • Instrumental breaks feature 3 pulsing / breathing rhythm indicator dots.
    • Depth-of-field blur on distant lines with spring transitions.
  • Smooth Time Interpolation:
    • Synchronized timer smoothly interpolates playback position between MPRIS status updates for silky 60fps lyric scrolling.
  • Occlusion-Aware Throttling:
    • Automatically pauses interpolation and animation timers when the widget is occluded or obscured to minimize GPU/CPU usage.
  • Automated Dependency Setup in install.sh:
    • Automatically checks for python3 and python-pip package manager dependencies.
    • Installs syncedlyrics via pip install --user --upgrade syncedlyrics --break-system-packages during install / update, with graceful fallback to LRCLIB if offline.

@4sakenme
4sakenme force-pushed the feature/maclock-lyrics-animation branch from 9f4041e to 3f3faea Compare October 20, 2026 08:16
@4sakenme 4sakenme changed the title feat(maclock): add synchronized lyric animations and GPU optimizations feat(lyrics): add synchronized karaoke lyric animations for MacLock and MacShell Player Oct 20, 2026
@4sakenme
4sakenme force-pushed the feature/maclock-lyrics-animation branch from 3f3faea to 58fb050 Compare October 20, 2026 08:34
@4sakenme 4sakenme changed the title feat(lyrics): add synchronized karaoke lyric animations for MacLock and MacShell Player feat(lyrics): add synchronized karaoke lyric animations and installer setup for syncedlyrics Oct 20, 2026
MythosOfs added a commit to MythosOfs/MacShell that referenced this pull request Nov 22, 2026
Bring in Debian 13 support, GIF and WebP widgets, animated album art,
karaoke lyrics, System Monitor, optional Genie minimize, floating window
defaults, uptime, WireGuard, the audio hub, Reminders, Spotlight subtraction,
pinned-only Dock mode, tray collapse, and the unified icon grid.

Keep the fork's existing Spotlight screenshot search and Bluetooth status
reader. Sample Dock icons from the existing Image, fetch Apple Music motion
art from its public album page, and reuse MacLock's existing Spotify helper.
Isolate optional lyrics dependencies in a virtual environment.

Upstream: 0-ss#9, 0-ss#10, 0-ss#11, 0-ss#12, 0-ss#14, 0-ss#19, 0-ss#21, 0-ss#28, 0-ss#45, 0-ss#47,
0-ss#49, 0-ss#50, 0-ss#52, 0-ss#53, 0-ss#54.

Co-authored-by: 4sakenme <thienphutrinh4567@gmail.com>
Co-authored-by: Dexul <lcedu.dev@gmail.com>
Co-authored-by: Doffi4 <206447286+Doffi4@users.noreply.github.com>
Co-authored-by: Hrithik Ram Prasath <220790015+hrithikramprasath@users.noreply.github.com>
Co-authored-by: Marian Barba <134831821+MarianC-programing@users.noreply.github.com>
Co-authored-by: Victor Zwaga <victor.zwaga@gmail.com>
Co-authored-by: freroxx <yikni2829@gmail.com>
Co-authored-by: shuretokki <tri.r.utomo@gmail.com>
Co-authored-by: w4nnnn <irwanfebriansyah112@gmail.com>
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