mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-23 19:55:38 +01:00
Revert "output: cut the episode names to to 30 chars."
This reverts commit 1721ca1003
.
This need to be fixed in a better way
This commit is contained in:
parent
fd729f7f53
commit
f85a9d4425
@ -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]:
|
||||
|
Loading…
Reference in New Issue
Block a user