Fix using ##x## for season and episode in templated text

Fixes #12003.

Signed-off-by: Paul Harrison <pharrison@mythtv.org>
(cherry picked from commit acdc9f86988379b842f56b89089f4e8d029dec37)
Python bindings: fix typo in MythXML getPreviewImage()

Fixes #11515.

Signed-off-by: Paul Harrison <pharrison@mythtv.org>
(cherry picked from commit e42e1d8351703798e3dc08cb01597577794bab32)