Management and playing of videos using python as the backend