Please use xbmc formatting conventions, e.g. separate line for braces.

Where is exiftime and resolution set currently?  Are others set from the same spot?