Page 1 of 4

Tracker and TWP 2.x

PostPosted: Fri Jun 03, 2011 5:25 pm
by spitfires
Before I launch into getting the Tracker module working in TWP 2.1, has anyone does this already?
Does anyone have a version of Tracker that works with TWP 2.0 or 2.1 ?

(Tracker 3.1.7 works with TWP 1.3 but not 2.x)

Thanks.

Re: Tracker and TWP 2.x

PostPosted: Fri Jun 03, 2011 8:35 pm
by Velocitysurfer
What's the benefit of TWP 2.x over 1.3?

I'm running TWP 1.3.1 and Tracker version 3.1.4

Re: Tracker and TWP 2.x

PostPosted: Sat Jun 04, 2011 3:18 pm
by spitfires
Attached is Tracker modified to work with TWP 2.1.b3.

(Works seamlessly with TWP or TW. Regression tested in TWP 2.0.0, TWP 1.3.1 and TW 1.9.4 )

Re: Tracker and TWP 2.x

PostPosted: Mon Aug 01, 2011 9:51 pm
by mrtickle
Did you mean to put # June 4, 2011 in the file? ;-)

Attached is a merge of your 3.17a with my changes I've made while I've been away. I had been numbering up to 3.22 so this is 3.23b, but back in the real number system it'd be 3.18.

Changelist (revised):

# April 13, 2007 - 3.1.7
# bushman - Glenn Sullivan
# Formatting clean up
# Remove Old Comments
# Bump Rev
#
# June 29, 2008 - mrt3.1.7
# mrtickle
# include Movies in non-generic processing list
# set generated episode titles (dates) to be Y2K-compliant
# highlight Films and Specials and One-offs in yellow
#
# Dec 5, 2008 - mrt3.1.8
# mrtickle
# don't update the precious first recording date of an episode you've previous recorded, just because it
# appears in the To-Do list again in the future!
#
# Jan 10, 2009 - mrt3.1.9
# Add sorting of tracker series lists - click on the headings to sort
#
# Feb 14, 2010 - mrt3.2.0
# mrtickle
# left align episode titles
#
# May 12, 2011 - mrt3.2.1beta
# mrtickle
# added handling for whitelists of series that should be left in To-Do list by default
# This allows you to turn processing of Generics ON, to get rid of most of them, but allow a few series of your
# choice to be unticked by default. To use: in the tracker dir create a file called "white_series_whengenric"
# containing the Series TmsIDs to whitelist, one on each line. Do the same with "white_series_whenepisodic", IF a series
# often has bad data (same episode in the guide data, when it isn't really, and the tracker would've deleted it).
#
# June 4, 2011 - 3.1.7a
# spitfires
# Modified to work with TWP 2.1
# (note: rather than POSTing to /bounce/todo/ we should really modify confirmdelete() in ui_compat but I
# don't want to make any changes to the core TWP code)
#
# Jun 11, 2011 - mrt3.2.1
# mrtickle
# added checking for existance of whitelist files
#
# Jul 1, 2011 - mrt3.2.2
# mrtickle
# allowed for old Tribune "MV" and "SP" series to be renamed files, to demark Tribune data as archived for reference.
# Suggestion to users: hand-edit the "series" file to mark the titles of each series, ie add " (Tribune)" to the end of each series title.
#
# Aug 1, 2011 - merge mrt and spitfire branches
# mrtickle, 3.23a
# merge back in with April 13, 2007 - 3.1.7 release which I missed :(
# added local version of get_verbose_title so this can be independant of ui2 module
# changed colour of One-offs to dark green
#
# Aug 1, 2011; later
# mrtickle, v3.23b
# merged 3.23a back with spitfire's - 3.1.7a release.
# Renumbered this back to 3.1.8.

NB: I cannot test this yet, as I am not part of the TmsId testing programme (see my sig for details). Regardless, do NOT update the Tracker database unless your TiVo has TmsIds, otherwise you'll get loads of blank lines in the blocklist files, and the results are unpredictable!

I've been as careful as possible with the merge but nevertheless there may be errors; feedback appreciated.

This has been tweaked to also work with the proposed AltEPG format for TmsIds (currently in testing) which matches Tribune's TmsId numbering system yet without clashing with any existing Tribune TmsIds.

removed: please see this thread for updated version.

Re: Tracker and TWP 2.x

PostPosted: Tue Aug 02, 2011 6:44 am
by SolidTechie
Do I install this over the virgin iso image, or do I need to install all the other "patches" first?

Re: Tracker and TWP 2.x

PostPosted: Tue Aug 02, 2011 9:20 am
by spitfires
mrtickle wrote:Did you mean to put # June 4, 2011 in the file? ;-)

:oops: Where do the years go eh? :(

(Edit: awww he's taken my name out altogether now :cry: :cry: )


SolidTechie wrote:Do I install this over the virgin iso image, or do I need to install all the other "patches" first?

I think you can just install this one by itself if you want.

Re: Tracker and TWP 2.x

PostPosted: Tue Aug 02, 2011 12:21 pm
by mrtickle
spitfires wrote:(Edit: awww he's taken my name out altogether now :cry: :cry: )


Profound apologies! Will fix it later. Edit: now back in - chronological order. There isn't a less confusing way of doing it I don't think :(

Re: Tracker and TWP 2.x

PostPosted: Tue Aug 02, 2011 12:52 pm
by johnscott99
can we avoid the use of the word "Virgin" on this forum?
Ta
:D

Re: Tracker and TWP 2.x

PostPosted: Tue Aug 02, 2011 4:25 pm
by SolidTechie
johnscott99 wrote:can we avoid the use of the word "Virgin" on this forum?
Ta
:D



Well yes, but I used the word virgin - which is a(are) whole different thing(s)! :mrgreen: To me, it conjours magical images - and I can assure you, not one of them is a beard!

... or at least I don't think it is, hard to tell from this angle..... :wink:

Re: Tracker and TWP 2.x

PostPosted: Tue Aug 02, 2011 4:45 pm
by mrtickle
SolidTechie wrote:
johnscott99 wrote:can we avoid the use of the word "Virgin" on this forum?
Ta
:D



Well yes, but I used the word virgin - which is a(are) whole different thing(s)! :mrgreen: To me, it conjours magical images


More than one magical image - ok, Mother Teresa and Ann Widdecombe?

Re: Tracker and TWP 2.x

PostPosted: Wed Aug 03, 2011 6:26 am
by SolidTechie
mrtickle wrote:
More than one magical image - ok, Mother Teresa and Ann Widdecombe?


No, no no....You've spoiled it now... :(

Re: Tracker and TWP 2.x

PostPosted: Wed Aug 03, 2011 8:59 pm
by mrtickle
Another update. This version has a lot more checking and handles being run without TmsIds in the guide data (now and for whatever reason in the future) much more gracefully.
* Episodes from series without a series TmsId are tracker in the "Unknown" series file as before, but they now keep both series and episode title here, so could be moved back into the real files when we have TmsIds.
* Series without a series TmsId are saved in the "Series" files with as much info as possible instead of just Unknown/Unknown.
* Episodes without TmsIds are tracked in the "Unknown" series file and carefully not added to the blocklist files - previously these would be hosed with hundreds of blank lines if the TmsIds were missing.
* Tracker init is run at tivoweb startup

removed: please see this thread for updated version.

Testing and comments gratefully received. :)

Re: Tracker and TWP 2.x

PostPosted: Sat Aug 13, 2011 8:20 am
by asfafa
Hi MrTickle

I've installed v3.1.9 in TW 1.9.4.

If I click on any of the series in 'All Series Being Tracked', I have the whole of my recording history, rather than episodes of that specific series. Is this due to no TmsIDs?

QI_Tracker.jpg
QI_Tracker.jpg (233.78 KiB) Viewed 7169 times



Paul

Re: Tracker and TWP 2.x

PostPosted: Sat Aug 13, 2011 3:01 pm
by mrtickle
I think you have found a bug :). Thanks I'll take a look.

Re: Tracker and TWP 2.x

PostPosted: Sat Aug 13, 2011 6:22 pm
by mrtickle
It's because without tmsids, those are being archived into the "unknown" series. So you are basically getting it to print the series called "unknown" - hover over the links and they will be the same.

Ideally proc trackseries this would do a special-case for Unknown and look for the series title in the first half of the episode title before the "|" that luckily is already being passed in. There is another bug that's been there for ages (I think it's a bug) in the series file, eg

Code: Select all
Unknown {{The IT Crowd}} 1 0 1 0
Unknown {{The Jerry Springer Show}} 1 0 1 0


why the double {{ }} and how are they getting in there? The same thing happens in every series track file.
[edit: because they were being lappended but they were already lists. Most reads used the tw function "strim" to chop off the brackets - but not all!]