lang 4 rokov pred
rodič
commit
665d873016
1 zmenil súbory, kde vykonal 1 pridanie a 3 odobranie
  1. 1 3
      Controller/CloudStorage.py

+ 1 - 3
Controller/CloudStorage.py

@@ -541,8 +541,6 @@ class CloudStorageView(View):
                     },
                     ExpiresIn=3600
                 )
-                thumb_url = response_url
-
                 vod_url = '{server_domain}/cloudstorage/signplaym3u8?' \
                           'uid={uid}&channel={channel}&time={time}&sign=tktktktk'. \
                     format(server_domain=SERVER_DOMAIN,uid=uid, channel=channel, time=vod['time'])
@@ -550,7 +548,7 @@ class CloudStorageView(View):
                 vod_play_list.append({
                     'name': vod['time'],
                     'sign_url': vod_url,
-                    'thumb': thumb_url,
+                    'thumb': response_url,
                     'sec': vod['sec'],
                     'ts_num' : ts_num,
                     'vod_id': vod['id']