def uri_to_path(uri):
    # TODO: decide on Unicode vs. bytes for URIs
    return unquote_to_bytes(urlsplit(uri).path)
Convert URI to file path.
dataset/ETHPy150Open mopidy/mopidy/mopidy/m3u/translator.py/uri_to_path