Skips Spotify Advertisements, works so far with Mac. Should work with other programs given the correct application manipulation. Requires admin privileges when using pyautogui for automatic key in MacBook Branch.
The application /Applications/Spotify.app cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-600 "procNotFound: no eligible process with specified descriptor" UserInfo={_LSLine=379, _LSFunction=_LSAnnotateAndSendAppleEventWithOptions}
What is this and how do I get rid of it?
Should I execute
SpotIsOpen = False
while SpotIsOpen == False:
try:
os.system("open -a Spotify")
except Exception as e:
print(e,"in opening Spotify")
Need to get client secret and client id from Spotify so that I don't keep having to click every time for a new token for each new session. Alternatively, I could use a web-scraping device to get it for me, but right now that it beyond my scope.