mirror of
https://github.com/home-assistant/core.git
synced 2025-04-19 14:57:52 +00:00
parent
c341b86520
commit
389297155d
@ -70,7 +70,7 @@ class ReolinkVODMediaSource(MediaSource):
|
||||
host = get_host(self.hass, config_entry_id)
|
||||
|
||||
def get_vod_type() -> VodRequestType:
|
||||
if filename.endswith((".mp4", ".vref")):
|
||||
if filename.endswith((".mp4", ".vref")) or host.api.is_hub:
|
||||
if host.api.is_nvr:
|
||||
return VodRequestType.DOWNLOAD
|
||||
return VodRequestType.PLAYBACK
|
||||
|
Loading…
x
Reference in New Issue
Block a user