Image 01
profile-image

seneral

Youtube playlist

VLC Playlist Parsers 315 comments

Score 85.8%
Sep 05 2017
Official version does not work with 200+ videos, so I fixed it (based of previous fixes posted here) and verified it works in VLC 3.0.4 with any playlist (tested 1000+). Special care had to be taken to avoid duplicates.
FYI a request with index x will return videos from index x-100 to x+99, but if index it out of range (over playlist length), it will return 0-199. So it starts of with x=100 to get 0-199, then x=200 to get 100-299, etc. To avoid missing the last (up to 100) elements you with taking 200-jumps. In turn I had to revisit the duplication detection to avoid those hundreds of duplicates.
https://gist.github.com/Seneral/bd64281ae30a6010e97d956ecd63238e - Jul 28 2019