Function: metadataByKeyProperty()
function metadataByKeyProperty(key: string): string;
Defined in: packages/player/src/properties.ts:281
The property that yields one metadata value by tag name.
mpv 0.35.1 input.rst: "metadata/by-key/<key> — Value of metadata entry
<key>." (The manual also documents the older metadata/<key> spelling
and discourages it, "because the metadata key string could conflict with
other sub-properties" — hence the explicit prefix here.)
Parameters
| Parameter | Type | Description |
|---|---|---|
key | string | Tag name, e.g. 'title', 'icy-title', 'album'. |
Returns
string