KivalM / spotblock-rs

A spotify advertisment muter for Pipewire
GNU General Public License v3.0
14 stars 3 forks source link

Add muting when playerctl reports title "Spotify-" #3

Closed Waaflee closed 2 years ago

Waaflee commented 2 years ago

Some internal Spotify propaganda starts with "Spotify-" instead of "Advertisement-" It would be good to add and OR conditional with those 2. I don't know rust otherwise I would do a Pull Request.

Example:

> playerctl --player=spotify metadata --format '{{ title }}-{{ artist }}' > Spotify-

Waaflee commented 2 years ago

Pull request to fix it on #4, was easier than expected

KivalM commented 2 years ago

Thanks for your contribution! It has been merged

Let me know if the issue still persists.