microsoft / microsoft/PowerToys
Feature Request: PowerToys Peek - Display .lrc Lyric Files Alongside Music Files
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 139k
- Forks
- 8.6k
- PR merge metrics
- PR metrics pending
Description
Description of the new feature / enhancement
PowerToys Peek is an incredibly useful utility for quickly previewing file content. I would like to request an enhancement to its functionality, specifically for music files. When a user previews a music file (e.g., .mp3, .flac, .wav), if there is a corresponding lyric file in .lrc format with the same filename (e.g., Song Title.mp3 and Song Title.lrc) located in the same directory, PowerToys Peek should display the content of the .lrc file in its preview window.
Scenario when this would be used?
This feature would be highly beneficial for users who manage local music libraries and often have synchronized lyric files (.lrc) for their songs. Currently, if a user wants to view lyrics for a song, they typically have to open a separate text editor or music player. Integrating .lrc display directly into PowerToys Peek would streamline workflows by:
Quick Lyric Access: Users could quickly "peek" at lyrics while Browse their music collection in File Explorer, without interrupting their flow or launching a full music player.
-
Verification: Easily verify if the correct lyric file is associated with a song.
-
Organization: Assist in organizing and managing music libraries by providing immediate visual confirmation of lyric availability.
-
Enhanced User Experience: Offer a more complete and integrated preview experience for music enthusiasts.
-
A sample screenshot illustrating the desired functionality (e.g., a mockup of Peek showing .lrc content next to an audio file) has been attached for clarity.
- A sample video illustrating the desired functionality (e.g., a mockup of Peek showing .lrc content next to an audio file) has been attached for clarity.
https://github.com/user-attachments/assets/8ce84544-e6d6-4778-b338-fc0bf3ad0170
Supporting information
-
.lrc files are plain text files containing time-stamped lyrics. Their structure is simple and widely supported by various music players.
-
The implementation could involve detecting the presence of a .lrc file with a matching name (excluding extension) when a supported audio file is selected.
-
The display of the .lrc content could be in a scrollable text area within the Peek window, similar to how .txt files are currently displayed. Ideally, it would also highlight the current lyric line if the music file is playing (though this might be a more complex enhancement for a later stage). For an initial implementation, simply displaying the full text would be a significant improvement.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating PowerToys Peek's existing handling for supported audio files and text-file previews. Trace how a same-name .lrc file could be detected beside an audio file, then verify that its full plain-text content appears in a scrollable Peek view for supported audio formats.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100