Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits: 9f21e5d4 by Claudio Cambra at 2026-05-21T02:39:36+00:00 macosx: Hide lyrics button for videos (if they are missing lyrics tracks) Signed-off-by: Claudio Cambra <[email protected]> - - - - - 1 changed file: - modules/gui/macosx/windows/controlsbar/VLCMainVideoViewControlsBar.m Changes: ===================================== modules/gui/macosx/windows/controlsbar/VLCMainVideoViewControlsBar.m ===================================== @@ -166,6 +166,7 @@ { const BOOL lyricsAvailable = _playerController.lyricsAvailable; self.lyricsButton.enabled = lyricsAvailable; + self.lyricsButton.hidden = !_playerController.currentMediaIsAudioOnly && !lyricsAvailable; self.lyricsButton.state = _playerController.showLyrics ? NSControlStateValueOn : NSControlStateValueOff; if (@available(macOS 26.0, *)) { @@ -319,6 +320,8 @@ if (!VLCMain.sharedInstance.libraryController.shouldUseMediaLibrary) { self.bookmarksButton.hidden = YES; } + + [self updateLyricsButton:nil]; } - (void)playerStateUpdated:(NSNotification *)notification View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9f21e5d43314c9350b52435728191339ee4e60a4 -- View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9f21e5d43314c9350b52435728191339ee4e60a4 You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
_______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
