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:
Ph-Wagner 2021-04-09 18:02:06 +02:00 committed by GitHub
parent 346af58f27
commit b66c4a9dca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -473,7 +473,7 @@ class CastDevice(MediaPlayerEntity):
self.hass,
refresh_token.id,
media_id,
timedelta(minutes=5),
timedelta(seconds=media_source.DEFAULT_EXPIRY_TIME),
)
# prepend external URL