Project

General

Profile

Feature #602

XMLTV Grabbers with no stop time = 0 events injected

Added by Phill Lavender over 13 years ago. Updated over 12 years ago.

Status:
Rejected
Priority:
Low
Assignee:
Category:
EPG - Grabbers
Target version:
Start date:
2011-07-11
Due date:
% Done:

0%

Estimated time:

Description

Ok. This has been raised in the past but I think it could be made a nice feature request.

Condition: If you run an xmltv grabber that either doesn't grab stop times or the provider does list them, the output xml isn't compatible with tvheaded and results in 0 events injected condition. (quite common based on the forums)

Option: tv_sort can be used to add stop-times by computing from the start time of the next program, but it will take longer.

Feature Request: Add a check-box to the UI to allow tv_sort to be invoked by the user.

Code wise, pipe the stdout from the grabber to stdin of tv_sort so that &outbuf from spawn_and_store_stdout in xmltv.c contains the stdout of tv_sort.

History

#1

Updated by Adam Sutton over 12 years ago

  • Status changed from New to Rejected

If stop time is missing then that is an upstream issue and I think using tv_sort (as suggested) is the right approach. Or just bug the original script author to fix their script!

However the suggested change will not be implemented.

Instead the new EPG grabber code will allow XMLTV data to be fed into TVHeadend (via a unix domain socket), thus making it possible to have more complex control of how XMLTV is inserted (cronjobs, pipelines like suggested here, etc...).

This code is currently available on my fork github.com/adamsutton/tvheadend and should be merged into the main code this week.

Adam

Also available in: Atom PDF