mirror of
https://github.com/home-assistant/core.git
synced 2025-08-23 14:32:38 +02:00
committed by
Franck Nijhof
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
|
||||
|
Reference in New Issue
Block a user