View Full Version : Beta testers wanted: hack to stop TiVo recoding episodes you have already seen
PhilG
06-01-2006, 02:57 PM
Of course (slaps forehead)
Just run a TrackerUpdate and, sure enough, it DOES pick up episodes that were deleted from ToDo without beiong recorded
Exactly what I want
(but I still have a nasty sneaking feeling that something is wrong somewhere..... I am almost sure that Tracker us NOT flagging programs for deletion that I know I have deleted from ToDo at least once, but as all my tests show the opposite I shall just have to put it down to senility)
Now - anyone know how to delete entries from Trackers database that you don't want tracked any more??
SteveT
06-01-2006, 06:07 PM
I'm obviously missing something (and not for the first time I hear you cry)
WHERE does it tell me what these 4 cancellation reasons actually MEAN???Those values (and lots of other interesting things) are listed in DbEnum.tcl, which you can find in tvlib/tv (part of the TiVo software itself). Here is the relevant bit: namespace eval CancelReason {
variable CancelledPurchase 42
variable CaptureRequestExpired 30
variable ChannelLineupChanged 13
variable ConvertedLiveCache 21
variable DemoMode 8
variable Expired 6
variable ExplicitlyDeleted 12
variable ExplicitlyDeletedFromToDo 24
variable FuzziesTurnedOff 17
variable FuzzyStoppedEarly 18
variable GotBetterSuggestion 7
variable InternalError 4
variable LiveCacheOnlySuccessful 22
variable MaxRecordingsExceeded 29
variable MaxRecordingsNowShowing 33
variable NoChannelForStation 39
variable NoPurchaseHistoryForRecording 41
variable NoReRecord 27
variable NoSignal 28
variable NoSignalTunerOne 31
variable NoSignalTunerTwo 32
variable NotAuthorized 26
variable PowerWasOff 5
variable ProgramGuideChanged 14
variable ProgramNotFoundOnSource 36
variable ProgramSourceConflict 20
variable ProgramSourceDiskConflict 23
variable ProgramSourceModified 25
variable ProgramSourceNotAllowedToRecord 38
variable PurchasePriceIncrease 43
variable RecordDifferentShowing 2
variable RecorderEmergency 15
variable ShowingCopyProtected 40
variable SourceCouldNotBeContacted 37
variable SourceNotFound 35
variable StayOnLiveTv 3
variable SwitchToLiveTv 1
variable UnableToPrice 45
variable UnableToRepurchase 44
variable UnexpectedConflict 9
variable Unknown 19
variable UserCancelledSeasonPass 16
variable UserRequestedRecording 10
variable UserRequestedSeasonPass 11
variable VideoMgrDeniedTuner 34
}
sanderton
06-02-2006, 07:19 AM
Of course (slaps forehead)
Just run a TrackerUpdate and, sure enough, it DOES pick up episodes that were deleted from ToDo without beiong recorded
Exactly what I want
(but I still have a nasty sneaking feeling that something is wrong somewhere..... I am almost sure that Tracker us NOT flagging programs for deletion that I know I have deleted from ToDo at least once, but as all my tests show the opposite I shall just have to put it down to senility)
Now - anyone know how to delete entries from Trackers database that you don't want tracked any more??
If TiVo has used a new episode ID for the repeat episode - as sometimes happens - Tracker won't stop it.
Editing the Tracker list was just too dull to code. :)
You can do it manually if you know the series and episode IDs - the database files are just plaintext.
PhilG
06-03-2006, 05:34 PM
Perhaps I'll modify the tracker list display to also list the series and episode ids.....
I'd like to modify it to actually have a "delete" box, but that's beyond me
fysmd
06-10-2006, 03:01 PM
If you're happy for the update to be automatic, this works:
In crontab:# Update Tracker database every day
21 3 * * * /var/hack/upd_tracker.sh &
In /var/hack/upd_tracker.sh:# Update Tracker files
# LJ 15Oct05 10:02
ifconfig lo up
# Call top level menu as this sets tracker variables
wget --tries=3 --timeout=15 -O /dev/null -o /var/log/trk_upd --server-response "http://127.0.0.1:80/tracker" &
sleep 5
wget --tries=3 --timeout=600 -O /dev/null -a /var/log/trk_upd --server-response "http://127.0.0.1:80/tracker_update" &
Don't forget to run "chmod +x /var/hack/upd_tracker.sh.
It also writes a (rather cryptic) log acessible from TiVoWeb.
OK, so this will update the tracked episodes but that seems to run quickly for me, whats the advantage of doing this vs just updating and processing todo??
PhilG
06-11-2006, 10:14 AM
The advantage is, it's done automatically so you don't have to remember
fysmd
06-12-2006, 08:27 AM
Yeah but I have an "create/update tracker list and process todo" button whoch does it all at the same time
PhilG
06-12-2006, 08:30 AM
OK, but I like the idea of not having to remember to do it
bushman4
06-22-2006, 09:53 AM
I'm trying to reset one show in my tracker database, so my kids can watch and track the episodes all over again.
I went to the "View Tracked Episodes" screen, and the URL for the episode in question contained the TMSid of SH113278, so I went into the tracker directory and moved the SH113278 and SH113278.old files out into another directory.
After that, while the Series Name showed up in the "View Tracked Episodes" list, when I clicked on it, it said "No Episodes Tracked."
But it is still marking the episodes of this series for deletion when I process the To Do list!
I've tried a quick reload.
I've tried a full reload.
I've tried a TiVo Reboot.
I've run the "Create/Update"
What am I doing wrong?
TIA,
Bushman
sanderton
06-22-2006, 12:34 PM
IIRC for speed tracker actually processes those files into another file (or rather four files for the various combos of reasons for deletion) which just contains the TMSIDs of shows it should block. You'd need to open that file, find the entry, and delete it.
It's been two years since I looked at the Tracker code, so I could be talking nonsense...
PhilG
06-22-2006, 04:44 PM
OK, now I am fairly sure that tracker is NOT tracking all of the programs that I delete from either NowPlaying OR ToDo.
To assist in debugging, exactly what should I note down when I delete programs? Of course, the program and episode titles are a given, but are the dates significant as well?
Then I will start noting EVERYTHING that I delete and see if there is a pattern to what appears in the Tracker list and what doesn't
Thanks for any suggestions
PhilG
06-22-2006, 04:46 PM
OK, as an aside, I have just listed all the deleted shows that TivoWeb can find for "undeletion" and almost all of them are missing from my Tracker list so there is definately something "odd" going on
richw
06-22-2006, 06:11 PM
OK, as an aside, I have just listed all the deleted shows that TivoWeb can find for "undeletion" and almost all of them are missing from my Tracker list so there is definately something "odd" going on
That's normal.
IIRC it doesn't pick up stuff until it's been fully deleted (i.e. isn't available for undeletion). I've no idea how long things hang around in limbo like that, but the normal 28-day rule should cover it.
fysmd
06-25-2006, 04:33 PM
I've bee running tracker for ever and had the odd time where TiVo would reboot while it was runing but now it restarts every time I try to run tracker.
I have increased TIVOSH_POOLSIZE variable (many times, should it be a factor of something?) in tivoweb startup file and performed many flavours of restart (in fact the thing still keeps rebooting so nothing special needed!).
It will sucessfully process my suggestions but ot todo list.
Is there any debug written away anywhere so I can see how far it's getting, or can I enable some?
Could my tracking DB be too big or corrupt? I'd rather not delete the whole thing but I can happily live without a huge list of Corrie episodes being tracked and a large number of one off shows etc.
I love Tracker and I'm lost without it!.
TWP v1.0
Tracker 3.0.2 branch 3
SteveT
06-30-2006, 08:38 AM
.....Is there any debug written away anywhere so I can see how far it's getting, or can I enable some?......A couple of suggestions:
1. Backup your /var/hack/tracker folder and then clear it out. Run Tracker again. That'll at least tell you if the problem is related to the tracker db or not.
2. If the problem seems related to the tracker data, you can probably replace the errant file with its backup. Look for files like SP, MV, etc. Each will have a *.old counterpart. If the *.old file is larger than the original, replace the original with the *.old file.
3. After a crash, check the tivoweb.log file for the specific error that killed it. (Not sure, but if TWP is started automatically, you may have to turn that off so the file doesn't get cleared before you can grab it)
bushman4
07-05-2006, 03:16 PM
I've heavily modified the 3.0.2b3 version to add:
Series deletion - Delete a series from Tracker
"Watched" status maintenance for each episode - Change an episode from watched to unwatched and vice versa
Episode deletion inside a series
Block list rebuilds - Rebuild the 4 block_ lists that tracker uses for speed during todo processing.
What version number should I be assigning it before I post it?
Thanks,
Bushman
PhilG
07-05-2006, 03:36 PM
Regardless of which version number you use, I'd LOVE to try this out
It looks like it will help me get to the bottom of the fact that my current tracker is NOT updating itself with programs I have watched and deleted (programs keep reappearing in ToDo and are NOT marked as to be deleted by tracker :(
Also, is your new version compatible with the TrackerUpdate module???
Thanks
Me too! How about 3.0.2b4 ?
bushman4
07-05-2006, 03:42 PM
3.0.2b4 it is. Watch this space at about 6PM EST tonight when I get home, and I'll post it up.
And yes, the tracker update script still works... that is actually one procedure that I DIDN'T have to touch, and it's functionality hasn't changed.
All this because my kids wanted to re-watch the Magic Schoolbus this summer, and want me to track what they've watched and what they haven't...
One other thing: I removed the "convert from old beta" option and procedure, since all they did was read all the series files and add entries to the block files. The new "Rebuild Block Lists" option does this better and cleaner, with no duplicates.
More tonight...
Bushman
PhilG
07-05-2006, 03:48 PM
TIA
I'll have a play tomorrow (6pm EST is too late for me over here in BST-land!)
6pm EST is too late for me over here in BST-land!Me too (might actually get a good night's kip tonight now it's a bit cooler...)
Just been poking around in the tracker.itcl I'm currently running - I've added two things since the version 3.0.2b3 was based on:
* Only process 8 days of ToDo data. ...doesn't seem much point going further ahead given the length of data we get for the 'big five' channels in the UK, plus I'm personally running an auto-update every night.
* Add " (G)" to generic episodes.
Send me your email address if you want the code Bushman...
bushman4
07-05-2006, 10:36 PM
Well I hope you guys didn't stay up late waiting for me... I decided to go to the local pub to watch the football after work, and ended up staying a bit longer than I thought.
Do you see what you guys have done to me? "Pub"... "football"...
Anyway, 4 hours later than I thought, here is my version 3.0.2 branch 4.
Changelog:
Series Delete - remove all of the tracked episodes for a given series in one click (on all three view lists). There is a "Delete" option on the series lists, and no confirmation.
Episode Delete - remove a given episode from the tracking lists completely. There is a "Delete" option on the episode lists, and no confirmation.
Episode "Watched" Status Maintenance - Change a given episode from watched to un-watched, and vice-versa. Click on the "Watched" value for a given episode to modify. Episodes that you set to Watched episodes will be set to "Watched (Manually Set)".
Block List Rebuild - rebuild the four block lists that Tracker uses to speed up the todo list processing. Available automatically or on-demand
Debug - Programmers, easily spit out debugging messages as you're developing. Controlled through a value on the Setup screen.
There are two new setup options, Rebuild Automatically After Edit, and Debug Mode. If you are making a large number of edits, I recommend setting the "Automatic..." setting to False, and then rebuilding manually. Rebuilding only takes about 5 seconds, but adding 5 seconds to every edit can be tedious.
Debug Mode will output all of the programmers debug messages, in addition to regular data. This can have some very unexpected results, so use with caution. LJ, all of the debug messages that you had added to the last version (and commented out) are in there still, but in "Tracker Debug" tests.
As to the other additions you mention, I'd like to look at the (g) stuff to see what you are talking about, but I don't want to limit to-do processing, because we get far more guide data than you do...
Before you use this, backup your tracker directory and module file... I take no responsibility for your tracker install should you choose to use this...
Let me know you you get on,
Bushman
sanderton
07-06-2006, 12:19 PM
Got to love the way old bits of code suddenlt spring to life again! When you're sure it works, I'll link from the first post in the thread down to here.
PhilG
07-06-2006, 03:28 PM
Perhaps it's me, but I really HATE menus that are centered rather than left justified
Is this a "Tivoweb" thing or what?
Seriously, this is a GREAT step forwards
I already deleted some shows that I don't want tracking (and I also like the "todo" processing that ONLY shows what will be deleted)
Now I just need to keep track of what I delete to make sure that "son-of-tracker" picks them up!
One last thing, I did a quick reload of Tivoweb - now I have TWO Tracker entries in the menu (both pointing to thsi new version)
Be back in touch when it has had time to bed in
Phil G
sanderton
07-06-2006, 04:21 PM
Perhaps it's me, but I really HATE menus that are centered rather than left justified
Is this a "Tivoweb" thing or what?
That's very easy to change; just edit the .itcl file.
I think this virtually completes the set of bits of my code which have been taken on by others for further development. EndPad (twice!), DailyMail and now Tracker! Birillina. Don't you love open source?!
SteveT
07-06-2006, 09:45 PM
......here is my version 3.0.2 branch 4.....I gave it a try tonight and am very impressed. Excellent additions to an excellent tool!
The only problem I've encountered is that my "Specials and One-Offs" page is VERY long (31 pages when I printed it). When I try and delete an item from that list, the TiVo crashes before it rebuilds the page.
Reviewing that page, it appears that all episodes which aren't available in MFS get added to that list. In other words, I get a nice short page of Rugrats episodes, complete with episode titles, but I also get numerous episodes of Rugrats on this "Specials and One-Offs" page (with no titles). Maybe I can figure out a way to move these specials over to their correct series page.
I also prefer the to-do list to show all episodes instead of just the ones to be deleted. I had changed this on my copy of the previous version. Since others prefer the shorter list, I'll try and add it as an optional feature to this version.
Again, thanks for the enhancements.
bushman4
07-11-2006, 08:02 AM
Here's another new version.
This one adds:
ToDo: Show All Items (T/F) - Decide if you want to see all items in the todo list, or just those that are blocked...
ToDo: Show Original Air Date (T/F) - Show or hide the OAD column in the todo list
ToDo: Show TMSID (T/F) - Show or hide the TMSID column in the todo list
ToDo: Show Tracker Link (T/F) - Show or hide the link to the tracker's episode list for the series in the todo list
I also Sped up the "show tracker link" code by just having it check to see if $trackerdir/$seriesTMSID exists as a file, rather than grepping the list of files over and over again.
Enjoy,
Bushman
vertigo235
07-11-2006, 07:17 PM
I'm excited about the new update, but I need to make sure before I update.
I see that my trackerupdate.tcl should still work, but will it still work with Dailymail as well?
bushman4
07-11-2006, 08:36 PM
There have been zero changes to the actual tracker update code.
The only changes to the files that I believe that DailyMail uses (the "Block List" files in the tracker directory) are as follows:
When you run the rebuild command, either automatically or manually, you Tracker will read your "Series" file one line at a time. As it reads each line (a series TMS id), it then opens the file with that name (SH502478 for example) and reads each line, refreshing the appropriate block lists at that time.
But in exactly the same format as the "update" process does it...
But, all in all, yes, it works the same. I use DailyMail and TrackerUpdate.tcl myself... Tracker update once a day, and DailyMail twice a day.
Bushman
vertigo235
07-11-2006, 09:14 PM
My S1 TiVo didn't like it all, but it was a cross your fingers thing with the old tracker as well. I guess I might have to restore what I was using before.
Does great on HDTiVo though.
bushman4
07-12-2006, 07:22 AM
What goes wrong? I run a S1 SA TiVo, and have never had tracker problems...
I am going to make a minor change to the Tracker Update procedure though, for you people who have been having trouble figuring out what tracker is actually capturing... I'm going to make it optionally output each show it finds, and which block list it adds it to. Then you'll know definitively which shows are tracked and which aren't.
Bushman
ciper
07-14-2006, 05:34 PM
Does a web site exist for this hack? Maybe a readme or faq? Im reading through the posts but its hard to tell what exactly is happening with so many pages of posts.
BTW its a blessing for me that s1 tivos were available in UK for so long. Most other forums dedicated to s1 tivos are dead!
vertigo235
07-14-2006, 06:08 PM
Does a web site exist for this hack? Maybe a readme or faq? Im reading through the posts but its hard to tell what exactly is happening with so many pages of posts.
BTW its a blessing for me that s1 tivos were available in UK for so long. Most other forums dedicated to s1 tivos are dead!
No website, the newest version is pretty simple though, just drop in TivoWeb Modules directory do a full reload. Then go the tracker tab and play with it.
vertigo235
07-15-2006, 12:17 AM
What goes wrong? I run a S1 SA TiVo, and have never had tracker problems...
I am going to make a minor change to the Tracker Update procedure though, for you people who have been having trouble figuring out what tracker is actually capturing... I'm going to make it optionally output each show it finds, and which block list it adds it to. Then you'll know definitively which shows are tracked and which aren't.
Bushman
Actually it seems to work fine as long as I don't view the tracker list,so I'd say it's a keeper!
vertigo235
07-15-2006, 01:07 PM
Is there a way to add tracked shows from one tivo to another? will there be a problem with duplicate entries in the SP list?
vertigo235
07-15-2006, 01:21 PM
hmm I'm back to having the tracker update procedure crash and reboot my S1 TiVo, and trackerupdate.tcl is giving this error.
about to run tracker_update -->
can't open object (0x30007)
while executing
"db $db openid $fsid"
("uplevel" body line 4)
invoked from within
"uplevel $body"
invoked from within
"ForeachChangedMfsFileTrans fsid name type "/Recording/Cancelled" $since 10 {
if {[lindex [split $name :] 0] <= [expr [clock seconds] / 86400]..."
(procedure "scan_cancelled" line 11)
invoked from within
"scan_cancelled $lastupdate"
(procedure "tracker_update" line 18)
invoked from within
"tracker_update"
(file "/var/hack/trackerupdate.tcl" line 541)
What gives?
vertigo235
07-15-2006, 02:16 PM
OK so I deleted the "SP" file in my tracker directory and now it seems to be running (allthough it's taking a long time), any idea why that would let fix it?
Although I'm not sure if that will cause other problems, so I'll probably restore it and then maybe look at hte SP file to see if anything looks weird.
vertigo235
07-15-2006, 04:56 PM
OK
Here is what I think is happening, my SP file is too large, when trackerupdate is going through the file (or adding a new episode) it crashes.
Would it be easy to create some kind of archive system, that would allow tracker (and trackerupdate) to archive the SP file and create a new SP file that will do new updates, but still allow the ARCHIVE file to be used to block new programs? Whenever it compares to find matches it would have to do it in waves to avoid crashing.
vertigo235
07-15-2006, 05:00 PM
OR, is the viewable list really all that important and can I get away with just deleteing it every so often as long as I don't do a "Rebuild Block List" ?
vertigo235
07-15-2006, 05:34 PM
Apparently duplicates in the block list aren't a big deal because the TrackerUpdate.tcl just seems to dump them in there, and youre "Rebuild Block List" function is designed to remove the duplicates so the block feature will run faster right?
I'm thinking of moving my current SP to a SPArchive then adding the catagory to my "series" file and seing how that does for me. Then I'll probably start getting duplicates again in my SP file, but I can also create some function that will remove those by comparing with my SPArchive file right?
vertigo235
07-15-2006, 09:49 PM
OK I think I'm starting to understand what's going on here.
I'm using a DTiVo and I believe the "isepisodic" check isn't working like it should. It appears everything except movies is getting tossed into the SP (for specials and one offs) instead of creating it's own Series File.
I'm going to revise the check to something more simple until I understand more about the "isepisodic" check.
I'm thinking a simple regexp check like it does for movies will do fine, all my specials begin with SP in the episodetmsid, so I think that will do.
vertigo235
07-15-2006, 10:14 PM
AH HA!!!
That was definetly my problem, the same problem I was having a year ago too actually. It think I just got tracker working like it's supose to work!
I allways wondered why all the shows were in "Speials and One Offs" I guess that explains it.
IF anyone else is having this problem, let me know and I'll post my trackerupdate.tcl and tracker.itcl
SteveT
07-17-2006, 08:44 AM
AH HA!!!
That was definetly my problem, the same problem I was having a year ago too actually. It think I just got tracker working like it's supose to work!
I allways wondered why all the shows were in "Speials and One Offs" I guess that explains it.
IF anyone else is having this problem, let me know and I'll post my trackerupdate.tcl and tracker.itclI was also having problems symptomized by a huge "Specials and One Offs" list. I'd like to see your revisions to tracker.itcl.
bushman4
07-17-2006, 09:34 AM
I'd like to see the changes... are you saying that the "isepisodic" value is getting set to zero ALL the time? Sounds like it.
I don't have a DTivo, but if someone can tell me the MFS property to determine if a show is episodic or not, I can modify the script to work for both...
Maybe I'll poke around in some of the newer dTivo stuff to see what I can find.
Bushman
vertigo235
07-17-2006, 05:41 PM
I'd like to see the changes... are you saying that the "isepisodic" value is getting set to zero ALL the time? Sounds like it.
I don't have a DTivo, but if someone can tell me the MFS property to determine if a show is episodic or not, I can modify the script to work for both...
Maybe I'll poke around in some of the newer dTivo stuff to see what I can find.
Bushman
Yup that's exactly what I'm saying, and it's been doing it since day 1!
Check out my post from about the same time last year, I didn't get much help and essitially I just increased my mem pool to account for the larger SP file, I didn't pull my sleaves up then, and I'm glad I did this time. I just didn't know TCL, and I still have little knowledge about the fields and contents of the TiVo database, has anyone complied anything about that?
vertigo235
07-17-2006, 06:23 PM
OK Changes, essentiall in both files replaced this little bit of code under scan_canceled proc
set ismatch [regexp MV $seriestmsid match]
if {$isepisodic != 1 && $ismatch != 1} {
set seriestmsid "SP"
set eptitle $seriestitle
set seriestitle "Specials and One-offs"
}
if {$ismatch == 1} {
set seriestmsid "MV"
set eptitle $seriestitle
set seriestitle "Films"
}
if {$seriestmsid == "" } {
set seriestmsid "Unknown"
set seriestitle "Unknown"
}
with this
set ismvmatch [regexp MV $seriestmsid match]
set isspmatch [regexp SH $episodetmsid match]
if {$isspmatch == 1} {
set seriestmsid "SP"
set eptitle $seriestitle
set seriestitle "Specials and One-offs"
}
if {$ismvmatch == 1} {
set seriestmsid "MV"
set eptitle $seriestitle
set seriestitle "Films"
}
if {$seriestmsid == "" } {
set seriestmsid "Unknown"
set seriestitle "Unknown"
}
That just seamed liked the simplest thing to do at the time.
SteveT
07-17-2006, 09:11 PM
... are you saying that the "isepisodic" value is getting set to zero ALL the time?
I don't have a DTivo, but if someone can tell me the MFS property to determine if a show is episodic or not, I can modify the script to work for both...The variable $isepisodic is set like this:set isepisodic [dbobj $series get Episodic]I looked on my 6.2 system and could not find any series objects with an Episodic value. Here's a set of the objects:Showing 1489792/12 {
Date = 13349
Duration = 3600
Program = 1487710/-1
Station = 60326/-1
Time = 3600
IndexUsedBy = 1489792/10
}
Program 1487710/10 {
Version = 2
ServerId = A003192fb
ServerVersion = 1
Actor = Patinkin|Mandy Gibson|Thomas Moore|Shemar Gubler|Matthew Glaudini|Lola Cook|A.J.
ApgProgram = 1487710/11
Bits = 393216
DescLanguage = English
Description = {Gideon, Hotchner and their team head to Mexico to aid in the investigation of a serial killer who preys on the elderly.}
Director = {Bee|Guy Norman}
EpisodeTitle = Machismo
Genre = 375 385 105 124 139
IsEpisode = 1
OriginalAirDate = 13250
RootServerId = A002f7712
Series = 235548/-1
ShowType = 5
Title = {Criminal Minds}
TmsId = EP7537910019
TvRating = 4
Writer = Zelman|Aaron
IndexPath = /Server/A003192fb:3:1:0
}
Series 235548/10 {
Version = 105
ServerId = ATSH753791
ServerVersion = 0
Genre = 375 385 106 105 124 139
ThumbData = 268566912
Title = {Criminal Minds}
TmsId = SH753791
IndexPath = /Server/ATSH753791:4:0:0
}
Note that the Program object has an IsEpisode value. For the objects I reviewed, it was always 1 for shows with episodes, and not set (absent) for shows without episodes.
I added a couple of lines following the line above: if {$isepisodic == ""} {
set isepisodic [dbobj $program get IsEpisode]
}
to try and set the variable from either place.
Restarted TWP and updated the Tracking List. Unfortunately, I don't think the update found anything to update, so all I can say for certain is that the change didn't seem to break anything. :)
Bushman, that change you mentioned to list the shows actually found and processed would sure help debug this.... :)
vertigo235
07-17-2006, 10:22 PM
I should probably note that I'm not using 6.2.
vertigo235
07-18-2006, 12:29 AM
So we would basically need to just change the line to say
set isepisodic [dbobj $program get IsEpisode]
I'll give this a shot, all you have to do is change your tracker.cfg LastUpdate to 0, and you'll get a bunch of updates :)
vertigo235
07-18-2006, 12:43 AM
One other note, IsEpisode is part of $program not part of $showing as you added in your line of code.
edit: doh! I meant program
vertigo235
07-18-2006, 01:14 AM
Actually here is what I'm seeing, now that I know where to look (duh)
All the shows that are episodic do not have the episodic field, however shows that are NOT episodic have the field, and show 0. What's up with that?
vertigo235
07-18-2006, 02:13 AM
OK here is my new solution
Replace
if {$series != ""} {
set seriestmsid [dbobj $series get TmsId]
set isepisodic [dbobj $series get Episodic]
} else {
set seriestmsid ""
set isepisodic ""
}
With
if {$series != ""} {
set seriestmsid [dbobj $series get TmsId]
set isepisodic [dbobj $series get Episodic]
if {$isepisodic == ""} {
set isepisodic 1
}
} else {
set seriestmsid ""
set isepisodic ""
}
vertigo235
07-18-2006, 02:48 AM
OK I think I have my best results yet with the above code, everything looks correct. I guess that should work with other TiVo's too.
bushman4
07-18-2006, 07:43 AM
I'll simplify that a bit...
if {$series != ""} {
set seriestmsid [dbobj $series get TmsId]
set isepisodic [defaultval 1 [dbobj $series get Episodic]]
} else {
set seriestmsid ""
set isepisodic ""
}
I'll finish the mods to show verbose output during rebuild, and repost a new version.
I should have realized this... I bumped into a similar gremlin while rewriting the NowPlayingRSS module.
This will obviously need to be changed in TrackerUpdate.tcl as well.
And I'll finish the web page I started over the weekend, to pull all of this together for newbies... once that's done, I think it might be prudent to start a new thread, one that doesn't have the scarey "Beta Testers Wanted" subject... maybe we'll spark some more interest.
Bushman
SteveT
07-18-2006, 08:11 AM
One other note, IsEpisode is part of $program not part of $showing as you added in your line of code.
edit: doh! I meant programThanks. I fixed that in the code, but forgot to change it in the post. I'll edit the post.
SteveT
07-18-2006, 08:16 AM
...all you have to do is change your tracker.cfg LastUpdate to 0, and you'll get a bunch of updates :)Bushman, being able to reset the LastUpdate value might be a useful function to add to your settings page.
vertigo235
07-18-2006, 09:04 AM
I'll simplify that a bit...
if {$series != ""} {
set seriestmsid [dbobj $series get TmsId]
set isepisodic [defaultval 1 [dbobj $series get Episodic]]
} else {
set seriestmsid ""
set isepisodic ""
}
Bushman
I tried that, but received an error, so I went with my "more complex" solution.
bushman4
07-18-2006, 09:56 AM
If you don't mind, what was the error?
Bushman
vertigo235
07-18-2006, 10:27 AM
hmmm Well I guess it was "user" error because I tried it again now and it seems to be working.
Who knows!
bushman4
07-18-2006, 10:29 AM
Missing bracket I bet... stupid syntax sensitive languages... ;-)
Testing the "Verbose Update" now... more later today.
Bushman
vertigo235
07-18-2006, 12:12 PM
OK so I spoke to soon, here is the error I was getting. Apparently I get it with my HDTiVo, but not with my T-60.
---- Tracker For Cron
started at 14:52:07
about to run tracker_init -->
<-- completed tracker_init
about to run tracker_update -->
invalid command name "defaultval"
while executing
"defaultval 1 [dbobj $series get Episodic]"
("uplevel" body line 20)
invoked from within
"uplevel $body"
invoked from within
"ForeachChangedMfsFileTrans fsid name type "/Recording/Cancelled" $since 10 {
if {[lindex [split $name :] 0] <= [expr [clock seconds] / 86400]..."
(procedure "scan_cancelled" line 11)
invoked from within
"scan_cancelled $lastupdate"
(procedure "tracker_update" line 18)
invoked from within
"tracker_update"
(file "/var/hack/trackerupdate.tcl" line 541)
SteveT
07-18-2006, 01:20 PM
...
invalid command name "defaultval"
...
(file "/var/hack/trackerupdate.tcl" line 541)The defaultval proc is defined in the util.itcl module, so it'll be available if you're running from within TWP. If you're running externally (as in trackerupdate.tcl), you'll need to include the defaultval proc to make it available.
bushman4
07-18-2006, 01:24 PM
Screw it... vertigo's code works without needing the defaultval procedure defined.
New version shortly with verbose update output, fixed episodic logic, and the ability to edit the last update value from the config screen.
And a new TrackerUpdate.tcl file, since I figured out that all my new config values are being set back to default values every time the trackerupdate.tcl runs...
Bushman
vertigo235
07-18-2006, 02:53 PM
The defaultval proc is defined in the util.itcl module, so it'll be available if you're running from within TWP. If you're running externally (as in trackerupdate.tcl), you'll need to include the defaultval proc to make it available.
I see, I thought it ran on the T-60, but I guess maybe I hadn't saved the file yet or something.
I don't do any updates through the tracker module, I do them with trackerupdate. I noticed your new settings got reset and I was going to fix that too, but the default settings were fine with me so it didn't matter.
Thanks for your help.
bushman4
07-18-2006, 03:02 PM
New version here - v.3.0.2 branch 6
Changes:
Added Config Item for "Last Update" - This is in seconds, I believe... don't mess with it if you haven't backed up your tracker directory...
Added Config Item: Verbose Update - output detailed update info during Update Only. Does not work during "update and process to-do" processing or TrackerUpdate.tcl, just during "Update Tracking Lists" processing.
Fixed "IsEpisodic" logic (thanks vertigo235)
Updated trackerupdate.tcl with new config options that were added during July 2006
There is a new version of TrackerUpdate.tcl to go with it, which fixes the IsEpisodic processing and the rewriting of the config file.
Enjoy. Please let me know how you get on with it...
Bushman
Dave_Lane
07-18-2006, 05:41 PM
I've just been away for 2 weeks and came back to find my Digibox has been displaying "There is a techinical fault" for the whole time. Restarting the Pace fixed it.
Is there any way to delete episodes from Tivo so that Tracker ignores it ? (so that I can record the failed programs later)
Dave
bushman4
07-19-2006, 07:06 AM
If you are running the latest version, then yes, in a round about way...
Delete the programs
Wait a bit... for TiVo to reclaim the space. How long depends on how much you record. a week should be fine.
Let tracker find them in an update
Delete them from the Tracker Series Views.
This obviously won't affect the TiVo imposed 28 day no-re-record policy, but judicious monitoring of your Cancelled Recordings list can help with that.
Not much help, I'm afraid...
Bushman
bushman4
07-19-2006, 11:47 AM
Another new version - 3.0.2 branch 7
All I did this time was change the "Last Update" on the settings page to show in a readable date format (your local timezone) and accept similar data in return.
So now, while the lastupdate variable is still saved in "Seconds since EPOCH, in GMT" it will display as a readable date/time on the settings page, and will accept the same as input to change it.
All changes, when you save them, are assumed to be your local time zone, and are converted to Seconds since epoch, in GMT, before they are saved.
If you screw up the date, and TivoWebPlus can't convert it properly, the rest of the settings will still be saved, and you'll be notified that the date was formatted incorrectly.
Those of you in the UK, could you verify that it displays and saves correctly? I'm in the US, and I tested by forcing tracker to believe I was a UKTivo, but I want to make sure.
Thanks... feedback is always appreciated,
Bushman
Dave_Lane
07-19-2006, 12:44 PM
Thanks for that - I'll try this and hope that my Sky box doesn't keep doing this!
BobBlueUK
07-20-2006, 04:57 AM
Those of you in the UK, could you verify that it displays and saves correctly? I'm in the US, and I tested by forcing tracker to believe I was a UKTivo, but I want to make sure.Installed and working fine here, date displayed/saved correctly in local UK time...
Many thanks for the tracker updates :)
SteveT
07-20-2006, 08:06 AM
Another new version - 3.0.2 branch 7....I installed it last night and was able to verify that the time reset and update logging work as advertised. Hopefully, I'll have more time to check out the IsEpisodic logic soon.
Thanks for the great enhancements to a great tool.
UPDATE: I tested it more thoroughly this weekend and it seems to be working great on my 6.2 machine. I used update logging to verify that my episodes are being placed correctly in their series files now.
I agree that it might be worthwhile to make a new thread for this without the word Beta. I consider this the most useful TWP module of all.
PhilG
07-25-2006, 12:42 PM
Just downloaded the latest version (302b7) together with its trackerupdate module
However I notice that the "verbose update" option is not (aparrently) in trackerupdate
I use cron to automatically update my tracker info daily, and I have never been 100% certain that it really does pick up everything I have deleted - a more verbose update might put my mind at rest
Thanks for the fantastic work though
SteveT
07-25-2006, 12:48 PM
Just downloaded the latest version (302b7) together with its trackerupdate module
However I notice that the "verbose update" option is not (aparrently) in trackerupdate
I use cron to automatically update my tracker info daily, and I have never been 100% certain that it really does pick up everything I have deleted - a more verbose update might put my mind at rest
Thanks for the fantastic work thoughI believe you first have to turn it on (True) in "Setup Options". IIRC, it defaults to off.
PhilG
07-25-2006, 12:52 PM
I thought so too, but the "verboseupdate" variable is defined to trackerupdate but not actually used anywhere
SteveT
07-25-2006, 01:15 PM
I thought so too, but the "verboseupdate" variable is defined to trackerupdate but not actually used anywhereSorry, I didn't catch that you were asking only about trackerupdate. Here Added Config Item: Verbose Update - output detailed update info during Update Only. Does not work during "update and process to-do" processing or TrackerUpdate.tcl, just during "Update Tracking Lists" processing.
PhilG
07-25-2006, 03:09 PM
I was sort of hoping that Bushman4 might like another challenge.......
bushman4
07-27-2006, 02:36 PM
Funny you mention it... I've been buttoning up some more changes.
I'm going to call this V3.1... I'm sick of this "branching" and trying to keep track of what's next.
In addition, I made a Tracker Website (http://webpages.charter.net/bushman4/tracker.html)... I hope I'm not stepping on anyone's toes here (sanderton, LJ, Steve Baines...) by trying to centralize this stuff in one, easy to understand place... please look at it, and see what you think. I think it covers everything, but you know what they say about "another pair of eyes..."
The one thing on that page that's not quite right is the mention of the new thread... I fully intend, once I get sanderton's approval, to start a new thread for this...
So, without further ado, here is V3.1.
Changes:
Added logic and option (called 'Watched Means Watched!') to decide if tracker can change a previously "watched" episode to "Unwatched" during an update.
Added ToolTips all over the place
Changed trackerupdate.tcl to obey the "verboseupdate" option, and output verbosely during update
Major Menu reorganization
And here is my new Tracker Website. (http://webpages.charter.net/bushman4/tracker.html)
Let me know how you get on...
Bushman
PhilG
07-27-2006, 04:30 PM
Like the website!
However, it seems that the Dailymail I have is not the most current as it doesn't HAVE an option for Tracker? Anyone know what the latest DailyMail? Mine is the v0.30 jazzed version.......
Thanks
bushman4
07-27-2006, 07:11 PM
Check out this (http://www.deepinthejungle.com/Tivo/Tivoindex.htm) site
Bushman
SteveT
07-28-2006, 08:31 AM
.....
So, without further ado, here is V3.1.
....I gave it a go last night and it looks great. Thanks!
I've been using this to clean up my tracker lists, and I haven't crashed my TiVo since. (I also believe the updated TWP 1.2.3 helps to eliminate the crashing).
In addition to a new thread here, I'd suggest you check with John1980 (on the other forum) and see if you can get this module included in the distribution. (Assuming Sanderton's OK with that, of course)
PhilG
07-30-2006, 05:03 PM
OK, my first problem with the new Tracker
I did a "Process ToDo List" and Tracker indicated one show to be deleted.
I then clicked on the "View" button to see why it was being flagged, and I get:
action_trackseries '' 'set "seriestmsid" "SH446583";set "title" "Star Trek: Enterprise";'
can't read "wid": no such variable
while executing
"html_link "/tracker_episodeedit?&title=$title&wid=$wid&uid=$uid&wtd=$wtd&utd=$utd&seriestmsid=$seriestmsid&episodetmsid=$episodetmsid&episodedescr=$ep..."
(procedure "::action_trackseries" line 60)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--
Sorry - didn't mean to find a bug :(
bushman4
08-02-2006, 12:47 PM
Sorry, that was an oversight... this is a flashback from when someone (sanderton, I think) tried to add code to Tracker so that you can have different block rules for different series.
Is that something that anyone would use if it was available? If so, I might finish up the code, but if not, I'll probably purge the unnecessary code from the module.
Anyway, here is v3.1.1 to fix the bug.
"Bushman on vacation on dial-up"
PhilG
08-02-2006, 02:29 PM
Much appreciated, but won't be able to test for a few days. My Tivo disk is out for "r&r" and the temporary disk I am running it with doesn't have all the goodies installed (it's like having an arm cut off!)
As to the "different rules for different series" question - Not for me
Phil G
john1980
08-14-2006, 12:23 AM
There is also a little bug in the action_tracker_updtodo procedure (line 232) where scan_cancelled is called with only one argument... whereas it requires two. Line 232 should read "scan_cancelled $lastupdate $chan"
bushman4
08-14-2006, 08:15 AM
Good catch... I missed that when I set up the "Verbose Update" option.
How is it working for others? I have been holding back on a new thread with a better subject line, hoping I'd get some feedback, and clean up little bugs like this.
How do people feel about "Update & process To-Do" obeying the "Verbose Update" setting? I almost think that, no matter what you choose for "Verbose Update" on the options page, "Verbose Update" should be shut off when doing an "Update & Process" combination event, so that the To-Do list doesn't get lost at the bottom of a long page of updates...
Opinions? It would be an easy fix...
Here is version 3.1.2 to fix John's bug report...
Bushman
fysmd
08-14-2006, 09:44 AM
I'd like to see the action buttons at the top of the page.
I often find that it crashes so at least with the delete button at the top, it ought to be able to delete programs from my TODO in so far as it has managed to get...
bushman4
08-14-2006, 10:09 AM
Ask and ye shall receive.
But frankly, I'd be very interested in the details of the crash you are talking about... what message do you get?
Here is V 3.1.3 - adding "Delete Shows" buttons at the top of the suggestions and To-Do screen.
Bushman
SteveT
08-14-2006, 11:25 AM
How is it working for others?.....It's been working very well for me (at v3.1.1)
.....no matter what you choose for "Verbose Update" on the options page, "Verbose Update" should be shut off when doing an "Update & Process" combination event....I agree. The verbose output is great when you're trying to understand how this thing works, but don't clutter up the to-do list with it. If someone wants to see it, they can click twice.
bushman4
08-14-2006, 03:12 PM
OK, another change...
With this version, "Verbose Update" will only apply to updates that are done by themselves, or via TrackerUpdate.tcl...
It will be ignored (ie, set to False) if you choose to "Create/Update tracking lists & Process To-Do list" in one step.
Will anyone get bent out of shape if I create the new thread on TiVo Underground rather than in Tivo UK? I see it as very useful, even outside of the UK.
Opinions?
Bushman
PhilG
08-14-2006, 03:30 PM
Personally speaking, and biased, I'd vote to keep it HERE
SteveT
08-15-2006, 01:04 PM
With this version, "Verbose Update" will only apply to updates that are done by themselves, or via TrackerUpdate.tcl...Thanks. I tried 3.1.3 (with verbose turned on) and did not like the additional noise.Will anyone get bent out of shape if I create the new thread on TiVo Underground rather than in Tivo UK? I see it as very useful, even outside of the UK.I'm not overly familiar with the TCF community, but it seems that putting a non-UK-specific tool in a UK forum is bound to limit the exposure. I think this is a great tool, and deserves the best "coverage" we can give it.
PhilG
08-15-2006, 03:51 PM
Hmmm I'm sure I asked this once before, but I can't find WHERE I asked it....
Am I right in thinking that items deleted from "TODO" are NOT tracked?
Any chance (optionally?) to add that functionality - I'd like the ability (since I have had Tivo much longer than Tracker) to say "Hey, I already watched THAT program", delete it from ToDo AND have it tracked so that if/when it appears again, Tracker will automatically flag it
Is this possible? Desireable??
Thanks
Phil G
vertigo235
08-15-2006, 04:43 PM
Items deleted from the ToDo should allready be tracked, that was added early on. Check one of the first few pages.
vertigo235
08-15-2006, 04:45 PM
See this post http://www.tivocommunity.com/tivo-vb/showthread.php?p=2340567&&#post2340567
vertigo235
08-15-2006, 04:50 PM
Hmmm I'm sure I asked this once before, but I can't find WHERE I asked it....
Am I right in thinking that items deleted from "TODO" are NOT tracked?
Any chance (optionally?) to add that functionality - I'd like the ability (since I have had Tivo much longer than Tracker) to say "Hey, I already watched THAT program", delete it from ToDo AND have it tracked so that if/when it appears again, Tracker will automatically flag it
Is this possible? Desireable??
Thanks
Phil G
Are you sure your tracker is updating? Are the shows Generic?
PhilG
08-16-2006, 04:03 AM
I knew I'd seen it somewhere
Many thanks
bushman4
08-16-2006, 07:37 AM
Yeah, Items deleted from the To-Do list will eventually (after the dumpster process reclaims the disk space) get marked as "Deleted by the User" and "Unwatched" because the NSecondsWatched value will be zero.
You can then change that watched status in the "View Tracker Lists" screens.
HTH,
Bushman
PhilG
08-16-2006, 03:57 PM
See - That's what confused me
First you say "Items deleted from the To-Do list will eventually get marked as 'Deleted by the User'" then you follow that with "either 'Watched' or 'Unwatched' depending on if you had actually played the recording or not."
If you delete from the ToDo list, there will never BE a recording to watch
Puzzled (still) but I think I am getting it
Phil G
fysmd
08-16-2006, 05:18 PM
Ask and ye shall receive.
But frankly, I'd be very interested in the details of the crash you are talking about... what message do you get?
Here is V 3.1.3 - adding "Delete Shows" buttons at the top of the suggestions and To-Do screen.
Bushman
Wonderful, thanks!
I used to find that while processing the todo list in tracker my tivo would just reboot. Did it a LOT, especialliy if I'd not updated in a while.
have to say that while I've only had a couple of days with the latest verion it's MUCH MUCH faster and not crashed once so far....
bushman4
08-17-2006, 07:23 AM
Phil... sorry, it was my confusion. I started thinking about "Now Playing" list instead of "To-Do" list halfway through that paragraph.
I have edited the post to better reflect what is going on. But that brings up a new question:
Should there be an option to "Assume Explicit To-Do deletes are Watched?" This would force the Watched status to be something like "Watched (To-Do Deletion)" if a program is found to have been explicitly deleted from the To-Do list...
Opinions?
Bushman
PhilG
08-17-2006, 12:04 PM
Possibly
Another question if I may...
I have a suspicion (no proof yet) that my trackerupdate module isn't, so I wanted to check it out now we have verbose updating
To do this, I wanted a repeatable test scenario.
SO
I ran tracker update from the TW interface and noted down a TMSID of a program it added to the tracking list. Then I DELETED this show from the tracking list. Reran the tracker update to make sure it'd find the show again, BUT IT DIDN'T!
Why is this????
bushman4
08-17-2006, 12:08 PM
It only picks up programs that have been cancelled or deleted since "Last Update." But after you ran the update through TW, it set the "last Update" value to the date and time, and hence the "trackerupdate' only picked up things that had been cancelled or deleted since that time, which was probably nothing.
Set your "Last Update" back to the same time as the first run, and it will see it again.
Don't worry about duplication... it may double up on that episode in the Block Lists, but a rebuild can fix that in a jiffy.
Bushman
PhilG
08-17-2006, 12:17 PM
ABSOLUTELY FANTASTIC
Works like a charm (and my trackerupdate IS (of course) doing what it should do)
Thanks for your help
Phil G
PhilG
08-18-2006, 11:17 AM
One (more) favour though...
I am using trackeupdate daily via Cron and accumulating the output in a log file which is cycled weekly. Trackerupdate already writes out the TIME it was run - any chance the DATE could be added to this???
Thanks
bushman4
08-21-2006, 10:54 PM
Sorry for the delay... on holiday for a bit.
Here is a new version of TrackerUpdate that does that... really just a change of the Format command from "{%H:%M:%S}" to "{%b %d, %Y %H:%M:%S GMT}" in some of the very bottom lines of the program.
Hope this helps,
Bushman
ponto
01-06-2007, 08:53 AM
new installation of tivowebplus V 1.3.1 with Tracker v.3.1.4 UK tivo:-
INTERNAL SERVER ERROR
--cut here--
action_tracker_todo '' ''
couldn't open "/var/hack/tracker/block_WU": no such file or directory
while executing
"open $trackerdir/block_WU r"
(procedure "::action_tracker_todo" line 19)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--
any ideas?
thanks
Pete77
01-06-2007, 09:17 AM
any ideas?
thanks
Try using Tracker with Tivoweb 1.9.4 instead.
In my experience Tivoweb Plus has far more problems with running modules on our Tivo S1's than TivoWeb 1.9.4 And I have used both and can still boot across into TivoWebPlus 1.3.1 using the latest version of Hackman if I want to.
Also don't forget that Tracker is a module written for TivoWeb 1.9.4 that TivoWebPlus is merely trying to understand via its general backward compatibility with old TivoWeb module code (TivoWeb 1.9.4 can't understand the code of several modules written exclusively for TivoWebPlus). It might work better with TivoWebPlus had it been written specifically for TivoWebPlus and unfortunalely many developers of modules intended for TivoWeb like Tracker and Highlights have not even tested them under TivoWebPlus.
You can find out how to install TivoWeb 1.9.4 at www.steveconrad.co.uk/tivo
bushman4
01-06-2007, 08:17 PM
I run tracker fine with TWP.
Make sure that you created the Tracker directory before you access the module for the first time. I think that is the problem.
HTH,
Bushman
ponto
01-07-2007, 04:42 AM
I run tracker fine with TWP.
Make sure that you created the Tracker directory before you access the module for the first time. I think that is the problem.
HTH,
Bushman
Thanks for the advice I've just given that a try - hasn't made any difference :confused:
Setekh
01-07-2007, 09:32 AM
I seem to remember having similar problems when I first installed Tracker. I think that I fixed them by simply creating any files that Tracker complained about.
If you have "touch" on your TiVo you can use it as follows:
touch filename
If that gives an error like "-bash: touch: command not found" try this:
cat /dev/null > filename
For the error above use:
touch /var/hack/tracker/block_WU
or
cat /dev/null > /var/hack/tracker/block_WU
If this prevents the error, but you get more errors for different files, just repeat the procedure for the new files.
Hope this helps.
<Edit for typo.>
bushman4
01-07-2007, 07:49 PM
Actually, I just figured it out.
It looks like you are trying to process the todo list without ever running the "Create/Update" part...
Run the "Create/Update tracking list" menu item before you try to process the ToDo list. And remember that there will probably not be much actual blocking going on until you have built up a list of programs that have been deleted... it takes a week or so before you see and results.
Bushman
PhilG
01-08-2007, 04:42 PM
Still not 100% happy that this is really working under all circumstances
For example, there are some programs I know I have watched (before I got Tracker) so I delete them from "ToDo" when they show up (in Season Passes for the most part)
But now I DO have Trackerand when I "Process ToDo List" they are NOT being marked for deletion so I have to delete them manually (over and over)
This comes back to my question of a page or so back - if I delete a program from ToDo BEFORE it is recorded, does Tracker track this or not??
Thanks for any clarification - for the most part Tracker is great, but this is starting to annoy me
PS I am using the trackerupdate script daily from cron to update the tracking lists
ponto
01-14-2007, 07:37 AM
I seem to remember having similar problems when I first installed Tracker. I think that I fixed them by simply creating any files that Tracker complained about.
If you have "touch" on your TiVo you can use it as follows:
touch filename
If that gives an error like "-bash: touch: command not found" try this:
cat /dev/null > filename
For the error above use:
touch /var/hack/tracker/block_WU
or
cat /dev/null > /var/hack/tracker/block_WU
If this prevents the error, but you get more errors for different files, just repeat the procedure for the new files.
Hope this helps.
<Edit for typo.>
Thanks very much, that worked.
bushman4
01-14-2007, 11:54 AM
Here is a new version of TrackerUpdate that will report if a show was NOT tracker, and what the cancel reason is in parenthesis.
Here are the cancel reasons... let me know which ones you want to track in addition:
namespace eval CancelReason {
variable CancelledPurchase 42
variable CaptureRequestExpired 30
variable ChannelLineupChanged 13
variable ConvertedLiveCache 21
variable DemoMode 8
variable Expired 6
variable ExplicitlyDeleted 12
variable ExplicitlyDeletedFromToDo 24
variable FuzziesTurnedOff 17
variable FuzzyStoppedEarly 18
variable GotBetterSuggestion 7
variable InternalError 4
variable LiveCacheOnlySuccessful 22
variable MaxRecordingsExceeded 29
variable MaxRecordingsNowShowing 33
variable NoChannelForStation 39
variable NoPurchaseHistoryForRecording 41
variable NoReRecord 27
variable NoSignal 28
variable NoSignalTunerOne 31
variable NoSignalTunerTwo 32
variable NotAuthorized 26
variable PowerWasOff 5
variable ProgramGuideChanged 14
variable ProgramNotFoundOnSource 36
variable ProgramSourceConflict 20
variable ProgramSourceDiskConflict 23
variable ProgramSourceModified 25
variable ProgramSourceNotAllowedToRecord 38
variable PurchasePriceIncrease 43
variable RecordDifferentShowing 2
variable RecorderEmergency 15
variable ShowingCopyProtected 40
variable SourceCouldNotBeContacted 37
variable SourceNotFound 35
variable StayOnLiveTv 3
variable SwitchToLiveTv 1
variable UnableToPrice 45
variable UnableToRepurchase 44
variable UnexpectedConflict 9
variable Unknown 19
variable UserCancelledSeasonPass 16
variable UserRequestedRecording 10
variable UserRequestedSeasonPass 11
variable VideoMgrDeniedTuner 34
}
Bushman
PhilG
01-15-2007, 04:14 PM
Any chance this can output the program title as well as the episode title?
Most I can figure out, but sometimes the episode names are too obscure!
Otherwise, this will certainly convince me that this is working as it should
Thanks for the additional work
Phil G
bushman4
01-16-2007, 04:35 PM
Sure... here you go.
Bushman
Tony Hoyle
01-20-2007, 07:02 PM
Tracker doesn't seem to be working for me.
I have trackerupdate running as a cron job and it's definately running and producing logs, but twice this week Tivo has recorded the same programme twice, which was the reason I installed tracker in the first place.
Is there another log somewhere that tells me what it's actually doing? The trackerupdate log doesn't show it deleting anything from the todo list, only a list of the programmes it's tracking.
kitschcamp
01-21-2007, 12:56 AM
You are going into tivoweb and bringing up the "tracker to do list" and "suggestions to do list"? Trackerupdate only updates the list of what you have recorded, it doesn't delete anything from the To Do lists.
Tony Hoyle
01-21-2007, 10:33 AM
No I never used the tivoweb frontend for it beyond a cursory glance when it was installed.
It's just not seeing the duplicates and removing them, which would seem to me to be the point.
TCM2007
01-21-2007, 11:30 AM
No, the point is that it populates a screen in tivoweb with the duplicates which you can then OK the deletion of. The error rate with automatic deletion was unacceptably high.
Tony Hoyle
01-21-2007, 11:59 AM
OK.. seems like it's not what I wanted - sounds like it's more work than actually deleting the things from the now playing list. If I'm reading this right it's actually just a different version of the 'todo' list in tivoweb?
Has anyone done a plugin that does this? (as per title: stop tivo recording episodes it has already seen).
PhilG
01-21-2007, 03:28 PM
Originally it did automatically delete items from the ToDo list, but the author quite rightly (I think) decided that as it had a habit of deleting things that had NOT been tracked, it was better as a "manual aid"
SO
I also have trackerupdate running daily from CRON, but I also (on a daily or so) basis go into the Tivoweb Tracker module and do a "Process ToDo List", which brings up the ToDo list, with possible duplicates already marked for deletion so after a cursory check, just click on the Delete Shows button
Of course, you don't actually need to do this anywhere near as often as daily, so long as you do it often enough to catch programs before they find their way to the top of ToDo
TCM2007
01-21-2007, 03:38 PM
OK.. seems like it's not what I wanted - sounds like it's more work than actually deleting the things from the now playing list. If I'm reading this right it's actually just a different version of the 'todo' list in tivoweb?
Has anyone done a plugin that does this? (as per title: stop tivo recording episodes it has already seen).
It's two mouse clicks once a week in TivoWeb - seems like less work to me! Also this way the chances of a repeat causing a clash with a new show on another SP is reduced.
The main problem with making it automatic is that if TiVo recorded a show which failed (ie, it wasn't actually that show as the EPG was wrong, the channel change screwed up, turned out to be the flippy-flappy version, etc), then any repeats would not be recorded as it would think you'd already seen it.
Tony Hoyle
01-21-2007, 07:17 PM
It's two mouse clicks once a week in TivoWeb - seems like less work to me! Also this way the chances of a repeat causing a clash with a new show on another SP is reduced.
Well if it's listing your todo list and expecting you to manually delete them it's a heck of a lot more than two clicks... OTOH it didn't work anyway for me - its todo list was empty, which probably means I screwed up the install somewhere, or it was incompatible with something, or whatever.. no matter since it's gone now.
The main problem with making it automatic is that if TiVo recorded a show which failed (ie, it wasn't actually that show as the EPG was wrong, the channel change screwed up, turned out to be the flippy-flappy version, etc), then any repeats would not be recorded as it would think you'd already seen it.
Tivo already does this anyway... unless this plugin is able to override the 30 day rule somehow (which would be neat, but would actually reduce the functionality for 95% of programmes where the 30 day rule works correctly).
kitschcamp
01-22-2007, 12:32 AM
Well if it's listing your todo list and expecting you to manually delete them it's a heck of a lot more than two clicks... OTOH it didn't work anyway for me - its todo list was empty, which probably means I screwed up the install somewhere, or it was incompatible with something, or whatever.. no matter since it's gone now.
No, it brings up the to do list with all the previously watched programs selected, ready for you to check and make sure you want to delete. It works great, as previously said, a check once or twice a week after the main listings download at the weekend is enough.
TCM2007
01-22-2007, 04:05 AM
Well if it's listing your todo list and expecting you to manually delete them it's a heck of a lot more than two clicks... OTOH it didn't work anyway for me - its todo list was empty, which probably means I screwed up the install somewhere, or it was incompatible with something, or whatever.. no matter since it's gone now.
Tivo already does this anyway... unless this plugin is able to override the 30 day rule somehow (which would be neat, but would actually reduce the functionality for 95% of programmes where the 30 day rule works correctly).
It is two clicks; as Kitchcamp says the shows it suggests are duplicates are pre-selected, all you have to do is hit the Delete button at the bottom of the page and then OK the confirmation screen.
Tracker only operates on shows outside of the 30 day rule - which is why it shows nothing to be deleted when first installed; it takes a while for duplicates outside the 30 day rule to appear.
Tony Hoyle
01-22-2007, 08:42 AM
It is two clicks; as Kitchcamp says the shows it suggests are duplicates are pre-selected, all you have to do is hit the Delete button at the bottom of the page and then OK the confirmation screen.
Mine had no delete button on the todo. There was an option for deleting entire series in one of the screens but you had to select them individually (and that seemed a bit pointless since you could just delete the season pass and get the same effect). OTOH given that it didn't actually work that may be just a symptom.
I really expected something a lot more like the original summary so misunderstood the purpose of this script - it's not what I want at all.
TCM2007
01-22-2007, 01:46 PM
Mine had no delete button on the todo.
Yes it does, at the bottom. And at the top too if you run one of the more recent versions.
There was an option for deleting entire series in one of the screens but you had to select them individually .
What software have you downloaded and installed Tony? It doesn't sound like it's Tracker!
I really expected something a lot more like the original summary so misunderstood the purpose of this script - it's not what I want at all.
The script identifies programmes that you have previously recorded, and gives you a simple way to delete them from the To Do list with just a couple of mouse clicks. That's all.
Tony Hoyle
01-22-2007, 04:02 PM
What software have you downloaded and installed Tony? It doesn't sound like it's Tracker!
The file I have is tracker314.itcl from this thread - is that not the correct one?
All I really need to do is extend the 30 day rule to 60 or 90 days (probably 90) to avoid the way things get endlessly repeated. That shouldn't need a tivoweb script at all really.. it's just modifying what Tivo does already. I'm surprised there isn't a setting in the metadata somewhere...
TCM2007
01-22-2007, 06:14 PM
Some stuff (like the length the 30 day rule) appears to be hard coded in the app rather than a variable stored in MFS. Tracking down such a thing is a bit tricky...
There is an alternative approach which might work, but I never got around to trying. Any programmer out there want a go?
It's based around this:
In MFS there is a a "directory" /Recording/NoReRecord which appears to contain references the recording objects which the 30 day rule is blocking. The references themselves have names such as:
/Recording/NoReRecord/1264594:NN:13514:03891081
or
/Recording/NoReRecord/1260451:FN:99999:03954898
or
/Recording/NoReRecord/10286170:NS:99999:03956437
Ones containg "NS" are in Now Playing and those containing FN are in the To Do List. Ones labeleled NN are the deleted recordings. The number immediatly after the initials is the deletion date (in TiVo's internal representation) and the final number is the ID of the Showing object which identifies the programme.
The fact that the deletion date is in the filename suggest to me that it might be used in the 30 day rule logic, ie, if that date is more than 30 days in the past, the reference is deleted from the NoReRecord list. I say "might"! So it COULD be the case that simply adding 30 to the true deletion date might make the rule operate as a 60 day rule. Or having a deletion date in the future might really screw things up, who knows!
I also don't know for sure how to change the pointer/filename; it could be just altering the deletion date will automatically change the pointer when tiVo refreshes the list; or it could be that you can do it by manually manipulating the pointer name text.
It could even be that removing the deletion date altogether or setting the name to 99999 would pernantly block a re-record - however that might cause an excess of entries in /Recording.
Nice little experiment for someone!
PhilG
01-23-2007, 11:59 AM
Isn't there also a version of Daily Mail that tells you when there are upcoming duplicates in the ToDo list?
I did take a look at it but it was such a big change from my version of DailyMail I ignored it (there seemed to be FAR too many new and changed configuration parameters for me to get wrong)
PhilG
03-06-2007, 04:39 AM
Well, this has taken a while BUT I now have evidence that unrecorded episodes deleted from ToDo are not (always) being tracked properly
For example, on Mon 26th Feb at 20:00 on SKYONE, I deleted "The Simpsons" "Take My Wife, Sleaze" from my ToDo list as I have seen it already
Today it appeared back in the Tracker ToDo list (Sun 25th Mar 18:00 SKYONE The Simpsons Take My Wife, Sleaze) NOT flagged top be deleted
It is also NOT in the Tracker list of tracked episodes for The Simpsons
How can I start to figure out why it did not get tracked??
Should it have been tracked the day I deleted it OR the day after it should have been shown? If the latter, I have my TrackerUpdate log for that time period and there is no sign of it being tracked NOR being not-tracked.....
Suggestions please??
ColinYounger
03-06-2007, 09:03 AM
Phil - just to let you know, I have my suspicions about Tracker as well. We go through a lot of 'Two and a half men' which are repeated endlessly on Paramount Comedy. Tracker has yet to spot a dupe.
In short, I haven't had a chance to do any diagnostics yet, so I'm lurking here.
ColinYounger
03-06-2007, 09:04 AM
Oh - BTW...
Post your TrackerUpdate log up in case it's needed later.
Pete77
03-06-2007, 09:45 AM
Phil - just to let you know, I have my suspicions about Tracker as well. We go through a lot of 'Two and a half men' which are repeated endlessly on Paramount Comedy. Tracker has yet to spot a dupe.
In short, I haven't had a chance to do any diagnostics yet, so I'm lurking here.
Does Two and a Half Men have only generic or episode based data though?
If it only has generic data the only thing that Tracker can do is to block all episodes of the series if you have the functionality to block programs with only generic data enabled.
bushman4
03-06-2007, 10:32 AM
To answer one question:
If you delete an item from the Now Playing list, it will be "tracked" on the day that TiVo reclaims the disk space... usually the next day. Basically, if it shows up in the "undelete" screen, the space has not been reclaimed yet, so it will not be tracked yet.
To-Do explicit deletes will be tracked the SAME day that they are done, because there is no reclamation process.
So, do you have the Update log for the day that you deleted it from the To-Do list?
Bushman
Pete77
03-06-2007, 10:44 AM
Bushman,
Can you explain more about the supposed interaction between trackerupdate.tcl and dailymail_jazz.tcl when both are run by Cron with trackerupdate.tcl happening say 15 minutes before dailymail_jazz.tcl
My understanding was that DailyMail was supposed to have a section in the email showing programs that were duplicates of shows you had already recorded and asking if you wanted to cancel them as in processing the To Do list via the Tracker module in TivoWeb. However in practice all trackerupdate.tcl seems to actually do is to add the shows that have been deleted to the Tracker database but there is no section in the Daily Mail that asks if you want to delete programs that are tracked but scheduled to record in ToDo or as Suggestions.
As far as I can tell all trackerupdate.tcl actually does if run daily from cron is to ensure that the tracker database of programs recorded and deleted is kept up to date but it doesn't delete the programs you have already watched or deleted from the To Do list from being recorded again, unless you also manually run the Process To Do or Suggestions option in the Tracker TivoWeb module once a day?
I had thought that running trackerupdate.tcl and then dailymail_jazz.tcl via cron in conjunction the dailymail email contents would deal with removing all Tracker duplicates but in practice there seems to be no section about Tracker shows in the DailyMail email. I have checked all my configuration options for DailyMailJazz and can't see anything turned off that should be turned on.
Can you shed any light on this?
bushman4
03-06-2007, 11:09 AM
Sure thing.
Tracker Update does nothing but update the tracking DB files in your tracker directory.
Daily Mail v.38, which happens to be the version I am running, has the ability to read these block lists and pre-mark items for deletion in the Daily Mail to-do list based upon your tracker rules. This is just like running the Tracker "Process To-Do list" with the option of "To-Do: Show all items" set to True.
This way, when you get your daily mail each morning, you can review the to-do list for items who have the Delete checkbox checked, and if you want to delete them from the To-Do list, click the "X" in the column heading.
To enable this, you must set the following DailyMail config options:
(3.4.5) User Sanderton's "Tracker" module to highlight & pre-select "blocked" programs?
This must be set to true like this:
set trackerblockreq true
(4.13) Location of the "Tracker" confif (sp) file.
This must be set to your tracker location like this:
set trackerdir "/var/hack/tracker"
Assuming that these are set up properly, DailyMail will check each show in the "to-do" list to see if it should be blocked, just like you were processing you To-Do list through TWP.
HTH,
Bushman
PhilG
03-06-2007, 11:09 AM
So, do you have the Update log for the day that you deleted it from the To-Do list?
Rats - No
I keep this weeks trackerupdate.log and last weeks, but that's all
I'll make some changes to keep weeks and weeks of logs and wait for it to happen again :(
bushman4
03-06-2007, 11:11 AM
Sorry Phil...
The only thing I can think of is that the "status" of the program you delete manually are not what I expect them to be. But once you find out what the status is, it should be a quick fix...
Bushman
PhilG
03-06-2007, 11:17 AM
I'm now keeping SIX weeks of trackerupdate log - I'll let you know when I see an obvious missing tracked episode again
Watch this space (Oh, and of course, it works too a lot/some of the time!)
PhilG
03-06-2007, 11:20 AM
Not sure if this is connected
What does THIS mean ->
Found a deleted episode not to be tracked(20): {The Simpsons} - EP0186930105 - {Homer the Vigilante}
This episode SHOULD be tracked, but is NOT in my tracker list.........
Now that I look, there are a LOT of these (20) messages :eek:
ColinYounger
03-06-2007, 11:43 AM
Basically, if it shows up in the "undelete" screen, the space has not been reclaimed yet, so it will not be tracked yet.Well, that explains it for me; I've got LOADS of stuff in 'Deleted Programmes'.
I know, I know - I don't record enough stuff. :o
Pete77
03-06-2007, 11:47 AM
Well, that explains it for me; I've got LOADS of stuff in 'Deleted Programmes'.
I know, I know - I don't record enough stuff. :o
Try turning on Suggestions. That should do the trick and fill up your hard drive nicely while sweeping any deleted program space out of the way. Suggestions do have priority over deleted programs and do cause them to be permanently erased.
PhilG
03-06-2007, 11:48 AM
Well, that explains it for me; I've got LOADS of stuff in 'Deleted Programmes'.
I know, I know - I don't record enough stuff. :o
Me too. but NOT the ones that I listed above as not being tracked (phew)
A thought though
Now we are all having bigger and BIGGER disks, is waiting for things to by really REALLY deleted the right thing to be doing? As I travel a lot, I tend to keep my Tivo less than 50% full most of the time, so it's got a lot of space to fill up whilst I am away...........
bushman4
03-06-2007, 11:57 AM
If you look at post number 364 it includes a list of all the codes and what they mean.
It says that code 20 is "ProgramSourceConflict" which means that this episode wasn't recorded because something else was scheduled at that time, I think.
So these "20" codes that you are getting are things that were never recorded, and were removed from the To-Do list because there was a higher priority program scheduled for the same time.
Not something that tracker should even look at, if you ask me. It wasn't watched. It wasn't unwatched. It wasn't recorded. And it wasn't explicitly deleted by YOU from the To-Do list. So tracker ignores it.
Capish?
Bushman
Pete77
03-06-2007, 12:00 PM
Sure thing.
Tracker Update does nothing but update the tracking DB files in your tracker directory.
OK so at least as long as trackerupdate.tcl is run by Cron daily one no longer fails to get some programs one has deleted ever added to the Tracker list at all (as would have happened previously when on holiday or busy at work etc).
Daily Mail v.38, which happens to be the version I am running, has the ability to read these block lists and pre-mark items for deletion in the Daily Mail to-do list based upon your tracker rules. This is just like running the Tracker "Process To-Do list" with the option of "To-Do: Show all items" set to True.
This way, when you get your daily mail each morning, you can review the to-do list for items who have the Delete checkbox checked, and if you want to delete them from the To-Do list, click the "X" in the column heading.
To enable this, you must set the following DailyMail config options:
(3.4.5) User Sanderton's "Tracker" module to highlight & pre-select "blocked" programs?
This must be set to true like this:
set trackerblockreq true
(4.13) Location of the "Tracker" confif (sp) file.
This must be set to your tracker location like this:
set trackerdir "/var/hack/tracker"
Assuming that these are set up properly, DailyMail will check each show in the "to-do" list to see if it should be blocked, just like you were processing you To-Do list through TWP.
I'm also running v0.38 of DailyMail here and I already had all that set correctly in my dailymail.cfg file but I don't recall seeing the programs clicked for deletion in the To Do list but then I wasn't really looking out for them either.
I see that processing ToDo directly in Tracker in Tivoweb tells me I have a 2 minute Manual SP recording of Sky News on Thursday morning at 5.25am I could delete from being recorded but although this is also shown in ToDo in DailyMail it isn't pre-ticked for deletion. Perhaps the fact it is a manual SP has DailyMail confused? I will have to not process ToDo in the TivoWeb Tracker module at all and keep an eye on DailyMail and see what happens.
PhilG
03-06-2007, 12:00 PM
However in practice all trackerupdate.tcl seems to actually do is to add the shows that have been deleted to the Tracker database but there is no section in the Daily Mail that asks if you want to delete programs that are tracked but scheduled to record in ToDo or as Suggestions.
Attached is a screenshot of my DailyMail - the "del" column has a tick in it for tracker flagged duplicates
bushman4
03-06-2007, 12:00 PM
And about the "really-really deleted" question, that would take a bit of work, since right now Tracker Update enumerates the MFS Collection of "Cancelled Recordings" for possible shows to track.
I will look at the "undelete" module to see how to detect an undelete-able program... it might be easy.
Bushman
Pete77
03-06-2007, 12:02 PM
Now we are all having bigger and BIGGER disks, is waiting for things to by really REALLY deleted the right thing to be doing? As I travel a lot, I tend to keep my Tivo less than 50% full most of the time, so it's got a lot of space to fill up whilst I am away...........
Turning Suggestions on will resolve this problem for you. As Tivo chosen Suggestions always appear at the bottom of the Now Playing list it shouldn't interfere with your normal Tivo use.
Pete77
03-06-2007, 12:05 PM
Attached is a screenshot of my DailyMail - the "del" column has a tick in it for tracker flagged duplicates
I couldn't see any ticks in your screenshot? :confused:
bushman4
03-06-2007, 12:09 PM
Here is an example of what my Daily Mail entries look like when something is marked for deletion.
Are you sure that the dates on those SP programs are the same? Tracker will look at the entire To-Do list, for as far out as you have Program Data. But DailyMail usually only looks at a limited number of days of To-Do items... could you be confusing multiple days?
Anyway, look at the attachment to see what happens when you have already watch a L&O:CI episode and it pops back onto your To-Do list.
Bushman
PhilG
03-06-2007, 12:09 PM
That's 'cos none of these shows is a duplicate - if they were, there'd be a tick (honest - I've seen them!) - Then the "del" is actually a button you can click on to activate a multi delete back on Tivoweb
If you pm me your eMail address, I'll forward one of the mails to you - that might make it clearer
PhilG
03-06-2007, 12:13 PM
It says that code 20 is "ProgramSourceConflict" which means that this episode wasn't recorded because something else was scheduled at that time, I think. Capish?
Bushman
Gotcha
I'll wait for an explicit delete (by me) to appear in the trackerupdate log and let you know.
I deleted a couple this morning, so they should appear in the log after tonights trackerupdate - right>?
PhilG
03-06-2007, 12:15 PM
Here is an example of what my Daily Mail entries look like when something is marked for deletion.
Bushman
Was this for me?
If so, I know what SHOULD be happening, but it isn't
I also use the Tracker.Process ToDo to keep those duplicates out of the ToDo list - that's where they keep reappearing. I only have 72 hours of dailymail normally, which is why I hardly ever see ticks
Pete77
03-06-2007, 12:29 PM
Anyway, look at the attachment to see what happens when you have already watch a L&O:CI episode and it pops back onto your To-Do list.
Bushman
I notice there are recording dots shown in your screen shot. What do those relate to as my DailyMail doesn't have those. I could only get a red dot option of some kind in my DailyMail if I enabled the Block List module in dailymail.cfg. But I think that's a different US version of the Tracker concept is it not and not relevant to the functionality of our Tracker module?
ColinYounger
03-06-2007, 12:56 PM
Turning on suggestions is no good for me. First, I still watch live TV. :eek: Second, when I do, My TiVo Thinks I'm Gay (http://www.samspublishing.com/articles/article.asp?p=342736&seqNum=2&rl=1) (scroll down the article to find the details)
bushman4
03-06-2007, 01:01 PM
By "dots" do you mean the icons to the right of the first line of each recording?
If so, here's what they all mean:
Blue Dash - Recordings will be deleted to make room for this item
Blue Left Arrow - Start padding will be added to this item
Yellow Check Mark - Season Pass Exists for this item
Yellow X - This program exists on blick lists, and the checkbox has been pre-selected
Red Dot - Add to Global Block List (TWP Block list, not Tracker Block List)
But maybe I'm misunderstanding...
And no, it wasn't for you Phil. I was tring to show an example of what it looks like when an item IS selected for deletion.
HTH,
Bushman
Pete77
03-06-2007, 02:22 PM
Turning on suggestions is no good for me. First, I still watch live TV. :eek: Second, when I do, My TiVo Thinks I'm Gay (http://www.samspublishing.com/articles/article.asp?p=342736&seqNum=2&rl=1) (scroll down the article to find the details)
But if you read that article properly then you realise that Tivo Suggestions don't think at all but merely categorise by most thumbed program type.
If you have a large hard drive you might as well turn on Suggestions as when the Tivo needs to make a recording you actually do want then it will always wipe out the oldest Suggestion of a suitable size in order to do so. And if you edit thumbs using the User Interface/Preferences/Explicity Thumbed module added by Ljay (but carefully cutting down on any excessive +3 or -3 thumbs where you hate that particular program but not the whole genre it is part of) then you can get Tivo to come up with some pretty reasonable Suggestions, even if you only actually watch 1 in 8 or 1 in 10 of the Suggestions it records.
The only reason for not turning on Suggestion is if you watch a lot of live tv as you have indicated but you can still work round that by also having a Freeview box (or a second Freeview box if your main source is also Freeview) and plugging it into the Tivo's VCR socket. Then using the the Tivo VCR button and the second Freeview box's remote control you can still watch what you want on Live Tv while Tivo is recording a Suggestion. But if you like Live Tv so much then why do you need a Tivo? ;) :p
Also Tivo does always give you the option not to record a Suggestion when it is about to change channel to do so and if you change channel from one a Suggestion is currently recording on the recording is automatically cancelled and deleted from the Tivo without any further action being needed by you.
ColinYounger
03-06-2007, 02:32 PM
I found the article funny because it's exactly what happened when I first got my TiVo. It varied between recording programs about Hitler (from The Hitler Channel) and children's programmes. So while it didn't think I was Gay per se, it did think I was a childish meglomaniac. :)
Also, looking around TiVo communities, the phrase "My TiVo thinks I'm Gay" has been adopted to describe this phenomenon. I could use the abbreviation MTTIG, but that would only annoy you. :p
I watch live TV and the TiVo is to satisfy my inner geek. As well as record stuff. I just haven't got into the 'record everything' habit yet.
Finally, I know you can cancel the suggested recording. But when I had suggestions switched on, it took but five days for the cancelling of recordings we don't want (about Hitler) to get annoying beyond belief.
Pete77
03-06-2007, 02:56 PM
It varied between recording programs about Hitler (from The Hitler Channel) and children's programmes.
I assume you mean The History Channel ;) :p
I find Suggestions works fairly reasonably except for games shows where I hate some game shows (eg Family Fortunes, Deal or No Deal or The Weakest Link) but like others such as Who Wants To Be A Millionaire or Countdown. In which case its best not to give any games show more than two Thumbs Up or Two Thumbs Down however much you hate or love them.
Having said that I have most motoring and motor sport programs with two or three thumbs up and all football with three thumbs down. The net result is that I get lots of motoring suggestions recorded but I never get suggestions for any other type of sport. So the Tivo seems to realise there is a clash and avoids taking a gamble on other sports that my opinions are less clear on. Also it has never recorded a football program Suggestion (not even a newly launched football series I haven't yet thumbed) which seems to prove that it doesn't actually do that bad a job.
Of course once you have let your Tivo fill right up with worthy stuff you constantly hope to have time to watch but never quite do then you don't get Suggestions any more anyway, even with them still turned on...................
PhilG
03-07-2007, 03:55 AM
OK - An update on my problem
The two Simpsons episodes I deleted from the ToDo list yesterday do not appear ANYWHERE in the trackerupdate log (not tracked and not NOT tracked either) - neither are they already in the tracker list
It looks like it has no idea I deleted them at all
I deleted three more this morning - I'll take another look at the trackerupdate log tomorrow, but I am not hopeful
PhilG
03-07-2007, 09:39 AM
Also, I notice that the tracker list display has a column headed "Date recorded" - what does it put in here for items that were deleted BEFORE they were recorded????
Pete77
03-07-2007, 10:58 AM
Also, I notice that the tracker list display has a column headed "Date recorded" - what does it put in here for items that were deleted BEFORE they were recorded????
The date it would have been recorded on I imagine?
PhilG
03-07-2007, 11:02 AM
Possibly, but I am still suspicious it's only tracking things that HAVE been recorded......
Pete77
03-07-2007, 11:05 AM
Possibly, but I am still suspicious it's only tracking things that HAVE been recorded......
I think you may be right, although that doesn't bother me too much as its only the same old repeat I have watched once being recorded time and again that really bothers me.
PhilG
03-07-2007, 12:23 PM
Unfortunately I have loads of stuff that I am trying to teach Tivo that I have already watched :(
Pete77
03-07-2007, 01:02 PM
Unfortunately I have loads of stuff that I am trying to teach Tivo that I have already watched :(
Perhaps the answer is to let it record and delete it then so that then you have trapped it for good?
PhilG
03-07-2007, 02:14 PM
Perhaps the answer is to let it record and delete it then so that then you have trapped it for good?
I would, but there's a LOT and to allow these recordings will probably mean I will have to sacrifice something else I wanted in stead
I did ask the specific question (a few pages back) about tracking unwatched programs and the answer seemed to be what I wanted to hear
cue Bushman4........ :confused:
PhilG
03-08-2007, 04:10 PM
OK - Another day and still the entries I explicitly delete from the "ToDo" list via Tracker are NOT being tracked
Maybe the simplest approach would be to have an option in the "Process ToDo" part of Tracker that allows you to delete shows AND IMMEDIATELY ADDS THESE SHOWS TO THE TRACKING LIST??
TCM2007
03-08-2007, 06:35 PM
OK - Another day and still the entries I explicitly delete from the "ToDo" list via Tracker are NOT being tracked
Tracker does not add items into its database until after the scheduled showing date.
PhilG
03-09-2007, 09:18 AM
Tracker does not add items into its database until after the scheduled showing date.
For items I've deleted from the ToDo list, I am fairly certain it doesn't do THAT either :mad:
TCM2007
03-09-2007, 09:47 AM
Deleted how? Though Tivoweb?
Tracker adds to the tracker list recordings which meet four criteria:
1) Recording object modified since the last time trackerupdate ran
2) Recording object listed in /Recordings/Cancelled
3) Scheduled air date is in the past
4) The Recording's CancelReason set to one of four reasons
For something you have explicitly deleted through TW, 4 will definitely be true as the CancellReason is hard-set to 24 (Explicitly cancelled from TDL).
So you should look to the other criteria.
Ideally, try to find the Recording object which refers to the cancelled recording using MFS browser in TW, and post its content here. In /Recordings/Cancelled the objects are listed in showing date order.
PhilG
03-09-2007, 09:58 AM
Deleted how? Though Tivoweb?
Yes
Tracker adds to the tracker list recordings which meet four criteria:
4) The Recording's CancelReason set to one of four reasons
For something you have explicitly deleted through TW, 4 will definitely be true as the CancellReason is hard-set to 24 (Explicitly cancelled from TDL).
OK - makes sense
Ideally, try to find the Recording object which refers to the cancelled recording using MFS browser in TW, and post its content here. In /Recordings/Cancelled the objects are listed in showing date order.
Sorry - you lost me there.
Given a program name and episode title OR channel number and date/time of showing, how do I find the right entry in MFS?? :confused:
TCM2007
03-09-2007, 12:53 PM
Y
Sorry - you lost me there.
Given a program name and episode title OR channel number and date/time of showing, how do I find the right entry in MFS?? :confused:
Search for the show which you cancelled and get the details page up, then change the word "showing" in URL to "object" being careful not to touch anything else. Copy and paste the result here.
Should look something like this:
showing 4044975/11 {
Date = 13584
Duration = 3600
Program = 4042270/-1
Reason = 2
Station = 257423/-1
Time = 57600
IndexUsedBy = 4044975/10
}
The IndexUsedBy is the critical one, as that will tell us where that recording exists in MFS.
In the above case I get:
Recording 4044975/10 {
Version = 4
BitRate = 0
ProgramSource = 3801740/-1
Score = 5999
SelectionType = 9
Showing = 4044975/11
State = 6
ExpirationDate = 13585
ExpirationTime = 61200
DeletionDate = 13586
DeletionTime = 57600
IndexUsed = 4044975/11
IndexPath = /Recording/Active/4:13584:57600:4044975 /Recording/NoReRecord/1291845:NS:99999:04044975
}
Telling me that the recording is Active, in state 4 (to be recorded) and other instances are currently being blocked by the 28 day rule (NoReRecord).
PhilG
03-09-2007, 03:36 PM
Nothing is ever simple is it :(
When I change "showing" to "object" for something I cancelled this morning, I get
Showing 3957824/32 {
Program = 3956447/-1
Duration = 1800
Station = 702/-1
Date = 13599
Time = 70200
}
No sign of an IndexUsedBy....
If I try one I cancelled a fair while ago, I get
Showing 3919740/90 {
Program = 3855654/-1
Duration = 1800
Station = 702/-1
Date = 13584
Time = 68400
}
STILL no IndexUsedBy......
What do I look for next :confused: :confused:
TCM2007
03-10-2007, 04:18 AM
Well, that's why it isn't working - all record of the programme have once been in the TDL has been purged by TiVo, so Tracker simply doesn't know it was ever there to track.
I have no idea why that would happen; I've not seen that behaviour at all on mine.
Pete77
03-10-2007, 04:33 AM
I have no idea why that would happen; I've not seen that behaviour at all on mine.
Is the Tivo with the tracking problem a dual source Sky and Freeview machine by any chance?
TCM2007
03-10-2007, 04:44 AM
Is the Tivo with the tracking problem a dual source Sky and Freeview machine by any chance?
Can't think of any way that could make difference?
PhilG
03-10-2007, 02:53 PM
Nope - just Sky and analogue
PhilG
03-10-2007, 03:06 PM
OK
Let's do this in easy stages.......
1. I pick a program in the ToDo list that I want to delete. The "object" data for it looks like THIS:
Showing 3968111/11 {
Date = 13601
Duration = 1800
Program = 3962399/-1
Reason = 2
Station = 702/-1
Time = 70200
IndexUsedBy = 3968111/10
}
AHA - There's an IndexUsedBy
2. Now I delete the item from the ToDo list, using TW UI/Delete
Now Object data looks like THIS
Showing 3968111/11 {
Date = 13601
Duration = 1800
Program = 3962399/-1
Reason = 2
Station = 702/-1
Time = 70200
IndexUsedBy = 3968111/10
}
Still OK - Hmm
3. I put the program BACK in the ToDo list
Object data still says
Showing 3968111/11 {
Date = 13601
Duration = 1800
Program = 3962399/-1
Reason = 2
Station = 702/-1
Time = 70200
IndexUsedBy = 3968111/10
}
4. I delete the show from ToDo using the Tracker Delete process
Object data says
Showing 3968111/11 {
Date = 13601
Duration = 1800
Program = 3962399/-1
Reason = 2
Station = 702/-1
Time = 70200
IndexUsedBy = 3968111/10
}
(I expected the IndexUsedBy to have disappeared.....)
5. Anyway, now I have found one. MFS says
Recording 3968111/10 {
Version = 4
ProgramSource = 3870682/-1
Score = 5968
Showing = 3968111/11
BitRate = 0
ExpirationDate = 13603
ExpirationTime = 70200
RecordQuality = 100
SelectionType = 3
CancelReason = 24
CancelDate = 13582
CancelTime = 72086
ErrorString = {Cancelled by user}
State = 2
IndexUsed = 3968111/11
IndexPath = /Recording/Cancelled/13601:70200:702:3968111 /Recording/History/13601:70200:3968111 /Recording/NoReRecord/69475:NN:13582:03968111
}
I assume the CancelReason 24 will cause it to be tracked?
Will that happen immediately OR after the date it would have been broadcast??
Not at all sure why some of these programs I mentioned yesterday don't have any pointers to the MFS data :(
TCM2007
03-10-2007, 03:16 PM
It's in Recording/Cancelled, it has a CancelReason of 24 and it's been recently modified. Once the broadcast date (13601) has passed it should therefore be tracked.
Oh hang on.
It won't have been recently modified by the time 13601 comes around, if you run trackerupdate between now and then.
A bug!
PhilG
03-10-2007, 03:19 PM
It's in Recording/Cancelled, it has a CancelReason of 24 and it's been recently modified. Once the broadcast date (13601) has passed it should therefore be tracked.
OK - I'll have to wait then :(
I am still slightly sure that there is something not quite right about this, but I have no run out of time to dig deeper (I'll be away from my Tivo for a few weeks, so won't have time for detailed diagnostics)
I'll get back to this when I can
TCM2007
03-10-2007, 03:20 PM
I edited my last post while you were posting; you do indeed seem to have found a bug.
PhilG
03-10-2007, 03:22 PM
Ahhh - Indeed. I run trackerupdate daily (from cron)
I also manually delete upcoming "duplicates" (the ones I know are duplicates, even though Tracker hasn't learnt that yet) early as the sooner I get them out of the ToDo list, the sooner I will see things pop up in their place (if you see what I mean)
I assume trackerupdate only looks at "recently modified" items to keep the processing down? Perhaps we could have a parameter for what counts as "recent"??
PS This is the version of trackerupdate I am using - it says it's v3.1.1 from the middle of 2006 (thanks to bushman mainly, but I think it originated as your work)
TCM2007
03-10-2007, 03:37 PM
Yes, it's just to keep the overhead down and the original Tracker assumed that it would learn from your treatment of recordings rather than than manual TDL edits, as the whole point of it was so you didn't have to manually edit the TDL!
You could easily chnage it by chnaging the line:
ForeachChangedMfsFileTrans fsid name type "/Recording/Cancelled" $since 10 {
to
ForeachChangedMfsFileTrans fsid name type "/Recording/Cancelled" [expr $since + 28] 10 {
(untested, may not work!)
PhilG
03-10-2007, 03:41 PM
Yes, it's just to keep the overhead down and the original Tracker assumed that it would learn from your treatment of recordings rather than than manual TDL edits, as the whole point of it was so you didn't have to manually edit the TDL!
You could easily chnage it by chnaging the line:
ForeachChangedMfsFileTrans fsid name type "/Recording/Cancelled" $since 10 {
to
ForeachChangedMfsFileTrans fsid name type "/Recording/Cancelled" [expr $since + 28] 10 {
(untested, may not work!)
So the "28" is the number of days to be added to the range of dates trackerupdate is looking backwards for??
I'll try it BUT can I assume that if this crashes the script it'll cause a Tivo reboot as it has the Tivo db open?? :eek:
TCM2007
03-10-2007, 03:44 PM
Now you mention it maybe it should be minus 28 not plus 28!
No, TW modules don't crash the TiVo if they just crash. thay can do other things which take the TiVo out, but them falling over won't do it on its own.
PhilG
03-10-2007, 03:47 PM
Hang on
I think it's more complicated than that - further down the script, is a line that says
# skip if unmodified
if { [mfs moddate $id] < $since } {
So even if the MFS entry does get picked up due to the 28 day extension, then this will skip it anyway - right?
I think an option to change the way "$since" is calculated originally and add a number of days to it might be better/safer
TCM2007
03-10-2007, 03:54 PM
That line is I believe in the ForeachChangedMfsFileTrans subroutine and is a local variable within that subroutine - a different $since!
PhilG
03-10-2007, 03:56 PM
OK - I defer to an expert opinion
For others who may not have followed this, can I paraphrase what the problem is as:
If you MANUALLY delete an entry from the ToDo list and run trackerupdate BEFORE the original showing date of the program you deleted, then the program you deleted will NEVER be tracked as things stand??
PhilG
03-10-2007, 03:59 PM
That line is I believe in the ForeachChangedMfsFileTrans subroutine and is a local variable within that subroutine - a different $since!
Is it?
The start of that routine says
proc ForeachChangedMfsFileTrans { idVar nameVar typeVar dirName since count body }
so $since is being passed in as a parameter....?
Ahh - Now I see, the line that calls that routine
ForeachChangedMfsFileTrans fsid name type "/Recording/Cancelled" $since 10
is the one you suggested adding 28 to??
By George, I think I am getting the hang of this!!
I'll try your suggested change (and you didn't answer my question about rebooting :rolleyes: )
TCM2007
03-10-2007, 04:10 PM
And make it minus 28!
It's very unlikely to reboot your Tivo.
PhilG
03-10-2007, 04:51 PM
Now you mention it maybe it should be minus 28 not plus 28!
No, TW modules don't crash the TiVo if they just crash. thay can do other things which take the TiVo out, but them falling over won't do it on its own.
But I am not running trackerupdate from TW, but from cron. Does this make a difference
I know that CRTl-Cing your loadlogos script, for example, reboots my Tivo (oops)
TCM2007
03-10-2007, 06:56 PM
Oh, yes, it might.
Only one way to find out!
PhilG
03-11-2007, 04:09 PM
Oh, yes, it might.
Only one way to find out!
All is well - the revised trackerupdate is now (I hope) looking back 28 days behind each prior run to see what it can find. Now I just have to "wait and see"!
Pete77
03-11-2007, 05:16 PM
All is well - the revised trackerupdate is now (I hope) looking back 28 days behind each prior run to see what it can find. Now I just have to "wait and see"!
Is this your own newly revised version of trackerupdate.tcl or is it just the one that was posted a whille ago in this thread but that you perhaps hadn't updated to?
PhilG
03-11-2007, 05:25 PM
Is the latest one I'd updated to WITH THE ADDITION of a subtle "- 28" as suggested a few posts back by sanderton/tcm2007.....:
You could easily chnage it by chnaging the line:
ForeachChangedMfsFileTrans fsid name type "/Recording/Cancelled" $since 10 {
to
ForeachChangedMfsFileTrans fsid name type "/Recording/Cancelled" [expr $since - 28] 10 {
Pete77
03-11-2007, 05:48 PM
Is this line to revise in trackerupdate.tcl or in tracker.itcl?
PhilG
03-11-2007, 05:52 PM
I only changed it in trackerupdate.tcl BUT I imagine there is a similar line in tracker.itcl in the "Create/Update Tracking List" section
The problem is that as designed, trackerupdate ONLY looks for programs that have been deleted AND have a broadcast date between the time you run the update and THE TIME YOU RAN THE PREVIOUS UPDATE - this is why me deleting things well in advance of their showing was not being picked up
bushman4
03-22-2007, 08:42 AM
Figures... I finally decide to buckle down and figure this out, spend 2 hours looking at WTF is going on because I haven't looked at this in a while, and come up with a tentative solution.
Only to come here to bounce it off you guys, and find out I haven't been notified of new posts to this thread in Weeks! And you guys already solved the problem!
My solution was actually going to be to change the "ForEachChangedMFSFileTrans" to "ForEachMFSFile" and then have a check to only track items that have either been changed since "$since" or have their showing date between "$since" and now. It would slow down the processing a bit, but not much, and it would track everything.
Although the -28 solution will work well too, since TiVo won't schedule programs more than 28 days out...
Sorry I've been incommunicado. I didn't get any notification of new posts...
Bushman
Pete77
03-22-2007, 09:57 AM
Although the -28 solution will work well too, since TiVo won't schedule programs more than 28 days out...
Sorry I've been incommunicado. I didn't get any notification of new posts...
Bushman
Are you planning to release your suggested revisions as a Beta and to then go to a full official release if everyone testing thinks it is doing what they expect it to do?
Sorry to hear about you being desubscribed from the thread. That does seem to happen in various web forums I participate in from time time without there ever being any obvious cause of the problem.
bushman4
03-22-2007, 09:59 AM
I do plan on releasing them. I just have to finish... damn real job keeps interrupting the important stuff!
Bushman
bushman4
03-23-2007, 10:13 AM
OK, here is version 3.1.5 of the Tracker module and the TrackUpdate script.
Notable changes:
Fixed the "Explict Delete from To-Do" bug. Now, tracker and trackerupdate are looking for explicit to-do deletions no matter if the showing date/time has passed or not.
Added an option to help decide what to do with Explicit To-Do deletions. It is called "To-Do delete = Watched." If this option is set to False, explicit to-do deletions will be marked as "Unwatched." If this option is True, they will be marked as "Watched (To-Do delete)."
Please let me know if you run into any bugs.
Thanks,
Bushman
Pete77
03-23-2007, 11:07 AM
After installing the new trackerupdate and tracker files and restarting Tivoweb and then modifying Setup Options in Tracker for the new Deleted To-Do=Watched function to make it True I got the following message when I tried to save the settings:-
Last Update is not a valid clock format string and will not be updated.
Everything else will be updated...
Settings saved
Back to Tracker Main Page
The actual change of setting from False to True for the "Deleted To-Do=Watched" function had been saved as True but I don't recall getting the invalid clock format string message before with the previous version or anywhere else in TWP. Is this caused by modifications you have made that are intended to better handle the new US Daylight Saving Time changeover dates or quite what exactly? As you know rather predictably you US folks sadly didn't take advantage of changing the changeover dates on DST to try and harmonise matters with your European colleagues. :eek: :p
bushman4
03-23-2007, 11:22 AM
You would only get that message if the date/time format of the Last Update field was off, and the "clock scan" function couldn't determine the format.
What does the Last Update field show?
Are you in the UK or the US?
Thanks,
Bushman
Pete77
03-23-2007, 11:38 AM
You would only get that message if the date/time format of the Last Update field was off, and the "clock scan" function couldn't determine the format.
What does the Last Update field show?
Are you in the UK or the US?
Last Tracker Update shows 23rd Mar 2007 06:00:12 AM
The last Tracker Update was done with the previous module version by Crontab and trackerupdate this morning. Perhaps I need to run a Tracker Update manually with the new Tracker module to make the time related messages go away.
I would have thought you would have realised I was in the UK from my comments about being surprised you US chaps hadn't changed your DST introduction dates to coincide with us European chaps across the pond. ;) :p
Pete77
03-23-2007, 11:41 AM
Nope I tried running a manual tracker update but I still get the time related error messages when I try to save the Setup Options.
bushman4
03-23-2007, 11:49 AM
I found the problem.
In order for the date/time to be recognized by TivoWeb, it needs to be in a standard format, which means that it needs to strip out the "nd" from 22nd and the "rd" from 23rd.
I neglected the later. My error... but this is a bug since August that you would only see if you tried to change settings on a day that had "rd" after the number...
On line 410 there is an "if" loop that looks like this:
if {$::uktivo} {
regsub th $updatedate {} updatedate
}
Add a line to it so that it looks like this:
if {$::uktivo} {
regsub th $updatedate {} updatedate
regsub rd $updatedate {} updatedate
}
Assuming that works, I'll make the change and upload a new version...
As to remembering who lives where, I have a tough time with my kids birthdays... I can't keep y'all straight!
HTH,
Bushman
Pete77
03-23-2007, 11:55 AM
On line 410 there is an "if" loop that looks like this:
if {$::uktivo} {
regsub th $updatedate {} updatedate
}
Add a line to it so that it looks like this:
if {$::uktivo} {
regsub th $updatedate {} updatedate
regsub rd $updatedate {} updatedate
}
Assuming that works, I'll make the change and upload a new version...
What about st (1st, 21st, 31st) and nd (2nd, 22nd) ending dates or do they already work OK like th already does when changing the Setup Options? Or do we need to add two more lines of code to cover those?
bushman4
03-23-2007, 01:14 PM
I'm not sure... I haven't tried any of those, and I don't have a UK tivo, so I can't really test.
Try this for me: make a note of what your update time is now, and then change it temporarily to an "st" date or an "nd" date...
If we do need an ST one though, it would have to be written carefully so as not to f' up August.
Test for me if you don't mind and report back, and I'll craft some lines of code to handle all of the situation.
Thanks,
Bushman
Pete77
03-23-2007, 01:43 PM
Try this for me: make a note of what your update time is now, and then change it temporarily to an "st" date or an "nd" date...
If we do need an ST one though, it would have to be written carefully so as not to f' up August.
Test for me if you don't mind and report back, and I'll craft some lines of code to handle all of the situation.
You mean by by manually changing my Tivo system time and date using TivoWebPlus some how?
bushman4
03-23-2007, 01:57 PM
Nope, I mean just try to set the "Last Update" value to some test days that have "st" or "nd" in them. Temporarily of course, or your tracker update will be a little f'ed up.
I often change the "Last Update" date manually to go back in time and test a run of TrackerUpdate, and I got sick of having to convert the value in the file (stored in "seconds since the beginning of time") so I made it a modifiable option on the option screen.
capish?
Bushman
bushman4
03-23-2007, 03:02 PM
OK, I tested myself and the following version should fix the date problem for you UK'ers.
And it turned out AuguST was not an issue, since it is abbreviated Aug on the setup screen.
TH, RD, ST, and ND are all handled correctly now.
Version 3.1.6 now...
HTH,
Bushman
PhilG
03-26-2007, 01:14 AM
I'm away from home right now, so can't test this BUT I am assuming that this is a new tracker module ONLY?? I use the trackerupdate script from cron to automatically update the tracking data on a daily basis.
I guess I need a new one of those as well??
Pete77
03-26-2007, 04:45 AM
I'm away from home right now, so can't test this BUT I am assuming that this is a new tracker module ONLY?? I use the trackerupdate script from cron to automatically update the tracking data on a daily basis.
I guess I need a new one of those as well??
The latest version of trackerupdate.tcl is in Post 344 along with the new tracker.itcl that went with it. Bushman then had to further modify tracker.itcl due to the glitch discovered with non th day of the month endings.
Bushman sorry I didn't do the tesing for you you as for some reason I didn't seem to get an email advising me of the thread updating with your post explaining more precisely what you wanted me to do. But many thanks indeed for testing this out yourself for the benefit of us UK Tivo types. :) :up:
bushman4
03-27-2007, 07:39 AM
No problem.
BTW, the latest version is always at the web site that is linked in my sig... and I still mean to create a new thread with a main "files" post at the top, and without the word Beta in the subject. I bet some people pass over this thread's new posts because they haven't been following since the beginning, and can't be bothered to read all 467 posts.
peace,
Bushman
SteveT
04-08-2007, 09:05 PM
I love the improved TWP 2.0, but I also love Tracker, so I modified the latest Tracker to handle TWP 2.0 (without breaking it for earlier releases). Basically, I just check for the description_hover global variable both ways and use whichever I find. (2 places) Other than that, no changes were required.
I'd appreciate it if some others would give it a try and advise any problems.
Bushman, you might want to incorporate this change into your version.
Soapm
08-08-2007, 09:59 PM
I love the improved TWP 2.0, but I also love Tracker, so I modified the latest Tracker to handle TWP 2.0 (without breaking it for earlier releases). Basically, I just check for the description_hover global variable both ways and use whichever I find. (2 places) Other than that, no changes were required.
I'd appreciate it if some others would give it a try and advise any problems.
Bushman, you might want to incorporate this change into your version.
I get this error when I click "Other Functions Create/Update Tracking List
& Process To Do List"
INTERNAL SERVER ERROR
--cut here--
action_tracker_updtodo '' ''
couldn't open "/var/hack/tracker/block_WT": no such file or directory while executing
"open $trackerdir/block_WT r"
(procedure "action_tracker_todo" line 31)
invoked from within
"action_tracker_todo $chan $path $env"
(procedure "MOD::action_tracker_updtodo" line 12)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"
--cut here--
It appears to be correct, here is a list of that directory;
FamRoom-bash# cd /var/hack/tracker
FamRoom-bash# ls
MV
SH117858
SH666611
series
MV.old
SH151366
SH757267
tracker.cfg
SH002710
SH235435
SP
tracker.cfg.bak
SH002745
SH484589
SP.old
SH039039
SH520350
block_UU
SH080293
SH520350.old
block_WU
What or who is supposed to create the missing file "block_WT"?
SteveT
08-09-2007, 08:53 AM
I get this error when I click "Other Functions Create/Update Tracking List
& Process To Do List"
INTERNAL SERVER ERROR
--cut here--
action_tracker_updtodo '' ''
couldn't open "/var/hack/tracker/block_WT": no such file or directory............What or who is supposed to create the missing file "block_WT"?It looks like that file is normally created during the "update" routine if shows are found that have been watched, then deleted by the TiVo. You apparently didn't have any shows meeting that criteria, but later, the "process ToDo list" routine assumes the file exists.
Two possible "solutions" you can try in the meantime:
1) Run the Rebuild Block Lists option. This will create the file, but it looks like it might give an error trying to rename the file to block_WT.old before it gets to that.
2) Create an empty file using command "touch block_WT" from that folder.
I'll take a look at changing the code to handle this situation better this weekend.
Soapm
08-09-2007, 09:43 AM
2) Create an empty file using command "touch block_WT" from that folder.
I'll take a look at changing the code to handle this situation better this weekend.
I did this one and will wait. You are correct, I just reimaged my drive so haven deleted any shows yet.
Are their more detailed instruction regarding exactly what each settings does? I don't mind it recording an episode again but I wanted to increase that time from 28 days to say 3 months.
Also, in a situaion like mine I would currently like to reduce that time to 0 days.
My situation, I was saving MASH episodes on my drive so I could watch them whenever I want. I was recording in High Quality which takes up tons of space so I deleted all of episodes and am redoing them in basic quality. The problem is most of the shows were in the now playing list less than 28 days ago so are not recording. It would sure be nice to be able to adjust that time 1. collectively but also 2. per season pass or whish list entry.
SteveT
08-09-2007, 12:33 PM
I did this one and will wait. No need to wait. Once you've created the empty file, you shouldn't get the error. (You may have to repeat for other files if you're starting from scratch).Are their more detailed instruction regarding exactly what each settings does?this thread has some good info on Tracker settings a ways back.I don't mind it recording an episode again but I wanted to increase that time from 28 days to say 3 months.Tracker is a permanent to-do blocker. Once a show is added to Tracker's database, it stays there forever unless you remove it.Also, in a situaion like mine I would currently like to reduce that time to 0 days.To remove items from the TiVo's NoReRecord list, you can use my "Manage NoReRecord List" TWP module. Search ddb for "NoReRecord".My situation, I was saving MASH episodes on my drive so I could watch them whenever I want. I was recording in High Quality which takes up tons of space so I deleted all of episodes and am redoing them in basic quality. The problem is most of the shows were in the now playing list less than 28 days ago so are not recording. It would sure be nice to be able to adjust that time 1. collectively but also 2. per season pass or whish list entry.One issue is that shows don't even make it to the NoReRecord list until they've been physically deleted from the disk. If a show can still be "UnDeleted", my NoReRecord module won't show it, and Tracker won't add it to its database.
Hope this helps.
Soapm
08-09-2007, 09:14 PM
One issue is that shows don't even make it to the NoReRecord list until they've been physically deleted from the disk. If a show can still be "UnDeleted", my NoReRecord module won't show it, and Tracker won't add it to its database.
Hope this helps.
Maybe this is the problem, I have a 500 gig drive so everything I deleted is still in the deleted folder.
SteveT
08-22-2007, 12:20 PM
After using Tracker successfully for quite a while, I decided to write a different module to attack the same problem by manipulating the NoReRecord list directly on the TiVo.
Manage NoReRecord List (http://www.tivocommunity.com/tivo-vb/showthread.php?p=5439550)
Please give it a try and advise results or questions over in that thread.
Markman07
09-24-2007, 11:12 AM
I have used the Tracker module in the past and it has worked wonders. I recently installed in on my HR10-250 and when I try to PROCESS the LIST I always get the following error. From what I can see I am running tracker 3.1.6. Any ideas? Thanks!
--cut here--
action_tracker_todo '' ''
can't read "::description_hover": no such variable
while executing
"if { $::description_hover && $description != "" } {
set description [htmlEncode $description]
regsub -all {\"} $description {\"} description
set ..."
invoked from within
"if {($todotype == 0 || $todotype == 7) ^ ($suggestion == 1)} {
set showing [dbobj $rec get Showing]
set showingfsid [dbobj $rec gettarget Showing]
set..."
("uplevel" body line 27)
invoked from within
"uplevel $body"
invoked from within
"ForeachMfsFileTrans fsid name type $path $prefix 15 {
set rec [db $db openid $fsid]
set manual 0
set suggestion 0
if {$::version3} {
set recbeh [dbobj..."
(procedure "MOD::action_tracker_todo" line 125)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"
--cut here--
ColinYounger
09-24-2007, 12:15 PM
That looks like you're running Tivoweb 2.x there. Check post #468 in this thread...
Markman07
09-24-2007, 01:50 PM
Thank You! That did the trick.
mrtickle
10-01-2007, 05:09 PM
No problem.
BTW, the latest version is always at the web site that is linked in my sig... and I still mean to create a new thread with a main "files" post at the top, and without the word Beta in the subject. I bet some people pass over this thread's new posts because they haven't been following since the beginning, and can't be bothered to read all 467 posts.
:D Well I've been away for a bit and just caught up on the whole thread, but I can understand people not reading it all.
Firstly thanks so much for all your work, and especially thanks for starting with my merge of Stephen Baines and LJ's versions! :up: It makes it easier for me personally to update my setup to the latest!
Your website currently say it's at v3.1.7 near the bottom of the page, but the file it links to is actually v3.1.6 which matches identically the one in this thread. Was that intentional?
I've been getting corruptions of the block_WU file but haven't seen anyone else mention this so it could be disc corruption on my tivo, but what happens is that it ends up looking like this:
SH2253940000
SH8870340000
EP5302085459
7560000
SH9605330000
SH8895220000
SH9634070000
Often huge chunks of the file are missing, so I've taken to copying the block_WU file and its backups to my PC, merging/sorting/de-duping them and then putting the file back. There are often many duplicates too. This does happen to me quite a lot so I'd love to know if it's just me!
I'll now upgrade to the 3.1.6 and see how that goes.
Pete77
10-02-2007, 02:12 AM
Have been using 3.16 on a UK Tivo here for several months without getting any apparent issues of the kind mentioned by mrtickle.
TCM2007
09-30-2008, 10:45 AM
Is anyone still using this on a S1? If so, is it still working with the TMSID format change?
PhilG
09-30-2008, 11:11 AM
Is anyone still using this on a S1? If so, is it still working with the TMSID format change?
If S1 = UK Tivo, then it certainly still seems to be working for me
Phil G
kitschcamp
09-30-2008, 11:45 AM
I've not noticed any problems yet.
TCM2007
09-30-2008, 01:32 PM
Coulld you have a peer in the /tracker directory and see if you can see anything which might have changed with the TMSIDs - an exta digit maybe.
I'm finding Tracker VERY useful, but I wonder if there is any way to get round a problem I have, about 0.001% of the time?
In order to build up a history, I am deliberately marking programs to be recorded that I know I have already seen. I then delete them and this creates an entry for Tracker.
When I run Tracker it will tell me that it has found an deleted episode for an existing series, listing the Episode & Series NUMBERS. E.g. today it told me it had found EP8736645047 "Ninety Naps a Day" an episode of Cutting Edge series SH873664.
However, when I went to mark it as "Watched (Manually Set)" I don't have a Cutting Edge series but a SERIES called "Sleeping with My Sister". The same is true for "`Foxy Knoxy' on Trial: Tonight" and "The Real Knights of the Round Table: A Time Team Special", but at least they have the name in the title!
I can see 2 solutions, but I think that one is much easier to code! (I'm afraid that both are beyond my meagre skills :( )
The neat solution would be an editing suite to allow us to customise the names of the series (and possibly the episode titles)! (I tried changing the text in the "/var/hack/tracker/series" file, but I was able to restore a backup :)
The easier solution would be to add an extra column to the tracker_view page listing the Series ID. I can see that this data exists in the hyperlink in the Series Name column, e.g. "... trackseries?seriestmsid=SH873664&title=Sleeping with My Sister...", so I'm hoping this wouldn't be too hard to code. This would allow me to search for the code if the series name was incorrect.
I'm guessing that these (peculiar) names are taken from the first episode that is stored.
Once again many thanks to the coders for the hard work involved in this, and all the other, hacks!
TCM2007
11-16-2008, 09:41 AM
Cutting edge is one of those like the Money Programme which seems to change it's title with each episode.
As I don't have a Tivo any more I can't support the code, sorry!
Cutting edge is one of those like the Money Programme which seems to change it's title with each episode.
Yes, it is definitely down to the data, NOT Tracker.
As I don't have a Tivo any more I can't support the code, sorry!That's a pity! Maybe someone else could pick up the code?
I don't know if this is a directly Tracker related glitch or not:
My TiVo suffered a reboot yesterday.
After it had rebooted and sorted itself out, I tried to use the Tracker module within TiVoWeb and got the following error:
INTERNAL SERVER ERROR
--cut here--
action_tracker '/' ''
invalid command name "0"
while executing
"0 868gzP#-*"a}u+ YX
Oh damn, I thought I'll have to copy the Tracker module over again. I hope that I haven't lost the Tracker database that I keep meaning to backup, but haven't since Nov 16!
I left it last night, intending to investigate and fix it today.
BUT, today the Tracker module is working!
Can anyone suggest how it might have fixed itself? Should I be worried that it will corrupt itself again soon? Should I be worried about the disk or other hardware? Anything I can check or do, other than backing up my hacks?
cashew1970
05-28-2009, 10:24 AM
Hi all....
Not sure if any of you have had this issue with the tracker module or not.
SHMBO insists that she always has a good stock of "Friends" episodes to put on.
We have wishlists and season passes set up for these, and they are set to delete after X days
Most of the other items that we record, we have set to not delete until we say.
This leaves the Friends, recording, and falling off the end when we run out of space.
I have the tracker module running, and dailymail. We have go to the stage where every friends episode that is appearing in the mail have the checkbox marked ready to delete.
I am getting fed up with unchecking these, so I have attempted to remove the Friends entry in tracker.
All that happens is that my TiVo appears to hang... and then reboot,
Does anyone else know of a way of either clearing this down, or setting tracker not to track Friends any more?
I have updated the files to the latest version that I can find in this thread, but i still seem to be running into issues when trying to delete tracked episodes.
Strangely, I have managed to delete the Friends one, well i say that... it does not appear in the list of generic or non generic..... but it is still selecting episodes to remove!!!!
Do you think that wiping the database is my best option? If so... what do i delete from the tracker folder?
Regards
Martin
doubledrat
05-29-2009, 05:19 AM
hi Martin
I've had this problem too. I got around it by working out the programme ID from the dailymail and deleting the corresponding file from the tracker directory, thus making it ignore that programme.
kweller
09-05-2009, 05:55 PM
I just installed Tracker 316 which seemed to create the tracking list OK but fails whenever I try to process the ToDo list. Here's the error message:
--cut here--
action_tracker_todo '' ''
can't read "::description_hover": no such variable
while executing
"if { $::description_hover && $description != "" } {
set description [htmlEncode $description]
regsub -all {\"} $description {\"} description
set ..."
("uplevel" body line 73)
invoked from within
"uplevel $body"
invoked from within
"ForeachMfsFileTrans fsid name type $path $prefix 15 {
set rec [db $db openid $fsid]
set manual 0
set suggestion 0
if {$::version3} {
set recbeh [dbobj..."
(procedure "MOD::action_tracker_todo" line 125)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"
--cut here--
This is under TWP2.
Anyone any idea what might be wrong please?
Thanks.
Kevin
SteveT
09-06-2009, 04:01 PM
I just installed Tracker 316 which seemed to create the tracking list OK but fails whenever I try to process the ToDo list. Here's the error message:
--cut here--
action_tracker_todo '' ''
can't read "::description_hover": no such variable
while executing
"if { $::description_hover && $description != "" } {
--cut here--
This is under TWP2.
Anyone any idea what might be wrong please?
Thanks.
KevinSee post 468 (http://www.tivocommunity.com/tivo-vb/showthread.php?p=5042788#post5042788) of this thread.
Milhouse
10-01-2009, 05:45 AM
Could anyone suggest why Tracker 3.1.6 (from post #468) reboots my UK S1 v2.5.5 Tivo with TW 1.9.4 whenever I run "Create/Update Tracking List" (Core Functions) or "Create/Update Tracking List
& Process To Do List" (Other Functions)?
After the TiVo comes back up, I can then go into "Process To Do List" and delete the programmes identified by Tracker.
Previous versions of Tracker worked without any problem (probably the latest Sanderton original - can't recall the version, not at home), but I do like the enhancements in 3.1.6!
My settings are:
Watched episodes you deleted [Block]
Unwatched episodes you deleted [Block]
Watched episodes TiVo deleted [Allow]
Unwatched episodes TiVo deleted [Allow]
Ignore generic (no data) episodes [Ignore]
Debug Mode [False]
Automatic Rebuild After Edits [True]
Verbose Update Procedure [False]
'Watched means Watched!' [True]
Deleted To-Do = Watched [False]
To-Do: Show all items [False]
To-Do: Show Original Air Date [False]
To-Do: Show TMS ID [False]
To-Do: Show Tracker Series Link [False]
Last Tracker Update [15th Sep 2009 12:55:49 PM]
I've tried Tracker 3.1.7 (http://webpages.charter.net/bushman4/tracker.html) with the scheduled automated updates, but this version also reboots my TiVo during the scheduled update.
Many thanks in advance! :)
kitschcamp
10-01-2009, 06:45 AM
For a long time I've quit Tivoweb and restarted it before running this module, because - as you say - if you don't it will reboot the TiVo. I've got quite a few years of history now, so I'd guess it's probably a memory hole issue somewhere in TiVoweb.
Milhouse
10-01-2009, 08:43 AM
Thanks Kitschcamp.
I posted my message above based on memory (last Tracker update on 15 Sep) which may have been a bad idea - I've just fully reloaded TW and updated the Tracking list (no reboot!) however the TiVo has rebooted while "Processing ToDo List" (which makes sense as that would explain why it always manages to display the correct programmes for deletion after the reboot). My failing memory got the point at which the box reboots wrong, so it's the Update that always succeeds and it's the Process To-Do List that causes the reboot (the Process runs to completion without any problem after the reboot, confirming it may be a memory leak issue).
Perhaps I need to restart (full reload?) TW between the Update and the Process steps? I'll try that in another week or so!
Alternatively, would TWP 2.0 also suffer from the memory leak?
kitschcamp
10-01-2009, 09:20 AM
Yeah, same here. Update is fine, but process to-do will reboot. If you do that it works fine - I just use the normal TiVoweb, not the TWplus or anything.
vBulletin® v3.6.8, Copyright ©2000-2009, Jelsoft Enterprises Ltd.