From f85a9d44251137419d525d033dd81dfe42816f38 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Fri, 18 Oct 2019 16:26:21 +0200 Subject: [PATCH] Revert "output: cut the episode names to to 30 chars." This reverts commit 1721ca10030fa1d70aa807c7a30510e10b534189. This need to be fixed in a better way --- lib/svtplay_dl/utils/output.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/svtplay_dl/utils/output.py b/lib/svtplay_dl/utils/output.py index 7ade70e..a2c893d 100644 --- a/lib/svtplay_dl/utils/output.py +++ b/lib/svtplay_dl/utils/output.py @@ -166,10 +166,7 @@ def _formatname(output, config, extension): number = "{:02d}".format(int(output[key])) name = name.replace("{episode}", number) if key == "episodename" and output[key]: - epname = filenamify(output[key]) - if len(epname) > 30: - epname = epname[:30] - name = name.replace("{episodename}", epname) + name = name.replace("{episodename}", filenamify(output[key])) if key == "id" and output[key]: name = name.replace("{id}", output[key]) if key == "service" and output[key]: