2010-09-22, 06:13 PM
To be honest, I have no idea how this NEWA key word search works then.
2010-09-22, 06:13 PM
To be honest, I have no idea how this NEWA key word search works then.
2010-09-22, 11:49 PM
sub Wrote:To be honest, I have no idea how this NEWA key word search works then. sub...this is not related to the auto-search/record (keyword) that is mentioned. That simply does a search for the words entered and gets a list of EPGEVentOID's and then loads an array of EPGEvents via EPGEvent.LoadByOID(oid)....then does it loads a list of scheduled recordings (Event.OID's from the Scheduled Recording Object) and if the OID of the Event from the search is not found in the list then the Event is scheduled. this process loops (get list of recordings, check for Event OID and if not found schedule recording) until there are no more Events in the array from the search. What is happening here is the Event is getting into the EPG, then the auto-search runs and schedules the recording for that Event. Then somehow the same Event is loaded again to the EPG (it gets a new EPGEvent OID), the auto-search/record runs, a match is found and the new event is scheduled since the EPGEvent has a different OID that the one that was originally scheduled......now there are two scheduled recordings.....one for each unique EPGEvent OID that is in the EPG. Make sense?
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE Windows 10 Pro x64 PVR Software: NPVR 5.1.1 SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner Roku Ultra 2 PCH A-100's
2010-09-23, 02:56 AM
UncleJohnsBand Wrote:sub...this is not related to the auto-search/record (keyword) that is mentioned. That simply does a search for the words entered and gets a list of EPGEVentOID's and then loads an array of EPGEvents via EPGEvent.LoadByOID(oid)....then does it loads a list of scheduled recordings (Event.OID's from the Scheduled Recording Object) and if the OID of the Event from the search is not found in the list then the Event is scheduled. this process loops (get list of recordings, check for Event OID and if not found schedule recording) until there are no more Events in the array from the search.Do all these duplicates appear in one go, or does an extra one appear after each EPG update? Remember, when an EPG update occurs, the old contents of the EPG_EVENT table are effectively deleted, and the new EPG listings are inserted. At this stage the EPG events will almost certainly have different OID's than they had in the past.
The duplicates appear over time. Initially there will be just one recording scheduled in the pending list. Then day by day the number of duplicates in the pending list increases. I think there is more to it than this as I dont believe the number of duplicates increases with every EPG update. I will do some more tests with a manual EPG update and let you know.
------------------------------------------------------------------------------------------- ok - i have run update EPG 8 times from Settings and not seen an additional duplicate added to the pending list. I ran empty epg on 4 occasions prior to running an update epg to see if that made a difference. Let me know if there are other tests that may help isolate. My pending recordings list still includes many items with up to 6 duplicates. Can you ignore the epgevent oid and filter based on channel/time/title ? If channel/time/title are the same then discard the recordings for the old epg entries. As some of the duplicates have slightly different start times (usually less than 10 mins) you may need to specify a range and check that they are overlapping recordings.
2010-09-23, 12:51 PM
I have seen EPG/pending recording duplicates if:
a) I have a pending recording for a show e.g. 5:30 - 6:00 every week day - set via a 'Record all shows on this channel' NPVR setting. b) Some time after the pending recordings are put in the schedule, an EPG update modifies the start time & end time of some of the scheduled shows slightly - last time it was 2 episodes out of the 5 pending. Then I see: 5:32 - 6:00 as a pending recording as well as 5:30 - 6:00 & heaps of duplicates in the EPG data - i.e. after one update. I have been emptying the EPG & manually removing the duplicate pending recordings to fix the problem. It's like the slightly modified times aren't handled properly & throw everything else out of whack. It's likely to happen again over the w/e when the EPG times for the week are updated. If there is anything in particular I should look for/log, please let me know.
2010-09-23, 04:28 PM
Yeah, I think you two are seeing entirely different issues.
XJW, I think NEWA is incorrectly relying on the EPG Event OID not changing, when infact it's going to change with every EPG update. UJB, it might be worth changing NEWa to using the new API for keyword scheduling instead (as used by the Manual Recording screen in the Recordings screen), since this works more like a regular season recording and will auto delete and reschedule them all with each EPG update. Servalan, I think the app isnt gracefully handling the EPG show's times moving slightly, and ends up with duplicate listings in the EPG. It should right itself at the next EPG Update though, since it deletes all the listings(and all the pending season recording episodes), and reinserts all the new listings, and reschedules the season recordings based on the new listings. There should be no diplicates at that stage.
2010-09-24, 03:19 AM
Tonite I recorded 2 shows and both recorded duplicates. This happened before with only 1 show but I thought I had accidentally scheduled it twice. I know tonite's recordings were not scheduled twice.
I have used NEWA to 'Get Cover' for both of the shows recorded and when getting the Cover, and exiting, it shows that it was saving the search. Paul Custom ASUS Maximus X Hero, 16 GB Memory-ASUS GeForce 1050 Ti, H115i Pro AIO, 850W PS, CM H500P case, Corsair Vengeance RGB Ram, Samsung 970 EVO, HDHomerun Prime & Extend Tuners- running Windows 10 (and other goodies)
2010-09-24, 03:39 AM
sub Wrote:XJW, I think NEWA is incorrectly relying on the EPG Event OID not changing, when infact it's going to change with every EPG update. UJB, it might be worth changing NEWa to using the new API for keyword scheduling instead (as used by the Manual Recording screen in the Recordings screen), since this works more like a regular season recording and will auto delete and reschedule them all with each EPG update. I don't fully understand the link with the oid because NEWA doesn't actually use it's own table, the only information it keeps is similar to the manual recording, a sting with some conditions. Martin
2010-09-24, 05:41 AM
UJB and I exchanged some PMs on the subject earlier today, and we'll try to work through it.
2010-09-25, 07:14 PM
(This post was last modified: 2010-09-25, 07:55 PM by UncleJohnsBand.)
sub Wrote:Yeah, I think you two are seeing entirely different issues. pcostanza Wrote:Tonite I recorded 2 shows and both recorded duplicates. This happened before with only 1 show but I thought I had accidentally scheduled it twice. I know tonite's recordings were not scheduled twice. XJW, Servalan and pcostanza try the attached patch. sub and I worked through how NVPR is processing the EPG load and setting recordings in comparison to what the auto-search/record is providing/doing. This patch should address (hopefully) both the issue of the dup recordings as well as the scheduled recordings not showing on the Guide page. This will not help anything already set as a duplicate recording but should prevent any future ones from occurring. Let me know. Edit: Had to update the patch file.....
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE Windows 10 Pro x64 PVR Software: NPVR 5.1.1 SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner Roku Ultra 2 PCH A-100's |
|