|
@@ -467,7 +467,7 @@ class CloudStorageView(View):
|
|
)
|
|
)
|
|
vod_url = '{server_domain}/cloudstorage/signplaym3u8?' \
|
|
vod_url = '{server_domain}/cloudstorage/signplaym3u8?' \
|
|
'uid={uid}&channel={channel}&time={time}&sign=tktktktk'. \
|
|
'uid={uid}&channel={channel}&time={time}&sign=tktktktk'. \
|
|
- format(server_domain=SERVER_DOMAIN, uid=base64.b64encode(uid.encode("utf-8")), channel=channel, time=vod['time'])
|
|
|
|
|
|
+ format(server_domain=SERVER_DOMAIN, uid=str(base64.b64encode(uid.encode("utf-8"),'utf-8')), channel=channel, time=vod['time'])
|
|
ts_num = int(vod['fg']) & 0xf
|
|
ts_num = int(vod['fg']) & 0xf
|
|
vod_play_list.append({
|
|
vod_play_list.append({
|
|
'name': vod['time'],
|
|
'name': vod['time'],
|