dupecheck.py

changeset 15
82361ad7b3fe
parent 5
51e57e9f8db1
child 21
1c0beeca2f9c
equal deleted inserted replaced
14:b398ae388328 15:82361ad7b3fe
20 else: 20 else:
21 title = " - ".join(title[2:]) 21 title = " - ".join(title[2:])
22 title = title[:-3].lower() 22 title = title[:-3].lower()
23 FILELIST.append([title, filename, root]) 23 FILELIST.append([title, filename, root])
24 elif filename.endswith(".mkv"): 24 elif filename.endswith(".mkv"):
25 title = filename[:-4].lower()
26 FILELIST.append([title, filename, root])
27 elif filename.endswith(".mp4"):
25 title = filename[:-4].lower() 28 title = filename[:-4].lower()
26 FILELIST.append([title, filename, root]) 29 FILELIST.append([title, filename, root])
27 print("%i files found, running duplicate testing loop" % len(FILELIST)) 30 print("%i files found, running duplicate testing loop" % len(FILELIST))
28 31
29 listlen = len(FILELIST) 32 listlen = len(FILELIST)

mercurial