def METHOD_NAME(self, fullpath):
    '''helper to recursively delete a directory'''
    success = True
    if not isinstance(fullpath, str):
        fullpath = fullpath.decode("utf-8")
    dirs, files = xbmcvfs.listdir(fullpath)
    for file in files:
        file = file.decode("utf-8")
        success = xbmcvfs.delete(os.path.join(fullpath, file))
    for directory in dirs:
        directory = directory.decode("utf-8")
        success = self.METHOD_NAME(os.path.join(fullpath, directory))
    success = xbmcvfs.rmdir(fullpath)
    return success