blockify icon indicating copy to clipboard operation
blockify copied to clipboard

fix title_mismatch false positives due to window title not being updated by Spotify

Open gmdfalk opened this issue 9 years ago • 2 comments

Somehow, Spotify won't always publish the window title to the window manager, leading to just 'Spotify' being reported by wmctrl. This, in turn, leads to a false positive in ad detection. Pausing and playing the song again properly broadcasts the window title again. I can only produce this issue on one of my machines so it might be some weird system issue.

gmdfalk avatar May 05 '16 10:05 gmdfalk

I sometimes have false positives too. I am not sure the reason behind it but it happens when I start playing a song manually (in contrast to automatically advancing to the next song). This fixes the false positive temporarily: pause, seek to very beginning of the song, play.

psamim avatar Nov 19 '16 05:11 psamim

Thanks for blockify :)

Same problem here. The only way to solve this for me is stopping and restarting playback which results in updating the window title. Would it be feasible issuing "stop - start playback" after each (first) ad-detection and then start ad-detection a second time?

gCurse avatar Mar 12 '17 22:03 gCurse