Skip to content
Snippets Groups Projects
Commit d5c2ce55 authored by Andreas Valder's avatar Andreas Valder
Browse files

removed genlive from livestreams

parent 238f111e
No related branches found
No related tags found
No related merge requests found
from server import *
def genlive(streams):
for stream in streams:
stream['visible'] = True
stream['downloadable'] = False
stream['path'] = 'pub/hls/%s.m3u8'%stream['livehandle']
stream['file_size'] = 0
return streams
@sched_func(30)
def livestream_thumbnail():
livestreams = query('''SELECT streams.handle AS livehandle, streams.lecture_id, "formats" AS sep, formats.*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment