Explorar o código

修改AI标签绑定云存

zhangdongming %!s(int64=2) %!d(string=hai) anos
pai
achega
9909ec0fc7
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      Service/VodHlsService.py

+ 2 - 1
Service/VodHlsService.py

@@ -166,7 +166,8 @@ class SplitVodHlsObject:
             #     .values('detect_group')
             # if not ai_service_qs.exists():
             #     return False
-            end_time = start_time + 3
+            start_time = int(start_time)
+            end_time = start_time + 5
             vod_tag_qs = VodHlsTag.objects.filter(ai_event_time__range=(start_time, end_time), uid=uid)
             if not vod_tag_qs.exists():
                 return False