DTVRecorder: Fix 32 to 64 bit integer arithmetic in FindPSKeyFrames()

This is reported to fix commercial flagging of PVR-150/300/500 recordings
possibly only affecting 32 bit O/Ss due to a bad conversion from a 32 bit
unsigned int to a 64 bit signed int.

Fixes #12313.

Signed-off-by: Paul Harrison <pharrison@mythtv.org>
(cherry picked from commit eb0e5050a4af098b9c9dd392c324e1993b2c590e)
mythfilldatabase: remove Schedules Direct userid from temporary file names

This removes the userid from the file name so it wont be exposed in any logs.

Fixes #12300.

Signed-off-by: Paul Harrison <pharrison@mythtv.org>
(cherry picked from commit 6750b358ec33c09bd651507ed57eb993ae5e5a39)
mythfilldatabase: remove the redundant assign to userid

Refs #12300.

(cherry picked from commit 2f2261d6e3bb78f029dbb38e4746314d6ca0a2b6)
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)