fix pos,start,in timecodes
This commit is contained in:
parent
c7ce34b0da
commit
b433230191
1 changed files with 7 additions and 1 deletions
|
|
@ -186,7 +186,13 @@ class Item(models.Model):
|
|||
for kv in urllib.parse.unquote(arguments).split("&")
|
||||
)
|
||||
if ',' in parts[0]:
|
||||
start, end = [ox.parse_timecode(p) for p in parts[0].split(',')]
|
||||
ts = [ox.parse_timecode(p) for p in parts[0].split(',')]
|
||||
if len(ts) >= 2:
|
||||
start, end = ts[-2:]
|
||||
else:
|
||||
logger.error("unable to decode in/out: %s", parts[0])
|
||||
start = 0
|
||||
end = 1000
|
||||
request = {
|
||||
"action": "findClips",
|
||||
"data": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue