Fix playback for encrypted Reolink files (#138852)
parent
441917706b
commit
d42e31b5e7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue