Esempio n. 1
0
def getVideoByVid(vid):
    rows=table.getUrlByVid(ctable, vid)
    if rows!=-1 and len(rows)>0:
        url=rows[0][0]
        return getVideoByUrl(url)
    else:
        return None
Esempio n. 2
0
def getUrlByVid(vid):
    rows = table.getUrlByVid(ctable, vid)
    if rows != -1 and len(rows) > 0:
        url = rows[0][0]
        return url