示例#1
0
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)\?')
示例#2
0
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.+)')
示例#3
0
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)\?')
示例#4
0
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)\?')
示例#5
0
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.+)')
示例#6
0
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)\?')