# Path: elodie/constants.py



from builtins import map
from builtins import object
from math import radians, cos, sqrt
from shutil import copyfile
from time import strftime
from elodie import constants
import hashlib
import json
import os
import sys
"""
Methods for interacting with information Elodie caches about stored media.
"""





class Db(object):

    """A class for interacting with the JSON files created by Elodie."""

    def __init__(self):
        # verify that the application directory (~/.elodie) exists,
        #   else create it

# Path: elodie/constants.py



# Path: elodie/localstorage.py
from builtins import map
from builtins import object
from math import radians, cos, sqrt
from shutil import copyfile
from time import strftime
from elodie import constants
import hashlib
import json
import os
import sys

"""
Methods for interacting with information Elodie caches about stored media.
"""





class Db(object):

    """A class for interacting with the JSON files created by Elodie."""

    def __init__(self):
        # verify that the application directory (~/.elodie) exists,
        #   else create it

        if not os.path.exists(constants.application_directory):