NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 159 160 161 162 163 … 433 Next »
Duplicate Recordings

Duplicate Recordings
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#11
2015-09-26, 05:27 AM (This post was last modified: 2015-09-26, 05:32 AM by johnsonx42.)
sub, the dupes are coming from the new "find alternate showing on conflict" code. "Last Week Tonight With John Oliver" episodes EP01877254.0056 and EP01877254.0057 produce conflicts in their original timeslots. When it hunts down replacement episodes it eventually finds them on 9/28 @ 2:30pm and 10/5 @ 12:30am respectively, but doesn't see that it's already got them scheduled and creates dupes. I'm guessing the code that schedules the replacement recordings doesn't bother to check if they're duplicates, because the original scheduling routine should have seen that those two episodes were already scheduled and should never have created the conflict in the first place.

I believe it doesn't see that they're already scheduled because of the period in the Unique_id; you added code awhile back (at my behest) to disregard the period when comparing Unique_id's, to make them consistent between Schedules Direct and MC2XML/ZAP2XML and allow users to switch between the EPG sources. I think something's become inconsistent there with this new code, and it's creating the dupes because of it... probably the scheduled recording is put in the database without the period, but it's still using the period when it checks for the dupe (or vice-versa, I'm not sure which way it goes).

relevant portion of log attached.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
TRiddle
Offline

Junior Member

Posts: 24
Threads: 2
Joined: Aug 2015
#12
2015-09-30, 05:55 PM
Seeing this same behavior. I have about 10 instances of every Fear The Walking Dead episode because it is a lower priority, thus gets the "find alternate showing on conflict" code. I view it as a minor hiccup at this point, because I still prefer the new logic versus creating timeslot timers.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#13
2015-09-30, 06:10 PM
what is your epg source?

if you're using an xmltv file, can you post one?
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
TRiddle
Offline

Junior Member

Posts: 24
Threads: 2
Joined: Aug 2015
#14
2015-09-30, 06:22 PM
I use SD. When I get home, I'll pull a copy of it for you and post it.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#15
2015-09-30, 06:35 PM
ok, then my theory about what why the duplicates aren't being detected is wrong, it must not have anything to do with the dot in the unique_id (since SD doesn't have them). I'm sure it's the conflict alternative code that's creating them, but after the first time through the regular scheduling code should see that they're already scheduled and not try to schedule them again (therefore not create the conflict, therefore the conflict alternative code won't fire and create another recording)
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
jghanisco
Offline

Member

Posts: 104
Threads: 22
Joined: Dec 2012
#16
2015-10-03, 01:46 AM
Ah, so this is what I've also been running into. Thanks for showing that it's not just me that this is occurring to! I use zap2xml to pull the guide...
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#17
2015-10-03, 08:25 AM
i have raised this as a bug to be fixed for 3.6.x, not sure when it will be though.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#18
2015-10-15, 12:03 AM
got a wild hair to look into this today, and found the real source of the duplicates has nothing to do with dots/no-dots in the Unique_ID, nor anything directly to do with the "conflict alternative airing" code itself, rather use of that code exposes a bug elsewhere...

the "avoid duplicates" logic doesn't detect episodes already set to record on a different channel

This subject has come up before, and there was logic created along with a config.xml setting " <AllowCrossChannelDuplicates>false</AllowCrossChannelDuplicates>", however it's not working, or at least it's not working in this scenario.

the issue can be recreated without any use of the "conflict alternative airing" feature, assuming you have the right EPG data available:

1. find a show that airs the same episodes on multiple channels... usually either east/west feeds or sister-station relationships; for my testing I used Seinfeld which airs the same pair of episodes on KCOP at 10pm and KDOC at 11pm.

2. schedule single recordings of one or more episodes on one channel (in my case I chose the two episodes airing on KDOC)

3. now schedule a recurring recording on the other channel (KCOP in my case)

4. after scheduling, you will find that the recurring recording scheduled duplicates of those already scheduled on the other channel.

this effect is compounded by the "conflict alternative airing" logic, as it doesn't check for duplicates (it shouldn't need to) so it keeps creating more recordings to resolve the conflict the regular scheduler should never have created in the first place.

this problem was not revealed in my original testing of the "conflict alternative airing" feature, as my test case was America's Got Talent which aired an encore of the weekly live show later in the week on the same channel.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
Handy.Man
Offline

Senior Member

Montréal, Québec, Canada
Posts: 423
Threads: 41
Joined: Oct 2012
#19
2015-10-15, 12:51 AM (This post was last modified: 2015-10-15, 12:57 AM by Handy.Man.)
johnsonx42 Wrote:1. find a show that airs the same episodes on multiple channels... usually either east/west feeds or sister-station relationships; for my testing I used Seinfeld which airs the same pair of episodes on KCOP at 10pm and KDOC at 11pm.

My problem happen on only one channel. I have only 8 ATSC channels in EPG from different broadcasters.

It looks like the logic for "Avoid duplicate recordings where possible" does not detect these duplicates.
Server : NextPVR 4.2.3 Intel Core2 Quad Q6600 @2.4GHz 8GB Win7Pro, Hauppauge HVR-2250 Dual Tuner, DIAMOND ATI Theater HD 750 USB TV Tuner, Homemade fractal antenna, SchedulesDirect EPG.
Client : NextPVR 4.2.3 Intel I7-2600K @4.5GHz 8GB, Radeon HD6800, Win7Pro
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#20
2015-10-15, 12:52 AM
sorry, I don't see any way it can happen on the same channel.

(I mean to say, yours will have to be investigated as a different problem, it's not related to this)
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Failed recordings won't delete Spid4567 3 2,419 2023-07-14, 10:13 PM
Last Post: ZeDoZ
  All my recordings start 90 sec early ncsercs 2 1,334 2022-03-19, 03:28 AM
Last Post: sub
  Wake - Sleep Interaction -> Failed Recordings mikeh49 48 14,339 2021-03-21, 11:21 PM
Last Post: careads
  Most recordings are zero bytes virtualpaul 4 2,012 2021-01-29, 12:55 PM
Last Post: virtualpaul
  Recordings with Next PVR 4.2.5 (CL0116) have background music but no voice in record DavidF 4 2,049 2021-01-07, 08:47 AM
Last Post: sub
  Recordings not playing in browser FamilyGuyFan 1 1,413 2020-10-22, 10:18 PM
Last Post: mvallevand
  Recordings 1 minute off BobbyDing 7 2,750 2020-10-11, 08:07 PM
Last Post: mvallevand
  easy tools to remove adverts in recordings? V_J 6 3,940 2020-10-06, 02:37 AM
Last Post: Ehrlichia
  Black screen, no audio, & zero bit recordings mattman1968 1 1,541 2020-09-15, 12:19 AM
Last Post: mattman1968
  Recordings Date Format NumberFive 3 2,004 2020-05-14, 11:08 PM
Last Post: NumberFive

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

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

Linear Mode
Threaded Mode