Skip to content

Conversation

@rickyrombo
Copy link
Contributor

  • TracksAPI: Change coverArtFile and trackFile to imageFile and audioFile for clarity
  • TracksAPI: Change the onProgress handler to be ('audio' | 'image', { loaded: number, total: number, transcode: number }) => void
  • TracksAPI: Update updateTrack to allow passing a new audioFile and onProgress handler
  • TracksAPI: Update uploadTrackFiles to return a handle that can start() and abort() an upload, allowing for uploads to get aborted (for track replace so that they don't overwrite each other's progress)
  • Wire up track audio replacement to TUS

@changeset-bot
Copy link

changeset-bot bot commented Jan 22, 2026

⚠️ No Changeset found

Latest commit: 67f8c16

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

… and started, and update the sdk to allow for updating the audio directly and to support these handles. fixes the replace audio modal to adjust to the new onprogress schema
@rickyrombo rickyrombo force-pushed the mjp-tus-edit-replace-audio branch from 38e4ecc to ba5579b Compare January 22, 2026 03:00
Moves all the upload logic from UploadPage into its own hook that can be
shared with mobile
@rickyrombo rickyrombo merged commit aeb98d8 into mjp-tus-upload Jan 22, 2026
3 of 5 checks passed
@rickyrombo rickyrombo deleted the mjp-tus-edit-replace-audio branch January 22, 2026 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants