Bug #4944
Autorec is not working after code epg changes
100%
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
History
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.
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.
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...
Updated by Jaroslav Kysela over 6 years ago
Do you use only title filter in autorecs or serieslink ?
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"
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).
Updated by Pablo Zerón over 6 years ago
- File Autorecord.jpg Autorecord.jpg added
The autorec dialog don't have read-only fields, so I can't check serieslink, I'm sorry.
Updated by Pablo Zerón over 6 years ago
I will add the serieslink field to the dvr.js and recompile, give some minutes.
Updated by Pablo Zerón over 6 years ago
I can confirm that in all autorec entries, the serieslink field is empty.
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.
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.