def putAllVideosInGroup():
    already_in_group = []
    for group_video in favourite_group.videos(per_page=9001)['body']['data']:
        already_in_group.append(group_video['uri'].split('/')[-1:][0])
    print already_in_group

    for i in allMyVideos():
        tmpuri = i['uri'].split('/')[-1:][0]
        if not tmpuri in already_in_group:
            print "adding " + i['name'] + " to group."
            favourite_group.videos.put(tmpuri)
Put all videos in favourite_group group (if not already present).
dataset/ETHPy150Open nasfarley88/interactive-vimeo/main.py/putAllVideosInGroup