ersel / spotify-cli-mac

🎶 A nodejs app to control Spotify without leaving your terminal. 🎶
MIT License
183 stars 28 forks source link

Error `spotify play` while spotify isn't running #26

Closed QuadDepo closed 7 years ago

QuadDepo commented 7 years ago

Trying to run spotify play while spotify app is not running while throw error on the screen

`Unhandled rejection Error: 57:63: execution error: Can’t make «class pAlb» of «class pTrk» of application "Spotify" into type string. (-1700)

at ChildProcess.<anonymous> (/usr/local/lib/node_modules/spotify-cli-mac/node_modules/node-osascript/lib/index.js:39:15)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:920:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)`
ersel commented 7 years ago

I believe we should not spend time on this issue, and instead work towards 2.0 goals. Closing.