{"action":"created","issue":{"url":"https://api.github.com/repos/mikar/blockify/issues/89","repository_url":"https://api.github.com/repos/mikar/blockify","labels_url":"https://api.github.com/repos/mikar/blockify/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/mikar/blockify/issues/89/comments","events_url":"https://api.github.com/repos/mikar/blockify/issues/89/events","html_url":"https://github.com/mikar/blockify/issues/89","id":132223325,"number":89,"title":"Fails to block video ads","user":{"login":"Spagy","id":5479401,"avatar_url":"https://avatars.githubusercontent.com/u/5479401?v=3","gravatar_id":"","url":"https://api.github.com/users/Spagy","html_url":"https://github.com/Spagy","followers_url":"https://api.github.com/users/Spagy/followers","following_url":"https://api.github.com/users/Spagy/following{/other_user}","gists_url":"https://api.github.com/users/Spagy/gists{/gist_id}","starred_url":"https://api.github.com/users/Spagy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spagy/subscriptions","organizations_url":"https://api.github.com/users/Spagy/orgs","repos_url":"https://api.github.com/users/Spagy/repos","events_url":"https://api.github.com/users/Spagy/events{/privacy}","received_events_url":"https://api.github.com/users/Spagy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mikar/blockify/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-02-08T18:34:19Z","updated_at":"2016-05-07T14:54:34Z","closed_at":"2016-04-07T22:52:13Z","body":"Blockify works wonderfully so long as the ads are audio only. I can make Spotify play only audio ads by not having Spotify in focus. The thing is I like to have Spotify visibile quite often which renders blockify useless."},"comment":{"url":"https://api.github.com/repos/mikar/blockify/issues/comments/217642475","html_url":"https://github.com/mikar/blockify/issues/89#issuecomment-217642475","issue_url":"https://api.github.com/repos/mikar/blockify/issues/89","id":217642475,"user":{"login":"mikar","id":279131,"avatar_url":"https://avatars.githubusercontent.com/u/279131?v=3","gravatar_id":"","url":"https://api.github.com/users/mikar","html_url":"https://github.com/mikar","followers_url":"https://api.github.com/users/mikar/followers","following_url":"https://api.github.com/users/mikar/following{/other_user}","gists_url":"https://api.github.com/users/mikar/gists{/gist_id}","starred_url":"https://api.github.com/users/mikar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikar/subscriptions","organizations_url":"https://api.github.com/users/mikar/orgs","repos_url":"https://api.github.com/users/mikar/repos","events_url":"https://api.github.com/users/mikar/events{/privacy}","received_events_url":"https://api.github.com/users/mikar/received_events","type":"User","site_admin":false},"created_at":"2016-05-07T14:54:34Z","updated_at":"2016-05-07T14:54:34Z","body":"Hi @Spagy,\r\nwhat you're describing is expected behaviour. Spotify won't trigger DBus updates for some of their ads. That's why i'm cross checking via wmctrl. If Spotify is playing and wmctrl shows nothing besides \"Spotify\", the currently playing track is assumed to be an ad.\r\nSo, theoretically, from the information you have provided, the song should have been recognized as an ad in both cases because wmctrl *did* show only \"Spotify\".\r\nPossible reasons why it didn't work:\r\n1) The window title check is skipped because your mute method is not pulsesink_mute. If you can run `pacmd list-sink-inputs`, this is not your problem.\r\n2) Spotify playback status is not correctly recognized as playing. This, again, can happen if your mute method is not pulsesink_mute.\r\n\r\nPlease check if you can run `pacmd list-sink-inputs`."}}