Arduino 2-way communication with Spotify. Is it possible?

Hello fellow arduino enthusiasts. I'm an industrial designer student from Oslo, Norway currently working on my master thesis in interaction design.

I'm wondering if any of you has gotten arduino to work two ways with Spotify? If yes, what would be the smoothest approach?

I've managed to control Spotify by sending data through serial to processing that triggers different apple scripts. But are there any more convenient ways to do this? This is the apple script api i used:https://www.npmjs.com/package/spotify-node-applescript

I'd like to get spotify to trigger arduino output (lights, movement, etc)

Thanks!

I tried firmata by the way, but it seems that i cannot run external library through that protocoll (i want to use RFID)