Move the metamedia_load_textdomain() function definition into functions.php.
Short-circuit the library if it's been loaded elsewhere.