The foobar2000 SDK is not very well documented, so I am a bit confused ...

If I understand correctly, whenever a metadb_handle is created from a file path, the path should be processed through file_path_canonical(), otherwise it will not be compared correctly with existing metadb_handles.

Could someone please confirm this?

Should file_path_canonical() be used for non-local paths (e.g. http:// URLs) too? Is there a standard way to convert any types of URL to a standardised form in foobar2000?