def getVideoSearch(self, searchterm): brUserDA = BrandReportDataAccess() responseData = brUserDA.getVideoSearch(searchterm) return responseData
def IncreaseViewCount(self, audioblobkey, viewcount): brUserDA = BrandReportDataAccess() responseData = brUserDA.IncreaseViewCount(audioblobkey, viewcount) return responseData
def GetVideoDetails(self, videoUrl): brUserDA = BrandReportDataAccess() responseData = brUserDA.GetVideoDetails(videoUrl) return responseData
def GetAudioDetails(self, audBlobkey): brUserDA = BrandReportDataAccess() responseData = brUserDA.GetAudioDetails(audBlobkey) return responseData
def GetVideoLinks(self, category, sortBy): brUserDA = BrandReportDataAccess() responseData = brUserDA.GetVideoLinks(category, sortBy) return responseData
def AddNewAudio(self, blobkeys, audioname, videoLink, composer, composeremail, starttime, language): brUserDA = BrandReportDataAccess() responseData = brUserDA.AddNewAudio(blobkeys, audioname, videoLink, composer, composeremail, starttime, language) return responseData
def AddNewVideo(self, name, videoLink, videocat, srtBlobKey): brUserDA = BrandReportDataAccess() responseData = brUserDA.AddNewVideo(name, videoLink, videocat, srtBlobKey) return responseData
def GetAudioByLink(self, videoLink): # responseData = dict() brUserDA = BrandReportDataAccess() responseData = brUserDA.GetAudioByLink(videoLink) return responseData