ersel / spotify-cli-mac

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

Display the song/album artwork in the terminal. #36

Closed jriordan22849 closed 5 years ago

jriordan22849 commented 5 years ago

Proposed new enhancement Display the current song artwork in the terminal. It is possible to display images within the terminal.

ersel commented 5 years ago

great idea @jriordan22849, do you have any pointers regarding how we could achieve this?

jriordan22849 commented 5 years ago

Hey, Please review the following pull requested #37.

I used the imaging module to draw the song artwork in the terminal.

The artwork displays like a second or two after the current song is been played. We can retrieve the url for the artwork using AppleScript. there might be better modules for displaying images in the terminal but the imaging seems like the simplest to use. Also, it creates a pretty cool image in the terminal. Can be a good starting point.

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

ersel commented 5 years ago

Awesome, thanks for your contribution @jriordan22849 . I'll review this as soon as possible 👍

ersel commented 5 years ago

Planning to review this weekend @jriordan22849 , sorry for the delay

ersel commented 5 years ago

Released with v1.4.0 🎉