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) |