I'm building a touch interface for my car similar to the Tesla Model S and I want to support Spotify natively. I'm building my GUI in Python using tkinter and I'm wondering if there is a way to launch a linux program (in this case Spotify) from within a GUI within a pre-defined frame of said GUI. I guess I'm thinking of this like an iframe in a webpage.
I know this probably isn't the best way to do it, but my car will be offline 99% of the time, so I need to support offline streaming, which I can do from the Spotify application and not so much using their web API.