def make_media_id(username):
    #partial = md5(str(uuid1())).hexdigest()
    #uuid = "%s-%s-%s-%s-%s" % (partial[:8], partial[8:12], partial[12:16], partial[16:20], partial[20:32])
    #print uuid
    return '{username}~{uuid}'.format(username=username.upper(),uuid=str(uuid1()))
Create a unique media identifier. Used when uploading media
dataset/ETHPy150Open rxw/snapy/snapy/utils.py/make_media_id