Youtube Playlists not returning latest videos
Describe the bug Many youtube playlists add new videos to the end, not the beginning.
For example: https://www.youtube.com/playlist?list=PLaDrN74SfdT7Ueqtwn_bXo1MuSWT0ji2w
This shows the oldest 15 videos in the playlist, in reverse chronological order. https://feed.eugenemolotov.ru/?action=display&bridge=Youtube&context=By+playlist+Id&p=PLaDrN74SfdT7Ueqtwn_bXo1MuSWT0ji2w&duration_min=&duration_max=&format=Html
To Reproduce
- Put playlist ID into a youtube-bridge
- see that it doesn't return the newest videos.
Expected behavior I would like to be able to get the newest videos out of a playlist instead of the oldest.
Additional context There was a similar bug report #647 that playlists aren't sorted by date, and that was fixed by #1162, but the example playlist in that puts new videos at the start of the playlist, not the end. So playlists are now returned in reverse chronological order, but it's still the first X videos off the top of the playlist not the bottom.
Just made some investigation. This is not working anymore and returns 0: https://github.com/RSS-Bridge/rss-bridge/blob/1e75f9d3d558cb9dd91aab36a61cdc81f1c8dcb3/bridges/YoutubeBridge.php#L249 So it just fallbacks for fetching videos from youtube's videos.xml, which returns only first 15 videos from playlist.
Hello, @mtfurlan ! FYI, I have just pushed partial fix for this bug. It works correctly, if playlist has less than 100 videos.
Nice, thank you! I do see it working, I just forgot to reply earlier.
This is not fixed yet. Only partial
There was a similar bug report #647 that playlists aren't sorted by date, and that was fixed by #1162, but the example playlist in that puts new videos at the start of the playlist, not the end.
I think adding a "Reverse order" toggle could be a workaround for this issue (Reversing the order and picking the entries off the top for any playlists where the playlist creator puts newer videos at the top).
I think adding a "Reverse order" toggle could be a workaround for this issue (Reversing the order and picking the entries off the top for any playlists where the playlist creator puts newer videos at the top).
Could you please provide, where did you find "reverse order" toggle?
Could you please provide, where did you find "reverse order" toggle?
I didn't find one. I suggested adding one to the YouTube bridge in order to work with playlists with the videos in reverse order.
i think a "Reverse ordering" checkbox in the bridge form can solve this nicely. if anyone has the courage to touch the youtube bridge code