def find_path(method, path):
    for pattern, handler in routes[method]:
        match = pattern.match(path)
        if match:
            return handler, match.groupdict()
    return None, {}
Return wether the backend is currently playing any media.
dataset/ETHPy150Open heiskr/sagefy/server/framework/routes.py/find_path--crossover with--dataset/ETHPy150Open pascalw/Airplayer/airplayer/mediabackends/base_media_backend.py/BaseMediaBackend.is_playing