Skip to content

entry add: transcoding times out with 'analyzing' status for most files #3

Description

@TheBestMoshe

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

  1. Create a playlist:

    yoto playlist create "Test"
    
  2. 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
    
  3. 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
    
  4. 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions