diff --git a/platypush/plugins/media/__init__.py b/platypush/plugins/media/__init__.py index 3316b6a7f5..18106ae94e 100644 --- a/platypush/plugins/media/__init__.py +++ b/platypush/plugins/media/__init__.py @@ -470,12 +470,12 @@ class MediaPlugin(Plugin, ABC): @action @abstractmethod - def seek(self, **kwargs): + def seek(self, position, **kwargs): raise self._NOT_IMPLEMENTED_ERR @action @abstractmethod - def set_position(self, **kwargs): + def set_position(self, position, **kwargs): raise self._NOT_IMPLEMENTED_ERR @action diff --git a/platypush/plugins/media/vlc/__init__.py b/platypush/plugins/media/vlc/__init__.py index a80a7bef4f..3522acbc61 100644 --- a/platypush/plugins/media/vlc/__init__.py +++ b/platypush/plugins/media/vlc/__init__.py @@ -279,7 +279,7 @@ class MediaVlcPlugin(MediaPlugin): return status @action - def seek(self, position: float): + def seek(self, position: float, **__): """ Seek backward/forward by the specified number of seconds