Description
When using yoto entry add to add audio files to a playlist, the transcoding step times out with status analyzing for most files. Only occasional files succeed.
Steps to reproduce
-
Create a playlist:
yoto playlist create "Test"
-
Try adding multiple m4a files (e.g. an 11-track album):
for f in /path/to/album/*.m4a; do
title=$(basename "$f" .m4a)
yoto entry add <cardId> "$title" --file "$f"
done
-
Most files upload successfully but then fail at the transcoding wait step:
ℹ Uploading 01 - Track 1.m4a...
✓ Uploaded successfully
ℹ Waiting for transcoding...
✗ Transcoding failed with status: analyzing
-
However, if you upload the same files using yoto track upload --no-wait and then check with yoto track status <id> --wait (or just wait longer), they all transcode successfully.
Expected behavior
entry add should wait long enough for transcoding to complete, or have a configurable timeout. The current timeout appears too short for files that take a bit longer to analyze.
Workaround
Upload files separately with track upload --no-wait, wait for transcoding to finish, then use chapter add + track add with the yoto:#<transcodedSha256> hash.
Environment
- yoto-cli v0.2.0
- macOS
- Files: m4a (AAC, 48kHz, ~195kbps, 2-10 minutes each)
Description
When using
yoto entry addto add audio files to a playlist, the transcoding step times out with statusanalyzingfor most files. Only occasional files succeed.Steps to reproduce
Create a playlist:
Try adding multiple m4a files (e.g. an 11-track album):
Most files upload successfully but then fail at the transcoding wait step:
However, if you upload the same files using
yoto track upload --no-waitand then check withyoto track status <id> --wait(or just wait longer), they all transcode successfully.Expected behavior
entry addshould wait long enough for transcoding to complete, or have a configurable timeout. The current timeout appears too short for files that take a bit longer to analyze.Workaround
Upload files separately with
track upload --no-wait, wait for transcoding to finish, then usechapter add+track addwith theyoto:#<transcodedSha256>hash.Environment