NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) XSuite (Xrecord, XSearch, XGuide, CDK Scheduler) v
« Previous 1 2 3 4 Next »
Xrecord wacky behavior- repetitive entries

 
  • 0 Vote(s) - 0 Average
Xrecord wacky behavior- repetitive entries
XJW
Offline

Senior Member

Posts: 286
Threads: 41
Joined: Oct 2008
#11
2009-01-25, 03:14 AM
Great solution. XRECORD is a superb tool - essential as it provides the ability to record shows based on a partial string. But I too was seeing many duplicate recordings of the same show in the same timeslot. Adding "DeleteSchedule.exe" before "PriorityRecording.exe" in the PostUpdateEPG.bat file fixed it. Is this something that could be added to the installation instructions in the WIKI ? It took me a while to find this fix.
fla
Offline

Posting Freak

Posts: 876
Threads: 45
Joined: Mar 2006
#12
2009-01-25, 11:08 PM (This post was last modified: 2009-02-07, 04:42 PM by fla.)
I never use DeleteSchedule.exe and never get duplicates. I think that's a workaround hiding a possible bug. Attached is a RecordingUtils.dll that prints more debug information to the console. Save the original RecordingUtils.dll and put this one in the gbpvr directory and run PriorityRecording.exe.

The first time I run PriorityRecording.exe with no pending recordings the pAddProgramList debug message says "adding".
Code:
C:\Program Files\devnz\gbpvr>PriorityRecording.exe
CDK Priority Recording Scheduler.
Version 1.0.1
...using System.Data.SQLite.SQLiteFactory DB Provider Factory
60 minutes has 1 potential recording(s).
getScheduleMatch: searching for programOID 3988 in 0 recordings
getScheduleMatch: not found, returning new recording
pAddProgramList: adding new "60 minutes" recording to list
60 Minutes is being recorded from 1/25/2009 7:00:00 PM to 1/25/2009 8:00:00 PM on capture source 1

The subsequent PriorityRecording.exe runs have pAddProgramList debug message saying "replacing".
Code:
C:\Program Files\devnz\gbpvr>PriorityRecording.exe
CDK Priority Recording Scheduler.
Version 1.0.1
...using System.Data.SQLite.SQLiteFactory DB Provider Factory
getScheduleMatch: searching for programOID 3988 in 0 recordings
getScheduleMatch: not found, returning new recording
pAddScheduled: adding new recording to list
60 minutes has 1 potential recording(s).
getScheduleMatch: searching for programOID 3988 in 1 recordings
getScheduleMatch: comparing 3988 to 3988
getScheduleMatch: found! Has scheduleOID = 6
pAddProgramList: replacing existing "60 minutes" recording in list
60 Minutes is being recorded from 1/25/2009 7:00:00 PM to 1/25/2009 8:00:00 PM on capture source 1
It would be great if you could run PriorityRecording.exe a few times and reproduce this "bug" and post the output. Sharing the PriorityRecordings.xml and the Config.xml would help me reproduce the problem here.

Thanks.

PS. I also found the CDK Scheduler portion of XSuite to be a hidden jewel of gbpvr use. All the credit goes to KingArgyle, I'm just keeping it alive since it would be a shame to let a cool tool like this die.
XJW
Offline

Senior Member

Posts: 286
Threads: 41
Joined: Oct 2008
#13
2009-02-07, 02:37 AM
Fla,

Many thanks for your time and continued support for this tool. And yes - thanks to KingArgyle for CDK Scheduler. I have attached the files as requested and confirmed that each time priorityrecording is run it adds more duplicate entries to the pending list.

Regards
XJW
fla
Offline

Posting Freak

Posts: 876
Threads: 45
Joined: Mar 2006
#14
2009-02-07, 05:08 PM (This post was last modified: 2009-02-14, 03:32 PM by fla.)
Thanks for the excellent logs. It's definitely a bug(s) in RecordingUtils while loading the recording_schedule table. I found that if one record had an empty programme_oid field the entire table loading was skipped. I've changed it so that only those particular records are skipped.

I've attached the fixed RecordingUtils.dll. Please let me know if that fixes the problem. If not, there could be another bug. I'd need the same output as last time but also gbpvr.db3. I'll pm you my email address so you could send it through http://www.transferbigfiles.com/ or something. Instead of sending gbpvr.db3, if you're the technical type what I really need to see is the output of mysql query:
Code:
select * from recording_schedule where status = 0 or status = 5 order by status
Thanks again for helping get to the bottom of this. If the loading of the database is not working, you're not getting the full CDK Scheduler functionalty so it's worth solving this.

Oh if it does work let us know, I'll remove the debug messages and post a new version with the fix.
XJW
Offline

Senior Member

Posts: 286
Threads: 41
Joined: Oct 2008
#15
2009-02-13, 08:39 AM (This post was last modified: 2009-02-13, 08:47 AM by XJW.)
Fla,

Many thanks.

I ran PriorityRecording 3 times and confirmed that I was still getting duplicates. Then I ran deleteschedule and replaced RecordingUtils.dll with the one in your attachment and then repeated the test. No duplicates ! It works nicely.

Again many thanks for your continued support of this great tool !
fla
Offline

Posting Freak

Posts: 876
Threads: 45
Joined: Mar 2006
#16
2009-02-14, 03:45 PM
Terrific! This issue has been around for over three years. The wiki version now includes the database loading fix without all the debug messages. Note that some users with poor EPG data may still need DeleteSchedule.exe.

Thanks for your help in getting this fixed.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  XRECORD for NPVR? jksmurf 15 19,501 2011-04-26, 11:12 PM
Last Post: isgdre
  Request for Xrecord - Multiple-Show Single-Action Archive? jksmurf 5 6,309 2010-03-28, 02:38 PM
Last Post: fla
  Xrecord doesn't comskip in Videos or Movies Screens? jksmurf 2 5,653 2010-02-21, 05:21 AM
Last Post: jksmurf
  XRecord - Watched too much? isgdre 3 5,843 2009-11-29, 03:58 AM
Last Post: isgdre
  XRecord-Fonts and password protection dshoup 39 26,205 2009-09-24, 12:12 PM
Last Post: dshoup
  XRecord - and Max Recordings to Keep? pmularien 5 6,736 2009-09-09, 04:05 AM
Last Post: KingArgyle
  Xrecord jumping up a level on wake from Screenaver? jksmurf 6 7,217 2009-07-18, 12:00 AM
Last Post: jksmurf
  Xrecord request SORT and VIEW jksmurf 13 12,284 2009-05-05, 05:29 AM
Last Post: jksmurf
  XRecord skinning-images & aspect ratio dshoup 6 7,506 2009-04-19, 12:08 PM
Last Post: dshoup
  QAM scheduling questions with Xrecord arkennedy75 1 5,477 2009-04-15, 12:46 PM
Last Post: fla

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode