Closed nathantym closed 9 years ago
Did you start spotify before running this cli remote?
I thought I did, but I guess the iTunes version of Spotify is different from the desktop application, so that solves that problem. I'm interested in writing something that checks if there is a process running for Spotify and if there isn't it opens it, which will fix the errors surrounding Spotify not being open.
I added a function to the DarwinSpotipy class to check if Spotify is running and if it's not, it opens it. I need to test this and add in the functionality for it to possibly occur upon start of the cli script. Also it's probably a good idea to check if it's installed before it tries to open Spotify for extra error handling.
Thanks for your contribution :)
After doing a quick google, it looks like it has to do with osascript.