Open sveakul opened 2 months ago
Correct, this is known (in some sense expected) behaviour. As far as I'm aware this is the same as the behaviour you get if you add an openlyrics panel to the UI while a track is playing (in v1.10 as well as v1.19) so I'm not going to stress about getting a hotfix out for it. I've added to the UX-focus milestone instead so we'll get to it.
Correct, this is known (in some sense expected) behaviour. As far as I'm aware this is the same as the behaviour you get if you add an openlyrics panel to the UI while a track is playing (in v1.10 as well as v1.19) so I'm not going to stress about getting a hotfix out for it. I've added to the UX-focus milestone instead so we'll get to it.
I understand. But just to show you this is NOT the same behavior in 1.9 as in 1.10.2, I've attached 2 gifs illustrating the issue.
Gif#1 is with 1.9 installed. It shows that when starting a song in another lyric tool's panel, and then tabbing to OpenLyrics, an autosearch is started.
Gif#2 is with 1.10.2. It shows that when starting a song in another tool's panel, and then tabbing to OpenLyrics, no autosearch is started, until "Search for Lyrics" is selected from the context menu.
It's great that 1.10.2 is no longer autosearching when its tab is closed--the main problem is fixed! However, expected behavior is that it begin one as soon as its tab is opened, as is the case with 1.9. Just to show you I'm not crazy over here! Thanks for your work getting the primary bug fixed.
Haha, no indeed you're not crazy. I know that happens and I know why and I know what I would need to do to change it. When I made this change my reasoning to myself for why it wasn't an issue is that people don't change layouts very often, but I hadn't considered the case of tabbed containers.
I'll get to it, I'm just not considering it super urgent so it'll be in a future release (which realistically means you should not expect a resolution for at least the next several months).
Correct, this is known (in some sense expected) behaviour. As far as I'm aware this is the same as the behaviour you get if you add an openlyrics panel to the UI while a track is playing (in v1.10 as well as v1.19) so I'm not going to stress about getting a hotfix out for it. I've added to the UX-focus milestone instead so we'll get to it.
If I may: For those of us who use the Panel option, I'm not sure, but it may have something to do with the user's configuration or maybe the Foobar version installed (or internet radio metadata, again hehe). I know it goes way back: I first checked out your component, briefly, in 2023. I wrote about it: here. Only point 1 is relevant: "If you open the panel after a track is already playing it doesn't do a search for the lyrics. It waits until a new song title is received (or, until you hit play again, for that stream, with the panel open)." (I was comparing with the LSP component.) And, the response I got to that point, from another (experienced) user, back then, was: "That seems like a bug? It works fine on my side.").
I re-installed your component, just a few days ago, and I still experience the same behaviour. Which is perfectly fine, by the way. I'd prefer an automatic search but it works fine as it is.
Just one thing to note: If I start a radio stream (waiting a few seconds for the song title and artist to be displayed), proceed to open the Panel (no automatic search performed), then right-click and hit "Search for lyrics" I get no lyrics and see a bunch of errors in console. Whereas double-clicking the stream (to start it again), or hitting enter with it selected, with the Panel left open, returns the lyrics without issue (for the same song that it couldn't handle before). I've tried with different radio streams and get the same result.
Anyway, thank you kindly for your work, my friend.
I re-installed your component, just a few days ago, and I still experience the same behaviour. Which is perfectly fine, by the way. I'd prefer an automatic search but it works fine as it is.
Yes, I did notice while working on v1.10 that this was still an issue, I just didn't worry about it too much because I expect people don't edit their layout all that often. In the interest of not getting lost in comments, please create a separate issue for resolving this. It should be fairly simple to do, but the cause is different to what sveakul is highlighting above.
Just one thing to note: If I start a radio stream (waiting a few seconds for the song title and artist to be displayed), proceed to open the Panel (no automatic search performed), then right-click and hit "Search for lyrics" I get no lyrics and see a bunch of errors in console.
As above, please open a separate issue. This is an artifact of the somewhat annoying way that fb2k exposes metadata for internet radio (you have to be there waiting to receive it when it gets downloaded, you can't query for it later). It can be worked around though.
no autosearch happens (hurrah!) if that option is not selected
Thanks for this. I must've glazed over that setting. The lyrics not loading in a hidden panel bothered me enough that I considered reverting to 1.6 again, since the versions between failed to load local lyrics for me.
Thanks for your fast notification, but unfortunately there is still a problem in 1.10.2--when the panel is closed, no autosearch happens (hurrah!) if that option is not selected, but when it is tabbed open, no autosearch begins until "Search for Lyrics" is selected from the context menu manually.
It does begin an autosearch if it is the only tab open at the time. But if it is closed while a stream is playing, then opened, it does not instigate an auto-search on its own.
Better like this than before (thank you!) and definitely can be lived with--but there must be one small part of the fix that got overlooked.