Skip to content

ytstudio videos list can return some duplicate rows #58

Closed

Description

@tremby

When I run ytstudio videos list --limit 500 I am seeing some duplicate rows.

For example, ytstudio videos list --limit 500 -o table | sort | uniq -c | sort -nr | awk '{print $1}' | uniq -c shows that I get 17 videos printed 3 times each, 32 videos printed twice each, and the other 115 videos printed once each.

They are not real duplicate videos in Youtube, which we know because each row of the table includes the ID, and the (first) uniq command of the pipe is only grouping identical lines.

Activity

  1. changed the title [-]videos list return some duplicate rows[/-] [+]`ytstudio videos list` can return some duplicate rows[/+] on Aug 30, 2026
  2. jdwit commented on Nov 21, 2026

    @jdwit
    Owner

    Thanks for using ytstudio-cli, and for the report. The uniq -c pipeline made it easy to reproduce.

    This is fixed in #59 and released in v0.5.0. Paging through the uploads playlist could return the same video more than once; videos list now drops duplicates by video ID. Upgrade with uv tool upgrade ytstudio-cli or pipx upgrade ytstudio-cli.

    If you run into anything else, please open a new issue.

  3. tremby commented on Nov 21, 2026

    @tremby
    Author

    Very weird that the API would give duplicates, I would have thought they had cursor-based pagination to avoid exactly that.

    I updated but am having trouble. The commands seem to be hanging. I tried ytstudio status and that seems to hang too, and eventually gives a timeout. Last call in your namespace is request.execute, and last in a lib is sock.connect in httplib2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions