def set_date_from_path_video(self, video):
        date_taken = None

        video_file_path = video.get_file_path()

        # Initialize date taken to what's returned from the metadata function.
        # If the folder and file name follow a time format of
        #   YYYY-MM/DD-IMG_0001.JPG then we override the date_taken
        (year, month, day) = [None] * 3
        directory = os.path.dirname(video_file_path)
        # If the directory matches we get back a match with
        #   groups() = (year, month)
        year_month_match = re.search('(\d{4})-(\d{2})', directory)
        if(year_month_match is not None):
            (year, month) = year_month_match.groups()
        day_match = re.search(
            '^(\d{2})',
            os.path.basename(video.get_file_path())
        )
        if(day_match is not None):
            day = day_match.group(1)

        # check if the file system path indicated a date and if so we
        #   override the metadata value
        if(year is not None and month is not None):
            if(day is not None):
                date_taken = time.strptime(
                    '{}-{}-{}'.format(year, month, day),
                    '%Y-%m-%d'
                )
            else:
                date_taken = time.strptime(
                    '{}-{}'.format(year, month),
                    '%Y-%m'
                )

            os.utime(video_file_path, (time.time(), time.mktime(date_taken)))
With no arguments, return a dictionary of all configuration
dataset/ETHPy150Open jmathai/elodie/elodie/filesystem.py/FileSystem.set_date_from_path_video--crossover with--dataset/ETHPy150Open babble/babble/include/jython/Lib/distutils/sysconfig.py/get_config_vars