Media naming type changed to avoid confusion

imported 'time' library