#1313 Split sound upload: copy the clip UUIDs one per line #1337

Merged
sky_line merged 1 commit from TheSlowly/Slipstream:split-upload-uuids-1313 into main 2026-10-31 22:09:22 +00:00
Collaborator

Fixes #1313: after a split sound upload, "Copy UUID list" put LSL source on the clipboard. The dialog now has Copy UUIDs (one per line, in clip order; the default), Copy as LSL list (the old text, unchanged) and Close.

The two formats live in a small unit with a test (slsounduuidlist). The sound-to-notecard upload is unchanged: it already writes one UUID per line under the clip length its players read.

Not tested in-world yet.

Fixes #1313: after a split sound upload, "Copy UUID list" put LSL source on the clipboard. The dialog now has **Copy UUIDs** (one per line, in clip order; the default), **Copy as LSL list** (the old text, unchanged) and **Close**. The two formats live in a small unit with a test (`slsounduuidlist`). The sound-to-notecard upload is unchanged: it already writes one UUID per line under the clip length its players read. Not tested in-world yet.
When a long sound is split and uploaded, the done dialog's only copy button put
LSL source on the clipboard (clip length variables and a quoted, comma-separated
list). Most people paste the UUIDs into a notecard or a sound player's web form
and had to strip the quotes, commas and variables by hand.

The default button, Copy UUIDs, now copies the UUIDs in clip order, one per line
and nothing else, with no newline after the last one so a paste adds no empty
line. The LSL list stays on a second button, Copy as LSL list, unchanged, since
it saves scripters writing the list and the clip lengths themselves.

Both formats move into slsounduuidlist (no viewer state) with a unit test. The
sound-to-notecard bulk upload already writes one UUID per line under the clip
length line its music players read, so it is unchanged.

Test-Plan: Upload a sound longer than 30 seconds from the sound upload window
  (for example 65 s) and confirm the split. When the "All N clips ... were
  uploaded" dialog appears, press Copy UUIDs and paste into a notecard: one UUID
  per line in clip order (_01 first), no quotes, commas or variables, and no empty
  line at the end. Compare with each clip's UUID in inventory (Copy Asset UUID).
  Upload a sound of about 35 s (two clips) and press Copy as LSL list: the pasted
  text is the float clip_seconds / last_clip_seconds lines and the quoted list, as
  before, and compiles in a script. Upload another and press Close: the clipboard
  is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sky_line/Slipstream!1337
No description provided.