PDA

View Full Version : RecTracker Purge problem



mhuttinger
2005-05-20, 04:49 PM
Hello,

I'm currently in the process of getting a home-brew PVR setup in my home. I've been looking into the use of GB-PVR, and I think I'm wanting to use the RecTracker program to help remove duplicate episodes from my recording schedule. I've setup a testbed for just playing around with the GB-PVR stuff (no actual recording hardware connected) and to demo to my wife the fun things we have in store :)

So, I've added the RecTracker program to my gb-pvr folder, and started messing around with it to see how it works. Now, it seems that when it comes time to do a:

rectracker -purge

It ONLY deletes ONE duplicate item from my schedule, even tho there are many duplicates of a particular episode.

For my test, I have MythBusters set to record all episodes. I marked two different episodes of MythBusters as recorded, and manually called the rectracker -add with their ID's. Databases both look good.

Now, calling the rectracker -purge command, it shows that it deletes two duplicates (one for each different episode), however one of the MythBusters episodes had 3 different occurances -- and only one was deleted.

Here's a log dump of the relevant portions of the log file:

5/20/2005 11:42:10 AM.981 VERBOSE [2] RecordingFactory.loadSchedule()
5/20/2005 11:42:10 AM.981 VERBOSE [2] - loading: MythBusters status:4 start: 1/1/2001 12:00 AM
5/20/2005 11:42:10 AM.997 VERBOSE [2] - loading: MythBusters status:0 start: 5/22/2005 2:00 PM
5/20/2005 11:42:10 AM.997 VERBOSE [2] - loading: C:\test.mpg status:2 start: 5/25/2005 8:00 PM
5/20/2005 11:42:10 AM.997 VERBOSE [2] - loading: MythBusters status:0 start: 5/25/2005 11:00 PM
5/20/2005 11:42:10 AM.997 VERBOSE [2] - loading: MythBusters status:0 start: 5/29/2005 2:00 PM
5/20/2005 11:42:10 AM.997 VERBOSE [2] - loading: C:\test.mpg status:2 start: 6/1/2005 8:00 PM
5/20/2005 11:42:10 AM.997 VERBOSE [2] - loading: MythBusters status:0 start: 6/1/2005 11:00 PM
5/20/2005 11:42:11 AM.013 VERBOSE [2] RecordingFactor.DeleteSheduledRecording()
5/20/2005 11:42:11 AM.028 VERBOSE [2] TryToAutoCorrectConflicts()
5/20/2005 11:42:11 AM.028 VERBOSE [2] RecordingFactory.loadSchedule()
5/20/2005 11:42:11 AM.028 VERBOSE [2] - loading: MythBusters status:4 start: 1/1/2001 12:00 AM
5/20/2005 11:42:11 AM.044 VERBOSE [2] - loading: MythBusters status:0 start: 5/22/2005 2:00 PM
5/20/2005 11:42:11 AM.044 VERBOSE [2] - loading: C:\test.mpg status:2 start: 5/25/2005 8:00 PM
5/20/2005 11:42:11 AM.044 VERBOSE [2] - loading: MythBusters status:0 start: 5/29/2005 2:00 PM
5/20/2005 11:42:11 AM.044 VERBOSE [2] - loading: C:\test.mpg status:2 start: 6/1/2005 8:00 PM
5/20/2005 11:42:11 AM.044 VERBOSE [2] - loading: MythBusters status:0 start: 6/1/2005 11:00 PM
5/20/2005 11:42:12 AM.138 VERBOSE [2] RecordingFactor.DeleteSheduledRecording()
5/20/2005 11:42:12 AM.153 VERBOSE [2] TryToAutoCorrectConflicts()
5/20/2005 11:42:12 AM.153 VERBOSE [2] RecordingFactory.loadSchedule()
5/20/2005 11:42:12 AM.153 VERBOSE [2] - loading: MythBusters status:4 start: 1/1/2001 12:00 AM
5/20/2005 11:42:12 AM.153 VERBOSE [2] - loading: MythBusters status:0 start: 5/22/2005 2:00 PM
5/20/2005 11:42:12 AM.169 VERBOSE [2] - loading: C:\test.mpg status:2 start: 5/25/2005 8:00 PM
5/20/2005 11:42:12 AM.169 VERBOSE [2] - loading: MythBusters status:0 start: 5/29/2005 2:00 PM
5/20/2005 11:42:12 AM.169 VERBOSE [2] - loading: C:\test.mpg status:2 start: 6/1/2005 8:00 PM

There are still TWO MythBusters episodes to delete from this list (5/22/2005 2:00 PM and 5/29/2005 2:00 PM).

Any way to get them out of there w/o having to re-run the rectracker -purge multiple times? Is this a bug?

Thanks!

Mike

jorm
2005-05-20, 05:15 PM
It could be a bug. Nobody has reported it. When you run purge and have this problem can you pipe the output to a file and paste it here. I want to know what it is doing.

mhuttinger
2005-05-20, 05:21 PM
Sure thing! I've reset my schedule back to my initial condition (basically re-downloaded my XMLTV listing, and letting gb-pvr re-schedule the recordings).

Here goes rectracker:



C:\Program Files\devnz\gbpvr>rectracker -purge
Command -purge
Purging 14 MythBusters Ping Pong Rescue
Purging 16 MythBusters Boom Lift Catapult

C:\Program Files\devnz\gbpvr>


Output from the rectracker.exe.log file:



5/20/2005 12:19:40 PM.328 VERBOSE [2] installDirectory is C:\Program Files\devnz\gbpvr\
5/20/2005 12:19:40 PM.328 VERBOSE [2] configurationFile is config.xml
5/20/2005 12:19:40 PM.344 VERBOSE [2] getValue() loading new key/value into cache: /settings/DatabaseConnectionString
5/20/2005 12:19:40 PM.344 VERBOSE [2] getValue: /settings/DatabaseConnectionString : Provider=Microsoft.Jet.OLEDB.4.0;Data Source=".\gbpvr.mdb";User Id=admin;Password=
5/20/2005 12:19:40 PM.344 VERBOSE [2] databaseConnectionString is Provider=Microsoft.Jet.OLEDB.4.0;Data Source="C:\Program Files\devnz\gbpvr\\gbpvr.mdb";User Id=admin;Password=
5/20/2005 12:19:40 PM.344 VERBOSE [2] getValue() loading new key/value into cache: /settings/DontAntiAlias
5/20/2005 12:19:40 PM.344 VERBOSE [2] getValue: /settings/DontAntiAlias : false
5/20/2005 12:19:40 PM.344 VERBOSE [2] getValue() loading new key/value into cache: /settings/LoggingLevel
5/20/2005 12:19:40 PM.344 VERBOSE [2] getValue: /settings/LoggingLevel : Debug
5/20/2005 12:19:40 PM.344 VERBOSE [2] SourceConfigurationContainer.LoadAll()
5/20/2005 12:19:40 PM.453 VERBOSE [2] creating DirectRecordingSource
5/20/2005 12:19:40 PM.453 VERBOSE [2] Loading DirectRecordingSource Configuration : 1
5/20/2005 12:19:40 PM.500 VERBOSE [2] creating DirectRecordingSource
5/20/2005 12:19:40 PM.500 VERBOSE [2] Loading DirectRecordingSource Configuration : 2
5/20/2005 12:19:40 PM.516 VERBOSE [2] About to connect to remote recording service
5/20/2005 12:19:40 PM.516 VERBOSE [2] getValue() loading new key/value into cache: /settings/RecordingServiceLocation
5/20/2005 12:19:40 PM.516 VERBOSE [2] getValue: /settings/RecordingServiceLocation : tcp://localhost:7968/RecordingRemote
5/20/2005 12:19:40 PM.547 VERBOSE [2] RecordingFactory.loadSchedule()
5/20/2005 12:19:40 PM.547 VERBOSE [2] - loading: MythBusters status:4 start: 1/1/2001 12:00 AM
5/20/2005 12:19:40 PM.547 VERBOSE [2] - loading: MythBusters status:0 start: 5/22/2005 2:00 PM
5/20/2005 12:19:40 PM.547 VERBOSE [2] - loading: C:\test.mpg status:2 start: 5/25/2005 8:00 PM
5/20/2005 12:19:40 PM.563 VERBOSE [2] - loading: MythBusters status:0 start: 5/25/2005 11:00 PM
5/20/2005 12:19:40 PM.563 VERBOSE [2] - loading: MythBusters status:0 start: 5/29/2005 2:00 PM
5/20/2005 12:19:40 PM.563 VERBOSE [2] - loading: C:\test.mpg status:2 start: 6/1/2005 8:00 PM
5/20/2005 12:19:40 PM.563 VERBOSE [2] - loading: MythBusters status:0 start: 6/1/2005 11:00 PM
5/20/2005 12:19:40 PM.578 VERBOSE [2] RecordingFactor.DeleteSheduledRecording()
5/20/2005 12:19:40 PM.594 VERBOSE [2] TryToAutoCorrectConflicts()
5/20/2005 12:19:40 PM.594 VERBOSE [2] RecordingFactory.loadSchedule()
5/20/2005 12:19:40 PM.594 VERBOSE [2] - loading: MythBusters status:4 start: 1/1/2001 12:00 AM
5/20/2005 12:19:40 PM.594 VERBOSE [2] - loading: MythBusters status:0 start: 5/22/2005 2:00 PM
5/20/2005 12:19:40 PM.594 VERBOSE [2] - loading: C:\test.mpg status:2 start: 5/25/2005 8:00 PM
5/20/2005 12:19:40 PM.594 VERBOSE [2] - loading: MythBusters status:0 start: 5/29/2005 2:00 PM
5/20/2005 12:19:40 PM.594 VERBOSE [2] - loading: C:\test.mpg status:2 start: 6/1/2005 8:00 PM
5/20/2005 12:19:40 PM.609 VERBOSE [2] - loading: MythBusters status:0 start: 6/1/2005 11:00 PM
5/20/2005 12:19:41 PM.688 VERBOSE [2] RecordingFactor.DeleteSheduledRecording()
5/20/2005 12:19:41 PM.703 VERBOSE [2] TryToAutoCorrectConflicts()
5/20/2005 12:19:41 PM.703 VERBOSE [2] RecordingFactory.loadSchedule()
5/20/2005 12:19:41 PM.703 VERBOSE [2] - loading: MythBusters status:4 start: 1/1/2001 12:00 AM
5/20/2005 12:19:41 PM.703 VERBOSE [2] - loading: MythBusters status:0 start: 5/22/2005 2:00 PM
5/20/2005 12:19:41 PM.719 VERBOSE [2] - loading: C:\test.mpg status:2 start: 5/25/2005 8:00 PM
5/20/2005 12:19:41 PM.719 VERBOSE [2] - loading: MythBusters status:0 start: 5/29/2005 2:00 PM
5/20/2005 12:19:41 PM.719 VERBOSE [2] - loading: C:\test.mpg status:2 start: 6/1/2005 8:00 PM


Hope this helps you out

mhuttinger
2005-05-20, 05:41 PM
Oops, quick note -- there actually are three INITIAL duplicate recordings (one of which I already "recorded"), so there really are only two duplicates of my one show (and one duplicate of the other).

Running the process MULTIPLE times eventually removes all duplicates as you can see below (first time, one duplicate of show #14 and #16, then next time the second duplicate of show #14):



C:\Program Files\devnz\gbpvr>rectracker -purge
Command -purge
Purging 14 MythBusters Ping Pong Rescue
Purging 16 MythBusters Boom Lift Catapult

C:\Program Files\devnz\gbpvr>rectracker -purge
Command -purge
Purging 14 MythBusters Ping Pong Rescue

C:\Program Files\devnz\gbpvr>rectracker -purge
Command -purge

C:\Program Files\devnz\gbpvr>

jorm
2005-05-20, 06:38 PM
mhuttinger,

Do you want to test the fix? email me jared_dubin at hotmail.com
and I will send you the update for you to test.

mhuttinger
2005-05-20, 06:50 PM
I'd be happy to give it a test. I just sent an email your way :)