Discord Player

deserializeSourceResult

Reconstruct source-host metadata in a consumer process without restoring private extractor objects. The normal Track retains the transient hint without requiring a second representation.

You are reading the v8 docsDev
FunctionTypeScript@discord-player/plugin-host
View sourcepackages/plugin-host/src/protocol.ts:29
function deserializeSourceResult(result: PortableSourceResult): SearchResult

Reconstruct source-host metadata in a consumer process without restoring private extractor objects. The normal Track retains the transient hint without requiring a second representation.

Parameters

NameTypeDescription
resultPortableSourceResult

HTTP result payload (after unwrapping Remedia's handled/result envelope).

Returns

SearchResult

Shared model instances suitable for application metadata display and persistence.