ersel / spotify-cli-mac

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

Display the current song artowrk in the terminal #37

Closed jriordan22849 closed 5 years ago

jriordan22849 commented 5 years ago

Retrieve the song artwork using AppleScript. Request the url from the Spotify app.

Using the imaging module, we can draw the song artwork in the terminal.

Reference to the imaging artwork. https://github.com/switer/imaging

ersel commented 5 years ago

Thanks for your contribution @jriordan22849 . I've modified the code a little and decided to use imgcat library instead. This means album artwork will only be displayed if you're using iTerm 2.9+ but results are much faster and nicer than imaging library.

I am closing this PR, and merging #38 instead which includes your changes.

screen shot 2019-01-28 at 01 13 59