mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-13 15:06:59 +03:00
Instead of picking the first segment returned by the db (i.e. possibly random), sort segments by submission time and use the oldest visible segment with a non-zero video duration.