Skip to content

Commit

Permalink
fix: add media_image_remotely_accessible property
Browse files Browse the repository at this point in the history
  • Loading branch information
alandtse committed Sep 29, 2019
1 parent e259c4a commit 0881046
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions custom_components/alexa_media/media_player.py
Expand Up @@ -581,6 +581,11 @@ def media_image_url(self):
"""Return the image URL of current playing media."""
return self._media_image_url

@property
def media_image_remotely_accessible(self):
"""Return whether image is accessible outside of the home network."""
return bool(self._media_image_url)

@property
def media_title(self):
"""Return the title of current playing media."""
Expand Down

0 comments on commit 0881046

Please sign in to comment.