mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Extend Google Cast media source URL expiry to 24h (#48937)
* Extend media source URL expiry to 12h closes #46280 After checking out https://github.com/home-assistant/core/pull/48912 I just think why not. * Update homeassistant/components/cast/media_player.py Co-authored-by: Erik Montnemery <erik@montnemery.com>
This commit is contained in:
parent
346af58f27
commit
b66c4a9dca
@ -473,7 +473,7 @@ class CastDevice(MediaPlayerEntity):
|
|||||||
self.hass,
|
self.hass,
|
||||||
refresh_token.id,
|
refresh_token.id,
|
||||||
media_id,
|
media_id,
|
||||||
timedelta(minutes=5),
|
timedelta(seconds=media_source.DEFAULT_EXPIRY_TIME),
|
||||||
)
|
)
|
||||||
|
|
||||||
# prepend external URL
|
# prepend external URL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user