KivalM / spotblock-rs

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

Spotblock-run starts Spotify muted and stays muted when I start or resume a song. #8

Closed Ryuo1 closed 2 years ago

Ryuo1 commented 2 years ago

And when I unmute through here: image or here: (by clicking the muted icon) image And when I unmute it, Spotify plays music normally, but when an Advertisement comes up, it doesn't get muted.

This issue had started I think 4 days ago. And yes, I did update spotblock-rs after #7 was merged, but the problem was still there.

KivalM commented 2 years ago

When you are unmuting it, was it initially muted due to the program, or did you mute it manually?

Ryuo1 commented 2 years ago

When you are unmuting it, was it initially muted due to the program, or did you mute it manually?

It was muted by the program.

albarozzz commented 2 years ago

Uhmmmm, what does spotblock-rs show when opening it in a terminal (with spotify running)? One more thing, what is the output of playerctl --player=spotify metadata --format '{{mpris:trackid}}' and pactl list sink-inputs when an ad is being reproduced?

KivalM commented 2 years ago

Uhmmmm, what does spotblock-rs show when opening it in a terminal (with spotify running)? One more thing, what is the output of playerctl --player=spotify metadata --format '{{mpris:trackid}}' and pactl list sink-inputs when an ad is being reproduced?

@Taughtimp2786 this.

The only cause I can think of at the moment is that playerctl --player=spotify metadata --format '{{mpris:trackid}}' is returning an empty string.

Ryuo1 commented 2 years ago

I am not at home right now, so I can't test anything.

Ryuo1 commented 2 years ago

Ok so I ran that playerctl command, and it turned out I didn't have playerctl installed. I don't how the ads were being muted before. Anyways, after I installed playerctl, spotblock-rs started working normally.