-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Videos in a playlist uploaded on the same day are not sorted by time #78
Comments
This is not possible because youtube-dl doesn't have the time. Maybe a sort according to name should be done then. |
That would work in that exact case, but only because the uploader used the exact same title each time. A pure string sort on most other channels would fail since it's common to name those types of videos "Catchy title just for this episode to get your attention - Game Name Part X". I know it's not your fault - it's certainly youtube-dl's fault for ignoring that issue for this long - but I think it does make ytcc unusable for my purposes. It's a great piece of software otherwise. |
It is youtube's "fault" for not providing this data... This info is available only through the data API which ytdl obv cannot use, and not in the innertube API Can't ytcc somehow save the order in which the video is extracted? ytdl/p always extracts videos in the order the youtube page provides them. So when you do |
Ytcc actually does that. Video IDs in ytcc (scoped by playlist) are increasing in the order they are extracted from ytdl. But that does not help as a reliable workaround. |
Describe the bug
If a playlist/subscription has multiple videos uploaded on the same day, they are not sorted by time when using the
publish_date
ordering.To Reproduce
Subscribe to a channel that publishes multiple videos per day and update.
Set the
order_by
value inytcc.conf
topublish_date:asc
.Execute
ytcc list -p <channel>
Expected behavior
Videos are listed in the strict order they were published.
Environment, configuration and version information
Additional context
Example output from a channel below. I used the YouTube Data API to retrieve two of the videos (Part 225 and 224). 224's publishedAt property was one hour before 225, but in the list below all the videos for each day are sorted in descending order by time even though the ordering in the config file is
publish_date:asc
.Partial responses for each video from the API:
The text was updated successfully, but these errors were encountered: