Home > borogove > persistence > MediaStoreFS > getMediaPath

persistence.MediaStoreFS.getMediaPath() method

Get absolute path on filesystem to a particular piece of media

Signature:

getMediaPath(uri: string): Promise<string markdown="1" | null>;

Parameters

Parameter Type Description
uri string The URI to the media (ni:// or similar)

Returns:

Promise<string | null>

Promise resolving to the path or null