Project

General

Profile

Bug #5591

spurious extra recording scheduled

Added by Dave H almost 3 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
PVR / DVR
Target version:
-
Start date:
2019-04-03
Due date:
% Done:

0%

Estimated time:
Found in version:
4.2.6
Affected Versions:

Description

I have an autorec to record the Agent Carter series on Paramount. It works fine. Today I noticed an upcoming recording for an episode of Wynonna Earp, which immediately follows Agent Carter. The upcoming recording is automatic and alleges that it is required/authorised by the autorec for Agent Carter. I cannot think of any explanation other than a bug. Here's the evidence I've discovered; feel free to ask for more.

# pwd
/var/lib/tvheadend/config
# grep -r Wynonna *
dvr/log/53490555c8f1b200516fa24ef64ec84c:        "eng": "Wynonna Earp" 
Binary file epgdb.v2 matches
# grep -r 'Agent Carter' *
dvr/log/8c432d8b351dbc4cfe37dc195c09930a:        "eng": "New: Agent Carter" 
dvr/autorec/50eb7087a3eb253586e13628b147e749:    "title": "Agent Carter",
Binary file epgdb.v2 matches

Contents of dvr/log/53490555c8f1b200516fa24ef64ec84c:

# ls -l dvr/log/53490555c8f1b200516fa24ef64ec84c
-rw------- 1 hts video 1074 Apr  2 13:00 dvr/log/53490555c8f1b200516fa24ef64ec84c

{
    "enabled": true,
    "start": 1554411600,
    "start_extra": 0,
    "stop": 1554415200,
    "stop_extra": 0,
    "channel": "75d76db8d13d3e041fd2068bf94f65a9",
    "channelname": "Paramount Network",
    "title": {
        "eng": "Wynonna Earp" 
    },
    "subtitle": {
        "eng": "Supernatural western drama series. A careless attempt at vengeance causes steadfast companions to become blood enemies, after a wish goes awry. (S2 Ep 11)" 
    },
    "description": {
        "eng": "Supernatural western drama series. A careless attempt at vengeance causes steadfast companions to become blood enemies, after a wish goes awry. (S2 Ep 11)" 
    },
    "pri": 2,
    "retention": 0,
    "removal": 0,
    "playposition": 0,
    "playcount": 0,
    "config_name": "c8748fb66bc1e566107c88bb6167f2a6",
    "creator": "127.0.0.1",
    "errorcode": 0,
    "errors": 0,
    "data_errors": 0,
    "dvb_eid": 9557,
    "noresched": false,
    "norerecord": false,
    "fileremoved": 0,
    "autorec": "50eb7087a3eb253586e13628b147e749",
    "timerec": "",
    "parent": "",
    "child": "",
    "content_type": 0,
    "broadcast": 14495,
    "comment": "Auto recording: Created from EPG query" 
}

Content of dvr/log/8c432d8b351dbc4cfe37dc195c09930a:

# ls -l dvr/log/8c432d8b351dbc4cfe37dc195c09930a
-rw------- 1 hts video 1099 Apr  2 13:00 dvr/log/8c432d8b351dbc4cfe37dc195c09930a

{
    "enabled": true,
    "start": 1554408000,
    "start_extra": 0,
    "stop": 1554411600,
    "stop_extra": 0,
    "channel": "75d76db8d13d3e041fd2068bf94f65a9",
    "channelname": "Paramount Network",
    "title": {
        "eng": "New: Agent Carter" 
    },
    "subtitle": {
        "eng": "Period sci-fi drama from the MCU. As Peggy plots a rescue mission, Whitney hunts for even more dark power. Jarvis should not make promises he cannot keep. (S2 Ep 7)" 
    },
    "description": {
        "eng": "Period sci-fi drama from the MCU. As Peggy plots a rescue mission, Whitney hunts for even more dark power. Jarvis should not make promises he cannot keep. (S2 Ep 7)" 
    },
    "pri": 2,
    "retention": 0,
    "removal": 0,
    "playposition": 0,
    "playcount": 0,
    "config_name": "c8748fb66bc1e566107c88bb6167f2a6",
    "creator": "127.0.0.1",
    "errorcode": 0,
    "errors": 0,
    "data_errors": 0,
    "dvb_eid": 9556,
    "noresched": false,
    "norerecord": false,
    "fileremoved": 0,
    "autorec": "50eb7087a3eb253586e13628b147e749",
    "timerec": "",
    "parent": "",
    "child": "",
    "content_type": 0,
    "broadcast": 14058,
    "comment": "Auto recording: Created from EPG query" 
}

Content of dvr/autorec/50eb7087a3eb253586e13628b147e749:

{
    "enabled": true,
    "title": "Agent Carter",
    "fulltext": false,
    "channel": "75d76db8d13d3e041fd2068bf94f65a9",
    "tag": "",
    "btype": 0,
    "content_type": 0,
    "start": "Any",
    "start_window": "Any",
    "start_extra": 0,
    "stop_extra": 0,
    "weekdays": [
        1,
        2,
        3,
        4,
        5,
        6,
        7
    ],
    "minduration": 0,
    "maxduration": 0,
    "pri": 2,
    "record": 0,
    "retention": 0,
    "removal": 0,
    "maxcount": 0,
    "maxsched": 0,
    "config_name": "c8748fb66bc1e566107c88bb6167f2a6",
    "brand": "",
    "season": "",
    "serieslink": "crid://www.five.tv/R0J67",
    "creator": "127.0.0.1",
    "comment": "Created from EPG query" 
}

Extracts from epgdb.v2 (I don't understand why some episodes have two stanzas and others only have one - the TVH web UI list two episodes of Agent Carter(one new, one repeat) and four episodes of Wynonna Earp (three different on two channels, and one repeat)):

{ u'epnum': { },
  u'grabber': u'eit',
  u'id': 5799,
  u'subtitle': { u'eng': u'Period sci-fi drama from the MCU. As Peggy plots a rescu
e mission, Whitney hunts for even more dark power. Jarvis should not make promises 
he cannot keep. (S2 Ep 7)'},
  u'title': { u'eng': u'New: Agent Carter'},
  u'type': 3,
  u'updated': 1554297526,
  u'uri': u'crid://www.five.tv/V43XKON'}

{ u'epnum': { },
  u'grabber': u'eit',
  u'id': 9287,
  u'subtitle': { u'eng': u'Vampire western drama series. Wynonna rallies her pals to put their differences aside - but can they save their beloved town from biting the dust? (S2 Ep 6)'},
  u'title': { u'eng': u'Wynonna Earp'},
  u'type': 3,
  u'updated': 1553978771,
  u'uri': u'crid://www.five.tv/V3JE4BA'}
{ u'epnum': { },
  u'grabber': u'eit',
  u'id': 10476,
  u'subtitle': { u'eng': u'Supernatural western drama series. As the Widows and their paralysing poison grow in power, it is only a matter of time before Team Wynonna have a deadly encounter. (S2 Ep 10)'},
  u'title': { u'eng': u'Wynonna Earp'},
  u'type': 3,
  u'updated': 1553978774,
  u'uri': u'crid://www.five.tv/V3JE4BE'}
{ u'epnum': { },
  u'grabber': u'eit',
  u'id': 49809,
  u'subtitle': { u'eng': u'Supernatural western drama series. A careless attempt at vengeance causes steadfast companions to become blood enemies, after a wish goes awry. (S2 Ep 11)'},
  u'title': { u'eng': u'Wynonna Earp'},
  u'type': 3,
  u'updated': 1554253446,
  u'uri': u'crid://www.five.tv/V3JE4BF'}

{ u'channel': u'75d76db8d13d3e041fd2068bf94f65a9',
  u'dvb_eid': 9526,
  u'episode': u'crid://www.five.tv/V3JE4BE',
  u'grabber': u'eit',
  u'id': 10474,
  u'is_widescreen': 1,
  u'serieslink': u'crid://www.five.tv/R0GID',
  u'start': 1554332100,
  u'stop': 1554335700,
  u'summary': { u'eng': u'Supernatural western drama series. As the Widows and their paralysing poison grow in power, it is only a matter of time before Team Wynonna have a deadly encounter. (S2 Ep 10)'},
  u'type': 4,
  u'updated': 1553978774}

{ u'channel': u'e0c93c5bf73701d3f876061294fbb13a',
  u'dvb_eid': 37344,
  u'episode': u'crid://www.five.tv/V3JE4BA',
  u'grabber': u'eit',
  u'id': 9285,
  u'is_widescreen': 1,
  u'serieslink': u'crid://www.five.tv/R4GID',
  u'start': 1554337500,
  u'stop': 1554341100,
  u'summary': { u'eng': u'Vampire western drama series. Wynonna rallies her pals to put their differences aside - but can they save their beloved town from biting the dust? (S2 Ep 6)'},
  u'type': 4,
  u'updated': 1553978771}

History

#1

Updated by Joe User almost 3 years ago

I see this after every daylight saving time change. It occurs due to bad EIT data from the provider.
It appears that program X is mis-scheduled one hour later (or earlier in the fall...) when program Y is really scheduled. Later, the correct EIT data is sent and then program X is scheduled at it's correct time, but the original (bad data) scheduled recording is not removed, instead the updated EIT data is used to correctly title the (bad data) recording with it's real title (program Y).

Also available in: Atom PDF