andoma/tvheadend — pull request #103 by adamsutton (2012-06-26 12:16:04+00:00)
Title: A few more tweaks in prep for EPG code

XML stuff is pretty straightforward, just a couple of helper routines.

DVB tables stuff is a bit of a bodge, for various reasons I need to know which PID the data is being received on (an unfortunately side-effect of the way my opentv implementation works). I've added a flag that allows the TDT object to be passed in place of the opaque, that allows me access to the PID and then the real opaque.

Settings change allows me to access config from 2 places. I want to be able to bundle some "default" config setups for opentv. This will allow me to install these in /usr/share and to access the config using hts_settings. I'll handle the actual duplicity (user can override by putting files in .hts) manually in the opentv mod.