From a264433c9fba147ecae2420091614186cfeeb895 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Sat, 22 Jul 2023 07:52:55 +0530 Subject: [outtmpl] Fix replacement for `playlist_index` --- test/test_YoutubeDL.py | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/test_YoutubeDL.py b/test/test_YoutubeDL.py index b4f770ca5..c54c3ea5c 100644 --- a/test/test_YoutubeDL.py +++ b/test/test_YoutubeDL.py @@ -687,6 +687,7 @@ class TestYoutubeDL(unittest.TestCase): test('%(duration_string)s', ('27:46:40', '27-46-40')) test('%(resolution)s', '1080p') test('%(playlist_index|)s', '001') + test('%(playlist_index&{}!)s', '001!') test('%(playlist_autonumber)s', '02') test('%(autonumber)s', '00001') test('%(autonumber+2)03d', '005', autonumber_start=3) -- cgit v1.2.3