Throws unhandled exception for TV shows in format S0y.E0x
Closed this issue · 0 comments
GoogleCodeExporter commented
Turbo-sort throws an unhandled exception when attempting to parse TV shows
which have a period between the season and episode numbers (e.g. S01.E01).
After removing the period, turbo-sort works fine.
Because this exception is unhandled, it prevents the script from continuing
execution and sorting the other files in the directory.
Traceback (most recent call last):
File "turboSort.py", line 229, in <module>
new = populate_fields(old)
File "turboSort.py", line 213, in populate_fields
episode = zepisode[-1] if zepisode[0] == '0' else zepisode
IndexError: string index out of range
Version 2.0.0 of Turbo-sort
Original issue reported on code.google.com by reli...@gmail.com
on 27 Jan 2012 at 11:48