#NEWLINE# def _get_vod_streams( self , name ) : #NEWLINE# #INDENT# res = http . get ( API_URL . format ( 'videos' , name ) ) #NEWLINE# json = http . json ( res , schema = _vod_schema ) #NEWLINE# if ( not json ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# streams = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# streams [ 'source' ] = self . _create_rtmp_stream ( VOD_RTMP_URL . format ( json [ 'channel_slug' ] ) , json [ 'name' ] , True ) #NEWLINE# return streams