-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Hello! I love your tool. However in a ROM folder that has over 5000 roms the script crashes:
rolle@retropc:~/RetroPie/roms/c64$ clean_roms --rom_dir .
using cached list from: roms.txt
Traceback (most recent call last):
File "/usr/local/bin/clean_roms", line 159, in <module>
all_roms.add_rom(Rom(full_path_filename))
File "/usr/local/bin/clean_roms", line 63, in __init__
self.base_filename = self.describe_rom(full_path_filename)
File "/usr/local/bin/clean_roms", line 84, in describe_rom
ret_tokens.append(ret_base_filename[s_p[i]:e_p[i] + 1])
IndexError: list index out of range
Can you update the script so that it handles larger amount of roms?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels