LyricFever icon indicating copy to clipboard operation
LyricFever copied to clipboard

Changing Karaoke mode toggles menubar lyrics

Open gitmichaelqiu opened this issue 8 months ago • 2 comments

When I used the Raycast extension "Lyric Fever Control," i.e., use defaults write to toggle the com.aviwadhwa.SpotifyLyricsInMenubar value, the menubar lyrics will also be toggled, just like this:

https://drive.google.com/file/d/12er3gnl0t0KXkM2W6eY1VZjkB-mjjhgd/view?usp=drive_link

I am so sorry that I failed to upload videos on GitHub. It didn't work somehow.


Here are the values before/after assigning the value:

When karaoke is off:

{
    "NSStatusItem Preferred Position Item-0" = 349;
    "NSWindow Frame SUUpdateAlert" = "470 409 620 398 0 0 1512 944 ";
    "NSWindow Frame onboarding" = "430 153 700 638 0 0 1512 944 ";
    "NSWindow Frame update21" = "429 208 700 528 0 0 1512 944 ";
    "NSWindow Frame update22" = "430 208 700 528 0 0 1512 944 ";
    SUHasLaunchedBefore = 1;
    SULastCheckTime = "2025-05-10 13:48:44 +0000";
    SUUpdateGroupIdentifier = 1420747286;
    hasMigrated = 1;
    hasOnboarded = 1;
    hasUpdated21 = 1;
    hasUpdated22 = 1;
    karaoke = 0;
    karaokeFontName = ".AppleSystemUIFontBold";
    karaokeFontSize = 30;
    karaokeModeHoveringSetting = 1;
    karaokeShowMultilingual = 0;
    romanize = 0;
    showSongDetailsInMenubar = 0;
    spDcCookie = "Hidden";
    truncationLength = 30;
}

When karaoke is on:

{
    "NSStatusItem Preferred Position Item-0" = 349;
    "NSWindow Frame SUUpdateAlert" = "470 409 620 398 0 0 1512 944 ";
    "NSWindow Frame onboarding" = "430 153 700 638 0 0 1512 944 ";
    "NSWindow Frame update21" = "429 208 700 528 0 0 1512 944 ";
    "NSWindow Frame update22" = "430 208 700 528 0 0 1512 944 ";
    SUHasLaunchedBefore = 1;
    SULastCheckTime = "2025-05-10 13:48:44 +0000";
    SUUpdateGroupIdentifier = 1420747286;
    hasMigrated = 1;
    hasOnboarded = 1;
    hasUpdated21 = 1;
    hasUpdated22 = 1;
    karaoke = 1;
    karaokeFontName = ".AppleSystemUIFontBold";
    karaokeFontSize = 30;
    karaokeModeHoveringSetting = 1;
    karaokeShowMultilingual = 0;
    romanize = 0;
    showSongDetailsInMenubar = 0;
    spDcCookie = "Hidden";
    truncationLength = 30;
}

Thank you for developing this wonderful app!

gitmichaelqiu avatar May 10 '25 14:05 gitmichaelqiu

I see. So the logic behind it is:

"Shoe Song Details in Menubar" only toggles between the music icon and the "Song name - Artist name" text IF the menubar icon isn't showing lyrics already. If it's showing lyrics (meaning, Show Lyrics is on, lyrics are available, and a current lyric index exists, and Karaoke mode is off, and Fullscreen is off), then lyrics WILL be shown in the menubar

If karaoke mode is enabled, then for the menubar: if show song details is on, show the song details, else show the icon. in this scenario, the lyrics are presented in the karaoke window.

If the karaoke mode is disabled, and Show Lyrics is on, then lyrics are displayed in the menubar.

Do you have any idea as to how I could change these, if these aren't intuitive? I'm open to ideas! And thank you for using my app 😄 💓

aviwad avatar May 10 '25 16:05 aviwad

@aviwad Hi, I have the issue that toggling the karaoke value doesn't do anything.

I'm on version Lyric Fever 2.2, macOS Sequoia 15.4.1, MacBook Air M1.

https://github.com/user-attachments/assets/29ffb8a4-8ad1-4e3e-aaca-b541a93eb6f8

ARui-tw avatar May 14 '25 11:05 ARui-tw

Please try version 3.0. I changed how I read the internal userDefaults value

aviwad avatar Sep 07 '25 21:09 aviwad