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

Method uploadTrackV2

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

* Only uploads track but does not write to chain. Do not call by itself. * * @dev To upload a single track, call uploadTrackV2AndWriteToChain() instead. * @dev To upload multiple uploads, call this function multiple times and then call addTracksToChainV2() once. * * @param trackFile R

(
    userId: number,
    trackFile: File,
    coverArtFile: File | null,
    metadata: UploadTrackMetadata,
    onProgress: ProgressCB
  )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 5

REQUIRESMethod · 0.80
FILE_IS_VALIDMethod · 0.80
IS_OBJECTMethod · 0.80

Tested by

no test coverage detected