calibre already does not care about case. If a file with the exact case is not found, it will list the directory contents and use the first file with the appropriate file extension, automatically correcting the the case as well.
See the function format_abspath in backend.py
|