Spotify and AppNap on Macbook

As I am using Spotify heavily on my Macbook I experienced problems:

I am using multiple desktops on two monitors and on one Spotify is running. Often I switch between the desktops and it was curious because as soon as I switch away from the Spotify desktop the playback stops for some seconds and then continues, stops again, continues and so on. I took me quite a while and multiple tries to find a solution. It has something to to do with the „app nap“ feature of OS X which tries to save energy. So it pauses apps not used. To deactivate it I entered the following two commands on the CLI and restarted Spotify. And it works. It might be that one command is sufficient so feel free to comment. 😉


GD Star Rating

Kommentar verfassen