maddox / itunes-api

🎵 A simple server providing a RESTful service for controlling iTunes
MIT License
199 stars 46 forks source link

Album Art Work #28

Open ajmharr opened 7 years ago

ajmharr commented 7 years ago

Hi I have an issue where the album art work is not changing, if i restart HASS then it updates but not when changing tracks albums etc.

ykmn commented 7 years ago

Confirming - I have the same issue... Here's the HASS log: 2017-08-26 20:17:26 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=media_player.itunes, old_state=<state media_player.itunes=playing; volume_level=0.86, is_volume_muted=False, media_content_id=37686EC78FB90907, media_content_type=music, media_title=Ev'ry Time We Say Goodbye, media_artist=Natalie Cole, media_album_name=De-Lovely: Music From The Motion Picture (2004), media_playlist=Music, friendly_name=iTunes, entity_picture=/api/media_player_proxy/media_player.itunes?token=bae7e167db7f8c5fb71f68aac40da26b6ddbc3d49fc1ac423c5e4f7810c2ec82&cache=7c63c, supported_features=16959, homebridge_hidden=True @ 2017-08-26T20:04:26.135020+03:00>, new_state=<state media_player.itunes=playing; volume_level=0.86, is_volume_muted=False, media_content_id=B584ECB304D8C99B, media_content_type=music, media_title=Weebles Fall, media_artist=Slovo, media_album_name=Nommo (2002), media_playlist=Music, friendly_name=iTunes, entity_picture=/api/media_player_proxy/media_player.itunes?token=bae7e167db7f8c5fb71f68aac40da26b6ddbc3d49fc1ac423c5e4f7810c2ec82&cache=7c63c, supported_features=16959, homebridge_hidden=True @ 2017-08-26T20:04:26.135020+03:00>> Looks like it pulls the same picture all the time.

gcosta74 commented 6 years ago

I can confirm that bug. What I found out so far that it is a cache problem. After deleting the browser cache and reloading the page the actual artwork will be shown. It will not change further until you delete the cache again.