New updated version. Many thanks to spitfires and millsb for their help and Velocitysurfer and SolidTechie for testing so far
# Dec 28, 2011
# mrtickle, 3.2.0-rc5
# 1. factor out common procs (display title etc) to separate file
# mrt_get_verbose_title, mrt_get_program_tmsid, mrt_check_program_movie, mrt_check_films_genre, mrt_firsttwochars. mrt_display_tmsid
# 2. fix tivoweb2 colours problem reported by spitfires using CSS
# used spitfire's colours, and added mrt_css_fallback (in mrt_utils) to be called after every html_start to cater for (most) people who don't add the new styles to the theme.
# 3. fix braces for spitfire's mfs insert programmes errors
# used millsb's version of strim
# 4. prepend sNNeNN to start of Episode titles that are saved. Can be sorted in the series display. Suggest you hand-edit old files for completeness.
# 5. watched/unwatched issue reported by Velocitysurfer
# tracker_rebuild needs $chan passed to it, but only outputs if $trackerdebug is on. If you have that and 'autorebuild' set, this configuration needs testing.
# 6. invalid HTML fixed in links with parameters and in trackerseries. Bug fixed where title variable was being wiped.
NB: From now on, Tracker also requires the support file zz_mrt_utils which is included and should be uploaded to the same directory (for tivowebplus 2.1b3 it might need to go in the libs directory instead if it doesn't work in modules). This uses a slightly different version of spitfire's expand_epnum routine which pads single-digit season/episode strings with leading zeros (ie sNeN becomes s0Ne0N). It's in a different namespace to avoid clashes.
Attachment removed: please see
this thread for updated version.