diff --git a/.gitignore b/.gitignore index 0fc8e12..5a1e101 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /config.py __pycache__/ *.pyc +__* diff --git a/grzegorz_clients/api.py b/grzegorz_clients/api.py index 4702c41..158fc46 100644 --- a/grzegorz_clients/api.py +++ b/grzegorz_clients/api.py @@ -78,11 +78,11 @@ def get_playback_pos(): return f"time" @request_post -def seek_absolute(pos): +def seek_absolute(pos:float): args = urlencode(locals()) return f"time?{args}", None @request_post -def seek_percent(percent): +def seek_percent(percent:int): args = urlencode(locals()) return f"time?{args}", None