Modify default patterns

Hello

Where do I modify default filename patterns used by kodi to recognize movie name, subtitle file etc?

Fe. my movie files are named “<localized title> (year) <original title>.ext”, subtitles are named <movie file name>-language.ext etc

TIA