gmdfalk / blockify

mute spotify adverts on linux
MIT License
354 stars 42 forks source link

Mute fails on Fedora 25 with 1.0.43.125.g376063c5 #120

Open fusion809 opened 7 years ago

fusion809 commented 7 years ago

Hi,

On 64-bit Fedora 25 with Blockify 3.6.3 and Spotify 1.0.43.125.g376063c5 I find the adverts aren't muted at all. If relevant I installed Spotify with Flatpak using the instructions in the README of this repo. Manually clicking (in Blockify UI) "block" also does not mute the adverts. Any ideas?

Thanks for your time, Brenton

fusion809 commented 7 years ago

This bug seems specific to Flatpak installations of Spotify as installing Spotify from negativo17's repo gives a Spotify installation that Blockify works perfectly with.

gmdfalk commented 7 years ago

Hi,

i suspect a dbus disconnect. Does this work i.e. toggle playback for the flatpak spotify instance? dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause

fusion809 commented 7 years ago

Sure does.

gmdfalk commented 7 years ago

Next thing it could be is missing access to ewmh/netwm features which are needed by wmctrl to detect the list of currently running windows. If flatpak is a proper sandbox there might not be a quick fix to this. I would like to try flatpak but frankly I have other priorities than maintaining blockify, mainly because i have been using Spotify Premium for almost a year now. My suggestion would be to just not use flatpak with Spotify until this is sorted.