'Returns a full show dir/metadata/episode.xml path for MediaBrowser
episode metadata files
ep_obj: a TVEpisode object to get the path for'

def get_episode_file_path(self, ep_obj):

    if ek(os.path.isfile, ep_obj.location):
        xml_file_name = replace_extension(ek(os.path.basename, ep_obj.location), self._ep_nfo_extension)
        metadata_dir_name = ek(os.path.join, ek(os.path.dirname, ep_obj.location), u'metadata')
        xml_file_path = ek(os.path.join, metadata_dir_name, xml_file_name)
    else:
        logger.log((u"Episode    location    doesn't    exist:    " + str(ep_obj.location)), logger.DEBUG)
        return u''
    return xml_file_path
