skype.Attach()
spotify = Spotify()
spotifyPlaying = spotify.isPlaying()

def on_call_status(call, status):
    if status == Skype4Py.clsInProgress:
        global spotifyPlaying
spotifyPlaying = spotify.isPlaying()
if spotify.isPlaying():
    pass
How to programatically pause spotify when a call comes in on skype