Skype has an inbuilt function where iTunes playback is paused and resumed automatically when a call comes in. It would be nice to have something similar for Spotify. Both provide a python API so this would seem the obvious route to go down.
Skype has an inbuilt function where iTunes playback is paused and resumed automatically when
Share
I’ve had a stab at doing this in python. It runs in the background as a daemon, pausing/resuming spotify when a call comes. It uses the Python libraries for Skype & Spotify:
http://code.google.com/p/pytify/
https://developer.skype.com/wiki/Skype4Py