Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Auto-hide Lyrics If No Lyrics Found #253

Closed
3 tasks done
NotDarkn opened this issue Jul 17, 2024 · 8 comments
Closed
3 tasks done

[FEATURE REQUEST] Auto-hide Lyrics If No Lyrics Found #253

NotDarkn opened this issue Jul 17, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@NotDarkn
Copy link

NotDarkn commented Jul 17, 2024

Is this issue appropriate?

  • I have read the document in its entirety

Is this issue unique to EeveeSpotify?

  • I was unable to reproduce my issue using the stock Spotify app

Have you searched the existing issues?

  • This is a unique issue

Describe the request.

Hi again!

This request is to basically auto-hide (or remove) the Lyrics box when it's unable to find Lyrics corresponding to the song, or when it says "Couldn't load the lyrics for this song."

I know feature requests are usually not accepted, but I believe this could be a rather easy feature to implement (at least looking at it from the surface..)

While this isn't something that needs to be added, I think it'd be a nice touch to add as I'm pretty sure this already is implemented in the original app? Anyways, thanks for making EeveeSpotify, and I hope this gets implemented (or at least read).

@NotDarkn NotDarkn added the bug Something isn't working label Jul 17, 2024
@whoeevee
Copy link
Owner

Hey! It's a really nice feature, but it's a challenge to implement.

Tracks on Spotify have has_lyrics property that determines whether lyrics are available for a track. EeveeSpotify has to overwrite this property (otherwise, the app won't load lyrics for songs that only have lyrics on Genius, for example). It doesn't know if the lyrics are available until it tries to fetch them. If the tweak is unable to load lyrics from both the primary source and Genius (if fallback is enabled), the "Couldn't load the lyrics for this song" message will be displayed.

To hide the lyrics card, too many UI stuff with ScrollCollectionViewManager, NowPlayingScrollViewController, and possibly other classes are required. I believe it's not a significant problem and is a rare case when a song has no lyrics on Genius.

@NotDarkn
Copy link
Author

NotDarkn commented Jul 17, 2024

Hey! It's a really nice feature, but it's a challenge to implement.

Tracks on Spotify have has_lyrics property that determines whether lyrics are available for a track. EeveeSpotify has to overwrite this property (otherwise, the app won't load lyrics for songs that only have lyrics on Genius, for example). It doesn't know if the lyrics are available until it tries to fetch them. If the tweak is unable to load lyrics from both the primary source and Genius (if fallback is enabled), the "Couldn't load the lyrics for this song" message will be displayed.

To hide the lyrics card, too many UI stuff with ScrollCollectionViewManager, NowPlayingScrollViewController, and possibly other classes are required. I believe it's not a significant problem and is a rare case when a song has no lyrics on Genius.

I see, at first I had imagined that it would be easy to implement since it looked like a pretty simple feature to add by the looks of it, but I didn't know there were more to it behind the scenes than I thought.

Maybe someday it'll be added? But I do get that this isn't really a significant problem, so.. thanks for telling me!

p.s: i'll keep this open if anyone wants to add it themselves in a pr (or if it just gets closed by a collaborator)

@whoeevee whoeevee pinned this issue Jul 18, 2024
@3xynos7
Copy link
Contributor

3xynos7 commented Jul 21, 2024

image

It shows Fallback: No song found but also shows wrong lyrics.

@asdfzxcvbn
Copy link
Collaborator

spotify changed its behavior in recent versions, this was attempted while fixing the recent lyrics issue, some new methods were hooked to try to get this working, however this actually turned out to be impossible with genius fallback, there is too many moving parts to get this working currently tbh

well we did get it working, but it freezes the whole UI for like a second

@NotDarkn
Copy link
Author

spotify changed its behavior in recent versions, this was attempted while fixing the recent lyrics issue, some new methods were hooked to try to get this working, however this actually turned out to be impossible with genius fallback, there is too many moving parts to get this working currently tbh

well we did get it working, but it freezes the whole UI for like a second

theoretically, you could make it an experimental option? i'm sure some users, like me, would be fine with it freezing the UI for a second or two. not like we'd be CONSTANTLY looking at the UI anyways

@asdfzxcvbn
Copy link
Collaborator

spotify changed its behavior in recent versions, this was attempted while fixing the recent lyrics issue, some new methods were hooked to try to get this working, however this actually turned out to be impossible with genius fallback, there is too many moving parts to get this working currently tbh
well we did get it working, but it freezes the whole UI for like a second

theoretically, you could make it an experimental option? i'm sure some users, like me, would be fine with it freezing the UI for a second or two. not like we'd be CONSTANTLY looking at the UI anyways

you would really prefer the UI freezing over just not scrolling down to see the missing lyrics text box? to me it seems a little silly.. how many songs do you see with no lyrics?

@NotDarkn
Copy link
Author

spotify changed its behavior in recent versions, this was attempted while fixing the recent lyrics issue, some new methods were hooked to try to get this working, however this actually turned out to be impossible with genius fallback, there is too many moving parts to get this working currently tbh
well we did get it working, but it freezes the whole UI for like a second

theoretically, you could make it an experimental option? i'm sure some users, like me, would be fine with it freezing the UI for a second or two. not like we'd be CONSTANTLY looking at the UI anyways

you would really prefer the UI freezing over just not scrolling down to see the missing lyrics text box? to me it seems a little silly.. how many songs do you see with no lyrics?

i have a whole playlist just full of instrumental songs, lol..

@asdfzxcvbn
Copy link
Collaborator

hopefully one day

@asdfzxcvbn asdfzxcvbn closed this as not planned Won't fix, can't repro, duplicate, stale Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants