artemgordinskiy / Spotifree

An OS X app that automatically mutes ads on Spotify [DISCONTINUED]
http://spotifree.gordinskiy.com
MIT License
1.05k stars 70 forks source link

Automatically open Spotify when Spotifree opens and quit Spotifree when Spotify quits... #20

Closed allewun closed 10 years ago

allewun commented 10 years ago

...since there's no point in running Spotifree without Spotify running. Similarly, when Spotify quits, there's no need to run Spotifree, so quit automatically too.

Now all you have to do is open one app when you want ad-free Spotify, and quitting Spotify will clean everything up.

artemgordinskiy commented 10 years ago

Hi Allen, Thanks for the contribution! How is it working for you?

allewun commented 10 years ago

Hi Artem, it seems to work well for me, I haven't noticed any problems. It's my first time using AppleScript, but I think the changes were pretty safe. Here's how I use it:

Since I launch Spotify from Spotlight, having both the regular Spotify app and Spotifree appear in the results is a bit confusing, so I hid Spotify like so:

system preferences

Now I can just type "Spot" and Spotifree will be the top hit.

screen shot

Spotify+Spotifree will open, and when I'm done with Spotify, CMD+Q exits it, and Spotifree quits itself immediately after.

artemgordinskiy commented 10 years ago

Closing as absolete. In the new app we decided not to implement this feature. Instead, Spotifree intelligently detects whether Spotify is running, and activates/deactivates itself accordingly.