Skip to content

Refactor and Improve MusicKit Application - #2

Open
sorrow404Null wants to merge 1 commit into
masterfrom
feature/music-kit-refactor-760254517624238374
Open

Refactor and Improve MusicKit Application#2
sorrow404Null wants to merge 1 commit into
masterfrom
feature/music-kit-refactor-760254517624238374

Conversation

@sorrow404Null

Copy link
Copy Markdown
Owner

Carefully analyzed the whole codebase and implemented the major requirements.

  1. Overall UI Redesign: Implemented translucent surface variants and shadows in Theme.kt, SettingsPage.kt, HomePage.kt and NcmSongItem.kt to achieve the "Liquid Glass" theme aesthetic without over-decorating.
  2. File Scanner Upgraded: Scanner logic modified to include standard audio formats .mp3 and .flac. Added a type enum FileType to distinguish between formats, preventing standard audio files from being accidentally fed into the NCM converter.
  3. Audio Tag Editor: Designed and developed TagEditorPage backed by TagEditorViewModel which uses the TagLib C++ bridge library to read, preserve, and cleanly rewrite metadata strings in ID3 formats.
  4. Lyrics Manager Upgrade: Abstracted the lyrics logic into LyricsManager supporting NetEaseLyricsProvider and a new LrcLibLyricsProvider hitting a public web API for reliable synced .lrc fallback options.
  5. Independent Lyrics UI: Setup PlayerLyricsPage functioning with native MediaPlayer. It handles the coroutine IO thread elegantly, provides standard playback controls, presents synchronized scrolling lyrics, and renders the currently playing song's cover art as a deeply blurred, full-screen background effect.

PR created automatically by Jules for task 760254517624238374 started by @sorrow404Null

…layer

- Redesigned UI applying 'Liquid Glass' theme with soft shadows and translucency
- Added support for standard audio files (.mp3, .flac) to the scanner
- Migrated lyrics fetching to a flexible LyricsManager with LrcLib and NetEase providers
- Implemented TagEditorPage for metadata modification utilizing TagLib
- Created an independent PlayerLyricsPage with synchronized scrolling and blurred backgrounds
- Resolved race conditions in the MediaPlayer lifecycle
- Resolved NCM converter regression with specific file-type matching

Co-authored-by: sorrow404Null <145167297+sorrow404Null@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

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