MCPcopy Create free account
hub / github.com/AudiusProject/apps / updateTrackV2

Method updateTrackV2

packages/libs/src/api/Track.ts:489–527  ·  view source on GitHub ↗

* Updates an existing track given metadata using only chain and not creator node. * @param metadata json of the track metadata with all fields, missing fields will error * @param transcodePreview bool: retranscode track preview and set preview_cid if true

(
    userId: number,
    metadata: TrackMetadata,
    transcodePreview = false
  )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

writeTrackToChainMethod · 0.95
IS_OBJECTMethod · 0.80
transcodeTrackPreviewMethod · 0.80

Tested by

no test coverage detected