diff --git a/intg-zidoo/media_player.py b/intg-zidoo/media_player.py index 5c4af22..804c6b8 100644 --- a/intg-zidoo/media_player.py +++ b/intg-zidoo/media_player.py @@ -87,6 +87,7 @@ def __init__(self, config_device: DeviceInstance, device: ZidooRC): Features.INFO, Features.AUDIO_TRACK, Features.SUBTITLE, + Features.SEEK, ] attributes = { Attributes.STATE: States.UNAVAILABLE, @@ -191,6 +192,8 @@ async def command( res = await self._device.send_key(ZKEYS.ZKEY_AUDIO) elif cmd_id == Commands.SUBTITLE: res = await self._device.send_key(ZKEYS.ZKEY_SUBTITLE) + elif cmd_id == Commands.SEEK: + res = await self._device.set_media_position(params.get("media_position", 0)) elif cmd_id == Commands.DIGIT_0: res = await self._device.send_key(ZKEYS.ZKEY_NUM_0) elif cmd_id == Commands.DIGIT_1: