jishi / node-sonos-http-api

An HTTP API bridge for Sonos easing automation. Hostable on any node.js capable device, like a raspberry pi or similar.
http://jishi.github.io/node-sonos-http-api/
MIT License
1.85k stars 461 forks source link

AlbumArt size? #609

Open jompa68 opened 6 years ago

jompa68 commented 6 years ago

Is it possible to decide how big AlbumArt picture i want to see? I would like to have the possibillity to choose 128x128 size

something like /getaa?widht=128&height=128&s=1&u=x-sonos-spotify%3aspotify%253atrack%253a4Yzoi1w1a7eDOfiRN7ZDZx%3fsid%3d9%26flags%3d8224%26sn%3d1

jishi commented 6 years ago

Nope, that is just a proxy into the sonos player and how they serve image's. Would need to implement rescaling which is a lot of work. Usually you can control the rendering size when showing it?

On Sun, Apr 8, 2018, 10:27 jompa68 notifications@github.com wrote:

Is it possible to decide how big AlbumArt picture i want to see? I would like to have the possibillity to choose 128x128 size

something like /getaa?widht=128&height=128&s=1&u=x-sonos-spotify%3aspotify%253atrack%253a4Yzoi1w1a7eDOfiRN7ZDZx%3fsid%3d9%26flags%3d8224%26sn%3d1

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jishi/node-sonos-http-api/issues/609, or mute the thread https://github.com/notifications/unsubscribe-auth/ADBNI7MZdLL8Lhh01iLUh8q606pjVbgNks5tmcnvgaJpZM4TLccB .

jompa68 commented 6 years ago

By default it shows 640x640 and i cannot find any other way to rendering size

jishi commented 6 years ago

I was talking about controlling the size of rendering where you display it. Building an image resampler/resizer feels like outside the scope of this project :)