Spotify get into my main screen when it restart
shawnloh opened this issue · comments
Whenever Spotify restart to skip the advertisement, the Spotify will come and disrupt my main screen, any way to keep it in the background? Great tool btw :)
I tried to resolve this with 034c22f by adding the --hide
flag to the open
command, but that did indeed not fix it. There also seems to be the --background
flag, so I'm going to try that one.
Try this one: https://github.com/simonmeusel/MuteSpotifyAds/releases
@simonmeusel Is this fixed or still open ?
As I did got it reproduced in Mac OS Mojave ( When it restarted to skip ads ).
I'm on v1.11.0
It should be fixed and it works for me. I don't think what could be done to further force Spotify to the background.
Maybe this command helps to invoke "Spotify" app in background.
"open -g /Applications/spotify.app"
We currently use /usr/bin/open --hide --background -b com.spotify.client
.
-g
is the same as --background
:
Help: Open opens files from a shell.
[...]
-j, --hide Launches the app hidden.
-g, --background Does not bring the application to the foreground.
[...]