Comments (4)
This would be nice!
from spotify-ad-blocker.
Hi,
Indeed.
For now, I just use a batch file...
GOTO EndComment
This Batch File Makes It Easy To Hide Ads In Spotify
See: http://www.paralint.com/projects/notifu/
Written By war59312 ([email protected]) On May/11/2012
Updated On 21 Dec. 2014 To Use EZBlocker Instead Of Blockify
:EndComment
CLS
@ECHO OFF
TITLE Running Spotify
:SetPath
SET SPOTIFY_PATH=E:\Apps\Spotify
:TestSpotify
START /b /w /D"%SPOTIFY_PATH%\" pslist -e spotify >nul 2>&1
IF ERRORLEVEL 1 GOTO Spotify_NotFound
:Spotify_Found
ECHO Spotify Is Already Running
ECHO.
TITLE Spotify Is Already Running
START /b /D"%SPOTIFY_PATH%\notifu-1.6" notifu64.exe /p "Spotify" /m "Spotify Is Already Running" /d 30 /i notifu64.exe
GOTO TestEZBlocker
:Spotify_NotFound
ECHO Starting Spotify
ECHO.
TITLE Starting Spotify
start /d"%userprofile%\AppData\Roaming\Spotify\" spotify.exe
GOTO TestEZBlocker
:TestEZBlocker
START /b /w /D"%SPOTIFY_PATH%\" pslist EZBlocker >nul 2>&1
IF ERRORLEVEL 1 GOTO EZBlocker_NotFound
:EZBlocker_Found
ECHO EZBlocker Is Already Running
ECHO.
TITLE EZBlocker Is Already Running
GOTO TestToastify
:EZBlocker_NotFound
TITLE Starting EZBlocker
ECHO Lets Wait 10 Seconds And Then Start EZBlocker
TIMEOUT 10
ECHO.
ECHO Starting EZBlocker
ECHO.
start /d"%SPOTIFY_PATH%\EZBlocker\" EZBlocker.exe
GOTO TestToastify
:TestToastify
START /b /w /D"%SPOTIFY_PATH%\" pslist -e Toastify >nul 2>&1
IF ERRORLEVEL 1 GOTO Toastify_NotFound
:Toastify_Found
ECHO Toastify Is Already Running
TITLE Toastify Is Already Running
GOTO END
:Toastify_NotFound
ECHO Starting Toastify
TITLE Waiting For Spotify To Quit
start /w /d"%SPOTIFY_PATH%\Toastify_1.7.0" Toastify.exe
:QuitSpotify
TITLE Quitting Spotify
ECHO.
ECHO Quitting Spotify
ECHO.
START /b /w /D"%SPOTIFY_PATH%\" pslist -e EZBlocker >nul 2>&1
IF ERRORLEVEL 1 GOTO END
TITLE Killing EZBlocker
ECHO Killing EZBlocker
ECHO.
process -q EZBlocker.exe >nul 2>&1
:END
TITLE Spotify Has Exited
ECHO.
::PAUSE
EXIT
Files requried:
http://www.paralint.com/projects/notifu/
http://technet.microsoft.com/en-us/sysinternals/bb896682.aspx
https://toastify.codeplex.com/
Make sure you change "SPOTIFY_PATH" and droped requried files in that folder.
If you want to start the batch file completely hidden, you can use hstart64 @ http://www.ntwind.com/blog/hstart-x64.html
Then start batch file via something like:
E:\Apps\hstart\hstart64.exe /noconsole /wait /D="" "E:\Spotify\Spotify.cmd"
So it starts all three programs, Spotify, EZBlocker, and Toastify.
Then when you exit Toastify, it will close Spotify and EZBlocker too.
Make sure in Toastify settings you check "Close Spotify when use close Toastify".
Enjoy,
Will
from spotify-ad-blocker.
Thank you for the idea. I knew how to do basic batch files so I just made a batch file to open Spotify and EZBlocker. Didn't know how to close them simultaneously, though. I'll try to use your method.
There are people more lazy than us and having an EZBlocker option for this would be nice.
from spotify-ad-blocker.
Autostart option added in v1.6.7.
from spotify-ad-blocker.
Related Issues (20)
- it's me again, but it's not working :((( HOT 2
- You should give a warning that you're collecting analytics HOT 2
- Sometimes auto mute is on even after the ad ends & new video ads
- Broadcasts are being muted
- Keeps Crashing HOT 1
- EZ Blocker is not efficient when Spotify is minimized to tray (Windows 10) HOT 1
- EZBlocker CPU usage after boot when Spotify is not yet used HOT 2
- EZ Blocker prevents shutdown
- sad to see that this aint working anymore HOT 3
- Does not mute ads when chromecasting HOT 2
- [Critical] Spotify not found HOT 22
- Blocker stopped working (Spotify not found) HOT 6
- 1.8 and 1.8.1 Crash On Launch HOT 1
- EZBlocker will start/resume music automatically on boot HOT 2
- Native Spanish Speaker, Want to translate
- Spotify Not Found HOT 2
- Spotify not found. Using Windows store version HOT 10
- Native Greek Speaker here.
- Misleading project name
- Uninstalling
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spotify-ad-blocker.