예제 #1
0
 def getVideoSearch(self, searchterm):
     brUserDA = BrandReportDataAccess()
     responseData = brUserDA.getVideoSearch(searchterm)
     return responseData
예제 #2
0
 def IncreaseViewCount(self, audioblobkey, viewcount):
     brUserDA = BrandReportDataAccess()
     responseData = brUserDA.IncreaseViewCount(audioblobkey, viewcount)
     return responseData
예제 #3
0
 def GetVideoDetails(self, videoUrl):
     brUserDA = BrandReportDataAccess()
     responseData = brUserDA.GetVideoDetails(videoUrl)
     return responseData
예제 #4
0
 def GetAudioDetails(self, audBlobkey):
     brUserDA = BrandReportDataAccess()
     responseData = brUserDA.GetAudioDetails(audBlobkey)
     return responseData    
예제 #5
0
 def GetVideoLinks(self, category, sortBy):
     brUserDA = BrandReportDataAccess()
     responseData = brUserDA.GetVideoLinks(category, sortBy)
     return responseData    
예제 #6
0
 def AddNewAudio(self, blobkeys, audioname, videoLink, composer, composeremail, starttime, language):
     brUserDA = BrandReportDataAccess()
     responseData = brUserDA.AddNewAudio(blobkeys, audioname, videoLink, composer, composeremail, starttime, language)
     return responseData
예제 #7
0
 def AddNewVideo(self, name, videoLink, videocat, srtBlobKey):
     brUserDA = BrandReportDataAccess()
     responseData = brUserDA.AddNewVideo(name, videoLink, videocat, srtBlobKey)
     return responseData
예제 #8
0
    def GetAudioByLink(self, videoLink):
#         responseData = dict()
        brUserDA = BrandReportDataAccess()
        responseData = brUserDA.GetAudioByLink(videoLink)
        
        return responseData