# -*- coding: utf-8 -*-

import sys

from configobj import ConfigObj

class AirtimeMediaConfig:

    MODE_CREATE = "create"
    MODE_MODIFY = "modify"
    MODE_MOVED = "moved"
    MODE_DELETE = "delete"
    MODE_DELETE_DIR = "delete_dir"

    def __init__(self, logger):

        # loading config file
        try:
            config = ConfigObj('/etc/airtime/media-monitor.cfg')
            self.cfg = config
        except Exception, e:
            logger.info('Error loading config: ', e)
            sys.exit(1)

        self.storage_directory = None


