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

feat(snippets): hide lyrics button #600

Merged
merged 7 commits into from
Oct 4, 2023
Merged

feat(snippets): hide lyrics button #600

merged 7 commits into from
Oct 4, 2023

Conversation

Sakura125809
Copy link
Contributor

No description provided.

@Sakura125809 Sakura125809 requested a review from a team as a code owner September 23, 2023 05:53
@Sakura125809 Sakura125809 requested review from theRealPadster and removed request for a team September 23, 2023 05:53
@Sakura125809 Sakura125809 changed the title Add hide lyrics button snippet feat: Add hide lyrics button snippet Sep 23, 2023
@Sakura125809 Sakura125809 changed the title feat: Add hide lyrics button snippet feat(snippets): Hide lyrics button snippet Sep 23, 2023
@Sakura125809 Sakura125809 changed the title feat(snippets): Hide lyrics button snippet feat(snippets): hide lyrics button snippet Sep 23, 2023
@Sakura125809 Sakura125809 changed the title feat(snippets): hide lyrics button snippet feat(snippets): hide lyrics button Sep 23, 2023
@CharlieS1103
Copy link
Member

I think this might be better suited as a toggle in the better lyrics setting menu, I would recommend making a PR implementing that yourself or making an issue requesting the maintainer of better lyrics to do so. Let me know what you think though.

@rxri
Copy link
Member

rxri commented Oct 2, 2023

Snippets shouldn't be extension dependent. Please make PR to betterLyrics repo

@rxri rxri closed this Oct 2, 2023
@Sakura125809
Copy link
Contributor Author

I think this might be better suited as a toggle in the better lyrics setting menu, I would recommend making a PR implementing that yourself or making an issue requesting the maintainer of better lyrics to do so. Let me know what you think though.

I’m very sorry, but Spotify lyrics vary greatly by region, resulting in many songs without lyrics. For me (and maybe others have the same demand), the lyrics button is often useless, so I developed this snippet to remove this button.

@Sakura125809
Copy link
Contributor Author

Snippets shouldn't be extension dependent. Please make PR to betterLyrics repo

As I answered CharlieS1103, I can delete the part about better lyrics (you can too, because I turned on the Allow edits by maintainers button). This snippet only removes the native lyrics button, because many songs are limited by region and have no lyrics.

@rxri rxri reopened this Oct 2, 2023
@Sakura125809 Sakura125809 marked this pull request as draft October 3, 2023 14:04
@Sakura125809 Sakura125809 marked this pull request as ready for review October 3, 2023 14:10
src/resources/snippets.ts Outdated Show resolved Hide resolved
Copy link
Member

@theRealPadster theRealPadster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice that looks better, thanks

@theRealPadster theRealPadster merged commit 286701e into spicetify:main Oct 4, 2023
5 checks passed
@SunsetTechuila
Copy link
Contributor

SunsetTechuila commented Oct 4, 2023

this snippet also hides the right sidebar and queue buttons🤦‍♂️

@SunsetTechuila
Copy link
Contributor

selector should be .main-nowPlayingBar-lyricsButton

@Sakura125809
Copy link
Contributor Author

selector should be .main-nowPlayingBar-lyricsButton

Yes, this is an oversight on my part and I will correct it immediately. thank you for pointing out. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants