Closed niceperl closed 9 years ago
Seems to be some actionscript error.
I need someone using OS X to look at the problem.
http://stackoverflow.com/questions/2126291/bash-output-as-applescript-list-problems
After this update, I got a new error:
22:32: syntax error: A identifier can’t go after this identifier. (-2740)
Same approach?
Yes, but now the error message is different
It works flawlessly for me, both with Python2 and Python3. What OS X version are you using? EDIT: Now I see, Yosemite. Really strange.
What happens if you type this in the Python REPL:
import subprocess
subprocess.call([
'osascript',
'-e',
'tell app "Spotify" to play track "spotify:track:5amPczcUvAgcWR3iHQj2hu"'
])
?
OS X Yosemite 10.10.1
@niceperl See my updated question. Could you try executing that snippet?
Sorry, it was my fault. I didn't have installed the spotify app. Perhaps this silly problem could help in the last term to improve the error messages... Thanks!
@niceperl No worries. Perhaps we should do a 'is spotify installed' check. Have fun!
I got this error every time I type a number in order to play a song. Example:
I am running cly.py on virtualenv, python 2.7.8 and Mac OS X Yosemite. The song I selected didn't play