Feature #699
configurable options for the xmltv grabbers
| Status: | Fixed | Start date: | 09/12/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% | |
| Category: | - | |||
| Target version: | - |
Description
Looking at the code of tvheadend, it seems that the tv-grabbers are invoked without any option getting the xml-output to parse. It would be useful to let the users to configure additional options to pass. For example, it could allow the use of cache on a file or other specific options of the grabbers.
History
#1
Updated by Hein Rigolo over 1 year ago
as a work around you can use tv_grab_file (http://code.google.com/p/tv-grab-file/) as the "grabber". This is a simple script that was specifically created to just load a valid xmltv file into tvheadend.
So the real grabber is invoked using cron or any other means and that generates a valid xmltv file. This file is place in a specific location (~/.xmltv/tv_grab_file.xmltv) and then tv_grab_file can pick up that file and hand it to tvheadend.
#2
Updated by Mario . over 1 year ago
Thanks for the hit. I'm already using a similar trick. I still think that this would be a nice option to get.
#3
Updated by Adam Sutton 10 months ago
- Status changed from New to Fixed
Rather than make it possible to add "complex" configuration options to XMLTV scripts I have added a unix domain socket interface that can be used to pump data into TVH from an external script (probably using cronjob).