LyricFever icon indicating copy to clipboard operation
LyricFever copied to clipboard

Suggestion: Add Scrolling Lyrics Display in the Menu Bar

Open fx-k opened this issue 1 year ago • 3 comments

I have noticed that when the lyrics are too long, they don’t display in the menu bar, with some parts disappearing entirely.

I would like to suggest adding a scrolling lyrics feature to the menu bar, ensuring that regardless of the length of the lyrics, they can scroll automatically and be fully visible. This would greatly enhance the visual experience and overall usability.

Thank you for your hard work, and I hope this feature will be considered!

fx-k avatar Sep 20 '24 15:09 fx-k

Thank you for the feedback :) unfortunately being written in SwiftUI and using Apple's extremely restrictive MenuBarExtra component makes it very hard to display anything animating. This would require a rewrite requiring considerable effort. Perhaps I will get to it once my other to-dos are checked off. If anyone works on it and submits a PR I will accept it for sure!

aviwad avatar Sep 21 '24 01:09 aviwad

Thank you for your attention to this issue! I was wondering if it would be possible to implement a workaround by pre-processing the lyrics and splitting them into shorter segments that fit within the character limit. Would this be a more feasible approach to display the lyrics without needing extensive changes to the code? : )

fx-k avatar Sep 21 '24 02:09 fx-k

Hmm that's actually quite doable. I already have the difference between the current lyric and the next at hand (so say I know the current lyric line is to be displayed for 5 seconds, and is 20 characters), I could definitely split it into two strings and display them for half the time each. This would be very complicated, however, because I wouldn't want to tamper with the saved lyrics and only change the lyric array I have in memory. But at the same time since the user is free to change the menubar size during run time, I would have to account for that too. I'll keep this issue open because this is definitely a lot more doable.

aviwad avatar Sep 21 '24 02:09 aviwad

Sorry don't think I'll have the time for this

aviwad avatar Sep 07 '25 21:09 aviwad