getMediaPath(uri:)

Get absolute path on filesystem to a particular piece of media

func getMediaPath(uri: String) async -> String?

Parameters

uri

The URI to the media (ni:// or similar)

Return Value

Promise resolving to the path or null