mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
Update frontend
This commit is contained in:
parent
9808c0e3fd
commit
988dd2ca83
@ -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
|
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user