xeroday / spotify-ad-blocker Goto Github PK
View Code? Open in Web Editor NEWEZBlocker - A Spotify Ad Blocker for Windows
Home Page: https://www.ericzhang.me/projects/spotify-ad-blocker-ezblocker/
License: GNU General Public License v3.0
EZBlocker - A Spotify Ad Blocker for Windows
Home Page: https://www.ericzhang.me/projects/spotify-ad-blocker-ezblocker/
License: GNU General Public License v3.0
While the banner ads are blocked, the container it's in remains and can't be removed/resized, blocking a LOT of screen real estate. The workaround I've found is restarting spotify, which is obviously not ideal. I'll post a screenshot as soon as I see this behavior again.
Great tool, you wooed me away from blockify ;)
My spotify restarted, and now EZ Blocker doesn't work. The spotify version listed in my client is 1.0.1.1060.gc75ebdfd
When an ad plays it is correctly muted but the player also pauses until I manually un-pause. On un-pause the ad plays (muted). This means the time before I hear music is the 30s ad plus however long it takes me to un-pause Spotify.
I'm on Windows 8 with no UAC.
EZBlocker opens Spotify on launch, so I changed the shortcut from Spotify to EZBlocker.
When I click on the shortcut twice (forgetting Spotify is opened in the systray) it opens two EZBlocker instances. They conflict each other when an ad is muted.
Maybe you should test if an instance is already launched and if it is, only bring back the spotify window to the front ? or do nothing ? or maybe only display the message "EZBlocker is already running"
What do you guys think about having a distributed model for the block list so that it is never out of date. The problem with having a static list on xeroday's website is that if he doesn't update it then we all have to manually add new ads to our list. If we could have a small server that serves the block list and listens to new block requests we could then count how many block requests we've gotten, say we get three requests to block the same ad from three unique computers then we will add that to the block list and everyone gets the updated block list(this prevents people from blocking legit songs). I don't think this would be very difficult to implement, just wanted to get everyone's opinion and thoughts about the idea.
Thanks
It would be great if there was a version for the web player (maybe a Chrome extension).
Ad blocking doesn't work anymore. Banner ads haven't been blocked for a long time but after the latest update to Spotify even the radio ads are not blocked anymore.
Algorithm:
Needs to also be removed from in-memory blocklist
As title says: the blocker isn't working on private sessions. Aside from that, awesome work!
Thanks for the great app!
When I uncheck "Enable Taskbar Notifications" it doesn't save when re-opening. I'm on Windows 7
Yesterday ericzhang.me was down and when I launch EZBlocker he closed few seconds later.
You may need add try catch in CheckUpdate() inside Main()
Thanks !
I've somehow managed to get the app mute Spotify manually once, other than that it only messes up sound in Windows (probably) and/or in Spotify. I hope this is somehow easily fixable.
Either way, thanks for your great work!
I assume that most people want to keep EZBlocker out of sight. Currently it shows up on the Alt+Tab app switcher even when it's minimized:
There's also an bug which results the EZBlocker window not to disappear after Alt+Tab is used to recover the window. Instead the window collapses to the left lower corner and "–" button doesn't hide the window anymore but expands/collapses it. Collapsed window:
For example Mumble (http://sourceforge.net/projects/mumble/) does this the way I'd like it to work – when it's minimized to tray, it stays there.
Today, my Avira started reporting EZBlocker as a security threat:
Probably false alarm:
Why there are two solutions? Do you want to clean it up, get rid of the old unused code and fix missing project files?
Could do please add awesome feature that allows you to play a substitute MP3 from your Music folder when it mutes an ad, that way, you don't have any empty space between songs, and then move to the next track on your Spotify playlist when that song is over.
Sorry for posting here :(
When im in another virtual desktop then the one EXblocker (and spotify) is in, EZblocker is not able to mute playing ads or unmute music if i switched desktops while an ad was playing.
The vdesktop software im using is dexpot (newest version) on windows 8.1
Could there perhaps be some way of ordering/filtering the blocklist? I know it's probably not an important feature, since most users won't be spending much time accessing the blocklist — however, it would make searching for entries that were accidentally added much easier (but you didn't notice until much later).
I believe that currently, the entries are sorted by date (with the newest entry first)? While this is fine if you realize right away what you've done, if multiple advertisements have come up after, that legitimate artist has been buried in oblivion.
Pressing the first letter of the entry allows you to cycle through all entries starting that letter, but a filter view would certainly be nice!
Sometimes I accidently switch to EZBlocker, because it's visible while using Alt+Tab. I'd like to have it in the background, so this is a bit annoying.
I'm running Windows 8.1 x64 and the current version (V 1.4 (November 22, 2014)) is constantly not responding, resulting in some times the mute feature keeps Spotify muted for a while and then when it unfreezes, it just unmutes Spotify in the middle of a song.
Fallback to the previous version until this is fixed.
Thanks!
Hi
I have dicover this program today, but when i want to laught this on windows 10, the program stop immediately
No block the banners on new version please update it!!****
I asking for EZBlocker be a part of spotify itself , can it be an extension or patch for spotify program and the option show in any where in spotify , In short I want the EZBlocker and spotify be one program . it's will be great, thank you
Something to start and close EZBlocker automatically with Spotify would be nice.
Here's an article I found with some examples on how to get a list of the current tray icons and possibly grab the title/tooltips from them:
Maybe that'll help to get EZBlocker to work when Spotify is hidden.
Anyway to make this program run when I turn my pc? kind of like a "start up" with skype or steam.
If using a virtual desktop manager (VDM), ads will not be blocked while Spotify window is hidden by VDM.
I have tested Dexpot and VirtuaWin and have verified the issue appears with both of these VDM.
1.) Unable to connect to ad servers over and over again.
2.) Please stop telling me it's hidden on every minimize, once is enough.
3.) Please have a real about screen with at least version number and date.
4.) Copyright of exe is 2014.
Minimizing the window with double click to tray icon is less intuitive that using the close button.
That behaviour will be perfect if it's the same as Spotify:
Ok...
I understand that Microsoft has stopped support for Windows XP.
However, This old monster was around since late XP and early Vista inquisition.
I am unable to earn enough funds to put aside to upgrade my machine to a more modern one.
I request through your kindness to program a Spotify Blocker that will work on Windows XP.
Windows vista and greater haven't shown any bright signs for me to permanently upgrade without slowing down inexplicably.
you are my only hope... :'(
The first time I opened the exe I got a "Please check 'Allow Spotify to be started from the Web' in your Spotify preferences." message. Fair enough. But then I got another... and another and.. one every second.
Hi Guys!
Love the tool!
Only thing missing is a toggle to start minimized.
It now always opens up fully when started and (for my work machine) it freezes for a minute or so. in this periode im unable to minimize it. Only after it unfreezes am i able to minimize to sytem tray.
Keep up the great work!
When iTunes is open alongside Spotify and trying to block an ad, iTunes switches between playing and pausing about every second.
iTunes was initially not playing music, just open in the background.
This is minor, but when an ad is played after the last song on a queue (playlist, etc.), the last song is that queue will be played again.
I wonder what the results would be if queue shuffle is enabled. Would this cause the entire queue to replay?
Previously this was not an issue due to the presence of a block-list. Now I'm getting around a 10% failure rate with muting ads. Next time I experience the problem I'll check for the specific ads themselves.
EDIT: I checked my history and the ads "Pennsylvania College of Arts & Design" and "Trance Top 1000" were not blocked.
Hey,
So Spotify was playing an ad and I just happended to have Foobar2000 1.3.5 on Win 8.1 x64 open as well, but paused.
Oddly enough Foobar2000 started to be paused and un-paused many times. Turns out it was EZBlocker doing it.
Whoops! Of course it should not be doing anything to Foobar2000 since of course it's just for Spotify. I kinda laughed out loud cause I thought it was going crazy for a second.
Thanks,
Will
Hi, i was thinking about porting it to other systems, but... C# and .net kinda makes it not so cool.
Why keep in this segment instead of going to a java? or even pure C (with NSPR lib)?
Thankz!
1>------ Build started: Project: EZBlocker, Configuration: Debug Any CPU ------
1>CSC : error CS2001: Source file 'AudioUtilities.cs' could not be found
1>CSC : error CS2001: Source file 'Volume.cs' could not be found
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
It was working, then I upgraded to Spotify 1.0.1.805.gd2412973 on Windows 7, and EZBlocker does not block any adverts, they just keep playing.
(I accidentally submitted a duplicate issue)
I believe it shouldn't be much work to implement the ability to read the song info from the browser for those who use the web player (there are already software that streamers use to display song names to viewers, like http://sourceforge.net/projects/obsmusicstreamd/). In that case you would need to silence the browser. The problem is that the tab with the web player would need to be active or in a separate window.
I might try doing that myself when I have time.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.