def getTvPatrolReplayMenu(userAgent = userAgent): from lib.brightcove import BrightCove serviceKey = 'f7d4096475cca62e0afb88633662b4df1f429b98' playerKey = 'AQ~~,AAABtXvbPVE~,ZfNKKkFP3R8lv_FZU4AZv5yZg6d3YSFW' playerId = 1933244636001 brightCove = BrightCove(serviceKey, playerKey, serviceUrl = brightCoveserviceUrl, serviceName = brightCoveServiceName) brightCoveResponse = brightCove.getBrightCoveData(playerId, userAgent) videoData = brightCoveResponse['playlistTabs']['lineupListDTO']['playlistDTOs'][0]['videoDTOs'] return getOndemandMenu(videoData, r'/ondemand/&(mp4:.+\.mp4)\?')
def getTvPatrolLiveMenu(userAgent = userAgent): from lib.brightcove import BrightCove serviceKey = 'aa3634a3b4371a1c2f780f830dc2fd1ef4bbb111' playerKey = 'AQ~~,AAABtXvbPVE~,ZfNKKkFP3R-R8qlcWfs20DL-8Bvb6UcW' playerId = 1905932797001 brightCove = BrightCove(serviceKey, playerKey, serviceUrl = brightCoveserviceUrl, serviceName = brightCoveServiceName) brightCoveResponse = brightCove.getBrightCoveData(playerId, userAgent) videoData = brightCoveResponse['playlistCombo']['lineupListDTO']['playlistDTOs'][0]['videoDTOs'] return getLiveMenu(videoData, r'/live/&(LS_TVPatrol.+)')
def getBandilaReplayMenu(userAgent = userAgent): from lib.brightcove import BrightCove serviceKey = '1e901d1b97bc4590fa2d3924a8ec642d684afca4' playerKey = 'AQ~~,AAABtXvbPVE~,ZfNKKkFP3R_F56e3g2DVHn4JP7JQvZsz' playerId = 1927018689001 brightCove = BrightCove(serviceKey, playerKey, serviceUrl = brightCoveserviceUrl, serviceName = brightCoveServiceName) brightCoveResponse = brightCove.getBrightCoveData(playerId, userAgent) videoData = brightCoveResponse['videoList']['mediaCollectionDTO']['videoDTOs'] return getOndemandMenu(videoData, r'/ondemand/&(mp4:.+\.mp4)\?')
def getTvPatrolReplayMenu(userAgent=userAgent): from lib.brightcove import BrightCove serviceKey = 'f7d4096475cca62e0afb88633662b4df1f429b98' playerKey = 'AQ~~,AAABtXvbPVE~,ZfNKKkFP3R8lv_FZU4AZv5yZg6d3YSFW' playerId = 1933244636001 brightCove = BrightCove(serviceKey, playerKey, serviceUrl=brightCoveserviceUrl, serviceName=brightCoveServiceName) brightCoveResponse = brightCove.getBrightCoveData(playerId, userAgent) videoData = brightCoveResponse['playlistTabs']['lineupListDTO'][ 'playlistDTOs'][0]['videoDTOs'] return getOndemandMenu(videoData, r'/ondemand/&(mp4:.+\.mp4)\?')
def getTvPatrolLiveMenu(userAgent=userAgent): from lib.brightcove import BrightCove serviceKey = 'aa3634a3b4371a1c2f780f830dc2fd1ef4bbb111' playerKey = 'AQ~~,AAABtXvbPVE~,ZfNKKkFP3R-R8qlcWfs20DL-8Bvb6UcW' playerId = 1905932797001 brightCove = BrightCove(serviceKey, playerKey, serviceUrl=brightCoveserviceUrl, serviceName=brightCoveServiceName) brightCoveResponse = brightCove.getBrightCoveData(playerId, userAgent) videoData = brightCoveResponse['playlistCombo']['lineupListDTO'][ 'playlistDTOs'][0]['videoDTOs'] return getLiveMenu(videoData, r'/live/&(LS_TVPatrol.+)')
def getBandilaReplayMenu(userAgent=userAgent): from lib.brightcove import BrightCove serviceKey = '1e901d1b97bc4590fa2d3924a8ec642d684afca4' playerKey = 'AQ~~,AAABtXvbPVE~,ZfNKKkFP3R_F56e3g2DVHn4JP7JQvZsz' playerId = 1927018689001 brightCove = BrightCove(serviceKey, playerKey, serviceUrl=brightCoveserviceUrl, serviceName=brightCoveServiceName) brightCoveResponse = brightCove.getBrightCoveData(playerId, userAgent) videoData = brightCoveResponse['videoList']['mediaCollectionDTO'][ 'videoDTOs'] return getOndemandMenu(videoData, r'/ondemand/&(mp4:.+\.mp4)\?')