-
-
Notifications
You must be signed in to change notification settings - Fork 296
Open
Description
Some YouTube channels recreate their playlist on each new episode release, causing all the playlist items' publishedAt to always be identical and more recent than the publication date, breaking the playlist order.
Potentially a feature request to force the use of playlist or publication date:
podsync/pkg/builder/youtube.go
Lines 362 to 370 in 2500955
| // Parse date added to playlist / publication date | |
| dateStr := "" | |
| playlistItem, ok := playlist[video.Id] | |
| if ok && playlistItem.PublishedAt > snippet.PublishedAt { | |
| // Use playlist item publish date if it's more recent | |
| dateStr = playlistItem.PublishedAt | |
| } else { | |
| dateStr = snippet.PublishedAt | |
| } |
May be related to #61
See example below with the Answer for It! podcast:

Metadata
Metadata
Assignees
Labels
No labels