mahkoh / spotblock

A minimal spotify ad blocker
GNU General Public License v3.0
35 stars 1 forks source link

spotblock erratically fails when there are multiple active sinks #4

Open pisto opened 8 years ago

pisto commented 8 years ago

I have this additional snippet in the pulseaudio configuration:

load-module module-null-sink sink_name=rtp
load-module module-rtp-send source=rtp.monitor destination_ip=192.168.1.51 inhibit_auto_suspend=only_with_non_monitor_sources

spotblock sometimes fails to mute spotify ads when this is in effect (even though spotify is not using the rtp sink, and 192.168.1.51 is not currently even reachable). I found that restarting spotblock sometimes helps.

mahkoh commented 8 years ago

I've tested this with

load-module module-null-sink sink_name=rtp
load-module module-rtp-send source=rtp.monitor destination_ip=192.168.0.51 inhibit_auto_suspend=only_with_non_monitor_sources

and it seem to work fine.

pisto commented 8 years ago

could you try to have that in your persistent configuration, then reboot? that's when I I get the issue most consistently.

2016-10-19 13:02 GMT+02:00 mahkoh notifications@github.com:

I've tested this with

load-module module-null-sink sink_name=rtp load-module module-rtp-send source=rtp.monitor destination_ip=192.168.0.51 inhibit_auto_suspend=only_with_non_monitor_sources

and it seem to work fine.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mahkoh/spotblock/issues/4#issuecomment-254781236, or mute the thread https://github.com/notifications/unsubscribe-auth/AAd570600RhVOaL2k2DABcXsHK-8dkNdks5q1fizgaJpZM4KayND .

mahkoh commented 8 years ago

Is it enough to restart the daemon?

pisto commented 8 years ago

yes, it appears so.

mahkoh commented 8 years ago

I've done that and it works fine.