|
@@ -138,11 +138,13 @@ class Response(object):
|
|
|
"rootShareId": root_share_id,
|
|
|
"productionPath": production_path,
|
|
|
"videoUrl": item['videoPath'],
|
|
|
- "mini_id": mini_id,
|
|
|
- "paragraphPosition": index * 0.25
|
|
|
+ "mini_id": mini_id
|
|
|
}
|
|
|
if index == 1:
|
|
|
result['paragraphPosition'] = 0.01
|
|
|
+ else:
|
|
|
+ position = (index - 1) * 0.25
|
|
|
+ result['paragraphPosition'] = position
|
|
|
item['rootSourceId'] = root_source_id
|
|
|
return result, item
|
|
|
|