Added parse stats to pyepg code.
Some more hacks to the epg javascript to show "extra" info (only concept, not really usable).
Update cron to use u64 config and add error output on pyepg xml parse error.
Significant reworking of EPG code to use an OO style, its still rough and there are quite a few bodges to make it work since its not proper OO (but will be if included in TVH3).
Some bugfixes. Note: currently cannot handle scheduling overlaps.
Significant update to the EPG code, now have reference counting and timeouts (not tested) and some general simplifications to the API.
Updated various EPG calls to the new API.
Some fixes and updates to get broadcast expiration and now/next working.
Minor fix to get htsp epg download working.
Remove old test code and printfs.
Remove unused channels (temp hack) and include epg save stats. Also remove some printfs from htsp code.
Cleanup EPG after everything has been fully loaded from disk.
Some minor debug output.
Add missing free()
Fix mutex unlock placement and free memory on config load.
Fix memory issues and use much saner object alloc strategy.
First stab at adding the DVR code back in. Very much WIP and no attempt to add clever stuff at this stage.
Remove possible free() before data access.
Correct sanity check code.
Some tidying up.