evandcoleman / node-appletv

A node module for interacting with an Apple TV (4th-generation or later) over the Media Remote Protocol.
https://evandcoleman.github.io/node-appletv/
MIT License
178 stars 48 forks source link

Add method to fetch artwork of currently playing item #36

Closed evandcoleman closed 4 years ago

evandcoleman commented 4 years ago

Resolves #32

Adds a method for fetching album artwork.

Using the library:

let buffer = await device.requestArtwork(width, height);

Using the cli:

appletv --credentials <credentials> artwork --output artwork.png