You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ytstudio videos list can return some duplicate rows #58
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.
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.
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.
Activity
[-]videos list return some duplicate rows[/-][+]`ytstudio videos list` can return some duplicate rows[/+]fix: drop duplicate videos when paging the uploads playlist (#58) (#59)
jdwit commentedon Nov 21, 2026
Thanks for using ytstudio-cli, and for the report. The
uniq -cpipeline 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 listnow drops duplicates by video ID. Upgrade withuv tool upgrade ytstudio-cliorpipx upgrade ytstudio-cli.If you run into anything else, please open a new issue.
tremby commentedon Nov 21, 2026
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.