def get_next_streaming_event():
    now = datetime.datetime.now()
    q = Event.objects.filter(public=True,
                             require_video=True,
                             start_date__gte=now)
    try:
        return q.order_by('-start_date')[0]
    except __HOLE__:
        return
dataset/ETHPy150Open kiberpipa/Intranet/pipa/video/utils.py/get_next_streaming_event