The problem is in "os.path.split(os.path.commonprefix(files))".
The goal is to get the base folder of all files added, so we can reproduce the arborescence elsewhere. But here, "file:///a.ogg" should have "file:///" as base folder instead of "file:". Basically, the split must work with URIs.
The problem is in "os.path. split(os. path.commonpref ix(files) )".
The goal is to get the base folder of all files added, so we can reproduce the arborescence elsewhere. But here, "file:///a.ogg" should have "file:///" as base folder instead of "file:". Basically, the split must work with URIs.