fix: rewrite playlists whose only streams were duplicates in playlist:format

playlist:format drops duplicate links across all files, then saves each file that still has streams. A file whose streams were all duplicates of links in other files was never saved, so it kept the duplicate (and the unnormalized link) as it was.
This commit is contained in:
Leo Camus
2026-11-22 02:00:15 +00:00
parent f0e15d972a
commit c674b75a3b
4 changed files with 23 additions and 4 deletions
@@ -0,0 +1,5 @@
#EXTM3U
#EXTINF:-1 tvg-id="",Alpha (720p)
https://example.com/alpha.m3u8?a=1&b=2
#EXTINF:-1 tvg-id="",Bravo (720p)
https://example.com/bravo.m3u8
@@ -0,0 +1,3 @@
#EXTM3U
#EXTINF:-1 tvg-id="",Alpha (720p)
https://example.com/alpha.m3u8?b=2&a=1