NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) NextPVR Enhanced Web Admin (NEWA) v
« Previous 1 … 16 17 18 19 20 47 Next »
Duplicate Simultaneous Recordings - NEWA

 
  • 0 Vote(s) - 0 Average
Duplicate Simultaneous Recordings - NEWA
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#11
2010-09-22, 06:13 PM
To be honest, I have no idea how this NEWA key word search works then.
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#12
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
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#13
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.

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?
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.
XJW
Offline

Senior Member

Posts: 286
Threads: 41
Joined: Oct 2008
#14
2010-09-23, 10:04 AM (This post was last modified: 2010-09-23, 11:26 AM by XJW.)
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.
servalan
Offline

Junior Member

Posts: 48
Threads: 8
Joined: Aug 2010
#15
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.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#16
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.
pcostanza
Offline

Posting Freak

Posts: 3,778
Threads: 270
Joined: Oct 2004
#17
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)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,869
Threads: 954
Joined: May 2006
#18
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
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#19
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.
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#20
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.

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.

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.
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.

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
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (6): « Previous 1 2 3 4 5 6 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Broken X-NEWA Info Link on NextPVR.com cweseloh 4 2,667 2020-05-02, 01:02 AM
Last Post: cweseloh
  gbpvr.com still somewhere in the NEWA code? jksmurf 0 2,059 2019-02-26, 01:29 AM
Last Post: jksmurf
  Can't stream existing recordings Bobins 44 15,385 2018-07-18, 08:19 PM
Last Post: sub
  NEWA scheduled recording update ability broken in 4.2.2 snagglewest 0 2,014 2018-07-11, 12:12 AM
Last Post: snagglewest
  Where does NEWA read the Show name from in the NEWA Web App? jksmurf 3 3,097 2018-07-03, 03:26 AM
Last Post: jksmurf
  Newa snaitaz 8 4,670 2018-05-17, 09:30 PM
Last Post: sub
  NEWA Auto-Search Command Line Interface (CLI) UncleJohnsBand 40 37,575 2018-05-09, 12:50 AM
Last Post: jksmurf
  NEWA modern "NEW" page missing urls??? snagglewest 3 3,392 2017-12-03, 12:48 AM
Last Post: snagglewest
  Difference between NPVR and NEWA recordings lists Bobins 4 5,076 2017-09-27, 10:16 PM
Last Post: Bobins
  Legacy NEWA stu2j 4 4,521 2017-07-19, 12:21 AM
Last Post: stu2j

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

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

Linear Mode
Threaded Mode