Fixed issue with corrective when identical before/after filename
This commit is contained in:
parent
2bf0ee41f5
commit
98a3891152
@ -105,7 +105,7 @@ def main():
|
|||||||
oldfilename = str(video)[str(video).rindex("/") + 1:]
|
oldfilename = str(video)[str(video).rindex("/") + 1:]
|
||||||
newfilename = oldfilename[:-4] + ".mkv"
|
newfilename = oldfilename[:-4] + ".mkv"
|
||||||
if oldfilename == newfilename:
|
if oldfilename == newfilename:
|
||||||
newfilename = oldfilename[:-4] + "[HEVC]"
|
newfilename = oldfilename[:-4] + "[HEVC]" + ".mkv"
|
||||||
|
|
||||||
counter += 1
|
counter += 1
|
||||||
print(f"{bcolors.OKCYAN}*********** convert {counter} of {len(videolist)} ***********{bcolors.ENDC}")
|
print(f"{bcolors.OKCYAN}*********** convert {counter} of {len(videolist)} ***********{bcolors.ENDC}")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user