Update frontend

This commit is contained in:
Paulus Schoutsen 2016-04-10 01:33:01 -07:00
parent 9808c0e3fd
commit 988dd2ca83
4 changed files with 86 additions and 15 deletions

View File

@ -1,2 +1,2 @@
"""DO NOT MODIFY. Auto-generated by build_frontend script."""
VERSION = "c2932592a6946e955ddc46f31409b81f"
VERSION = "6dec5973573b17427025b90ee846730b"

File diff suppressed because one or more lines are too long

@ -1 +1 @@
Subproject commit ac311416a99f41abbe98142ccac5f84f77d88296
Subproject commit a127c74a53955149cbd07d8f2e67a7e230513405

View File

@ -24,7 +24,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
])
YOUTUBE_COVER_URL_FORMAT = 'https://img.youtube.com/vi/{}/1.jpg'
YOUTUBE_COVER_URL_FORMAT = 'https://img.youtube.com/vi/{}/hqdefault.jpg'
YOUTUBE_PLAYER_SUPPORT = \
SUPPORT_PAUSE | SUPPORT_VOLUME_SET | SUPPORT_VOLUME_MUTE | \
@ -208,7 +208,8 @@ class DemoMusicPlayer(AbstractDemoPlayer):
@property
def media_image_url(self):
"""Return the image url of current playing media."""
return 'https://graph.facebook.com/107771475912710/picture'
return 'https://graph.facebook.com/v2.5/107771475912710/' \
'picture?type=large'
@property
def media_title(self):
@ -287,7 +288,7 @@ class DemoTVShowPlayer(AbstractDemoPlayer):
@property
def media_image_url(self):
"""Return the image url of current playing media."""
return 'https://graph.facebook.com/HouseofCards/picture'
return 'https://graph.facebook.com/v2.5/HouseofCards/picture?width=400'
@property
def media_title(self):