Project

General

Profile

Bug #4944

Autorec is not working after code epg changes

Added by Pablo Zerón over 6 years ago. Updated over 6 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
EPG
Target version:
-
Start date:
2018-02-16
Due date:
% Done:

100%

Estimated time:
Found in version:
4.3-1071~gba38add
Affected Versions:

Description

Since last changes the autorec rule is not working, I think is related to the function "epg_broadcast_get_title", because in the epg trace the title is null.

2018-02-16 12:27:07.633 [ TRACE]:epg: added event 67109124 ((null)) on AMC HD @ 2018-02-19;01:28:00(+0100) to 2018-02-19;03:13:00(+0100) (grabber /usr/bin/tv_grab_test)
2018-02-16 12:27:07.633 [ TRACE]:epg: eo [0x2599078, 67109124, 1] getref 2
2018-02-16 12:27:07.633 [ TRACE]:epg: eo [0x2599078, 67109124, 1] putref 1
2018-02-16 12:27:07.633 [ TRACE]:epg: eo [0x2599c78, 67109125, 1] updated
2018-02-16 12:27:07.633 [ TRACE]:epg: eo [0x2599c78, 67109125, 1, /usr/bin/tv_grab_test, /usr/bin/tv_grab_test] deserialize
2018-02-16 12:27:07.633 [ TRACE]:epg: eo [0x2599c78, 67109125, 1] created
2018-02-16 12:27:07.633 [ TRACE]:epg: eo [0x2599c78, 67109125, 1] getref 1


Files

Autorecord.jpg (167 KB) Autorecord.jpg Pablo Zerón, 2018-02-16 17:40

History

#1

Updated by Jaroslav Kysela over 6 years ago

The title is updated later for xmltv. You won't see any titles in EPG if this field is not imported correctly.

#2

Updated by Pablo Zerón over 6 years ago

You are right, I see all titles in the epg tab, if you need some traces to fix it, say me it.

Them something is wrong with the autorec rule.

Thanks.

#3

Updated by Nihil Baxter over 6 years ago

Same here, using only eit epg, but autorec didnt set recordings and deletes some that was in recording list before. Back to build 1054 and it works again...

#4

Updated by Jaroslav Kysela over 6 years ago

Do you use only title filter in autorecs or serieslink ?

#5

Updated by Pablo Zerón over 6 years ago

Hi, I use xmltv to fetch the epg data, and the autorec rules are configured to match the title and record only if the subtitle is different "All: Record if different subtitle"

#6

Updated by Jaroslav Kysela over 6 years ago

Is serieslink empty (it's probably only visible if you edit the one autorec entry in the dialog and expand the read-only fields).

#7

Updated by Pablo Zerón over 6 years ago

The autorec dialog don't have read-only fields, so I can't check serieslink, I'm sorry.

#8

Updated by Pablo Zerón over 6 years ago

I will add the serieslink field to the dvr.js and recompile, give some minutes.

#9

Updated by Pablo Zerón over 6 years ago

I can confirm that in all autorec entries, the serieslink field is empty.

#10

Updated by Pablo Zerón over 6 years ago

After some test the function dvr_entry_create_by_autorec thinks that all events are the same so in the "if (de->de_bcast == e || epg_episode_match(de->de_bcast, e))", the "epg_episode_match(de->de_bcast, e)" always return true, if I remove it from the code the autorecs start to work again.

I know this isn't a soluction but is a clue.

#11

Updated by Jaroslav Kysela over 6 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset commit:tvheadend|d9f9efa91239f27ab5b3175d2773815fb6bd66cd.

#12

Updated by Jaroslav Kysela over 6 years ago

Thanks for the analysis.

#13

Updated by Pablo Zerón over 6 years ago

I can confirm that is fixed for me. thanks.

Also available in: Atom PDF