Пример #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