Add missing type annotations to api methods
Add "__*" to .gitignore, to ignore temporary files
This commit is contained in:
parent
e4096cb97c
commit
98d67c0444
|
@ -1,3 +1,4 @@
|
|||
/config.py
|
||||
__pycache__/
|
||||
*.pyc
|
||||
__*
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue