theRealPadster / spicetify-hide-podcasts

Spicetify extension to hide podcasts
GNU General Public License v3.0
249 stars 14 forks source link

feat: hide podcast and audiobook buttons on home and search pages #143

Closed waruhachi closed 2 months ago

waruhachi commented 2 months ago

This should fix issue #133 and remove the appropriate search page filters.

Home Page

Before After
image image

Search Page

Before After
image image
theRealPadster commented 2 months ago

Thanks, this is looking good, but it'll only support English language users with the titles hard-coded. Could you try adding it via code? In the tagpodcasts and tagaudiobooks functions, sort of similar to what it does for the chips, with Spicetify.Locale. Or you could just add CSS via JavaScript and get the strings from the locale.

waruhachi commented 2 months ago

Hey @theRealPadster!

Thanks for pointing that out. I completely missed it in the rush to get this pushed. I redid the fix in JS following your chip function. I also refactored the code to reduce redundancy and make adding future chips easier. Let me know what you think.