Fix playback for encrypted Reolink files (#138852)

pull/139012/head
starkillerOG 2025-02-19 13:42:53 +01:00 committed by Franck Nijhof
parent 441917706b
commit d42e31b5e7
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
1 changed files with 1 additions and 1 deletions

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