Fix playback for encrypted Reolink files (#138852)

This commit is contained in:
starkillerOG 2025-02-19 13:42:53 +01:00 committed by GitHub
parent 97c558b694
commit 1733f5d3fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -71,7 +71,7 @@ class ReolinkVODMediaSource(MediaSource):
host = get_host(self.hass, config_entry_id)
def get_vod_type() -> VodRequestType:
if filename.endswith(".mp4"):
if filename.endswith((".mp4", ".vref")):
if host.api.is_nvr:
return VodRequestType.DOWNLOAD
return VodRequestType.PLAYBACK