Commit graph

1913 commits

Author SHA1 Message Date
Adam Sutton
fe2b42c46c Merge branch 'epg-rewrite' into epg-opentv 2012-06-19 16:55:52 +01:00
Adam Sutton
252442004f Merge branch 'epg-rewrite' of github.com:adamsutton/tvheadend into epg-rewrite 2012-06-19 16:55:42 +01:00
Adam Sutton
7ace813b2a Fix printfs() for 64 bit numbers on 32 bit arch. Thanks to andyb2k5 for helping track this down. 2012-06-19 16:55:10 +01:00
Adam Sutton
520e00ab60 Minor hack to make series linking work properly with sky epg info. 2012-06-19 00:17:45 +01:00
Adam Sutton
73773b31f7 Ensure quality/channel locking is enforced by default. 2012-06-19 00:17:06 +01:00
Adam Sutton
26bfcde48d Fix to summary parsing and inclusion of initial series link support. 2012-06-18 23:50:36 +01:00
Adam Sutton
709ea7f09b Merge branch 'epg-rewrite' into epg-opentv 2012-06-18 23:23:57 +01:00
Adam Sutton
416e46837a Fix bug in the handling of broadcast find/create. 2012-06-18 23:23:31 +01:00
Adam Sutton
c680413720 Attempt to improve decode efficiency (although I might now have tracked this down to problems elsewhere). 2012-06-18 23:21:32 +01:00
Adam Sutton
e1fe8cc761 Try to make huffman decoder a bit more efficient. 2012-06-18 23:17:22 +01:00
Adam Sutton
d4486a20a5 Fix erroneous parse of title info and invalid setting of event stop time. 2012-06-18 20:36:39 +01:00
Adam Sutton
1136af0da0 Failed to properly setup the module provider config. 2012-06-18 16:26:07 +01:00
Adam Sutton
55254b5fdb Another ptr bug spotted by andyb2k5. 2012-06-18 15:48:14 +01:00
Adam Sutton
0604f3a261 Fix erroneous ptr usage spotted by andyb2k5 and removed redundant equiv test. 2012-06-18 14:50:53 +01:00
Adam Sutton
3d5910bcf6 Moved EIT handling code from dvb_tables into the eit grab module. Needs tidying up. 2012-06-18 13:47:43 +01:00
Adam Sutton
96668a6134 Initial opentv data for skyuk. 2012-06-18 13:38:36 +01:00
Adam Sutton
da8c454589 Allow multiple callbacks per PID (with limitations). 2012-06-18 13:38:01 +01:00
Adam Sutton
a9ba806420 Removed the EIT enabled flag and using proper OTA config system. 2012-06-18 13:33:02 +01:00
Adam Sutton
8372a76425 Tidied up most of the parsing code and the way in which the config works (untested). 2012-06-18 13:32:06 +01:00
Adam Sutton
b5577b7a95 More hacking around the opentv code will now build a full EPG with title and summary. The other info is currently not included and things need a good tidy up. 2012-06-18 01:01:22 +01:00
Adam Sutton
dd33002541 Lots of messing about with the parsing (too much trial and error), but I think I mostly have it now. But I still need to figure out how best to get the data into the EPG. 2012-06-18 00:15:04 +01:00
Adam Sutton
1bc57c7207 Minor tweak to huffman api. 2012-06-18 00:13:59 +01:00
Adam Sutton
4ad4d25701 Merge branch 'epg-rewrite' into epg-opentv 2012-06-17 14:53:56 +01:00
Adam Sutton
53cab33e72 Fix mistake in config conversion that stops modules being enabled at startup. 2012-06-17 14:53:40 +01:00
Adam Sutton
8229cf4633 Started to clean up opentv module, added some configuration (though currently its mostly ALL enabled). 2012-06-17 14:52:22 +01:00
Adam Sutton
d29100103f Provide top level API call to allow all epg grabbers to be informed about tuning events, as OTA grabbers will need to know this. 2012-06-17 13:57:15 +01:00
Adam Sutton
c76fe802e4 Some minor mods and fixes to the huffman decoder. 2012-06-17 13:55:46 +01:00
Adam Sutton
d32eae5671 Expose DVB table API within the rest of the app (needed by new grabbers). 2012-06-16 21:04:55 +01:00
Adam Sutton
d5f3e2c686 Initial code for opentv module, just testing at the moment. 2012-06-16 20:29:10 +01:00
Adam Sutton
d419ce76dc First stab at a huffman decoder that I can use for decoding opentv strings. 2012-06-16 20:28:30 +01:00
Adam Sutton
8c1562a8e8 Temporary hack to get htsmsg_json to accept (though ignore) escaped hex. 2012-06-16 20:27:53 +01:00
Adam Sutton
dde3d12189 Remove erroneous assert() and modified so that existing EPG database and config is left in place. 2012-06-16 20:20:46 +01:00
Adam Sutton
db04c900f8 Merge branch 'master' into epg-rewrite 2012-06-15 14:34:29 +01:00
Andreas Öman
dd1800c76c Merge pull request #92 from adamsutton/master
Minor fixes to htsmsg handling
2012-06-15 05:28:11 -07:00
Adam Sutton
11944f0933 Fix json parsing to handle empty objects and ensure hm_ilist is properly set on htsmsg_add_msg to allow some post load modifications. 2012-06-15 11:40:01 +01:00
Adam Sutton
63c2059c1a Added automatic configuration migration for epggrab (inc xmltv) and epgdb. 2012-06-15 11:38:16 +01:00
Adam Sutton
3ecf18b48a Some very early attempts at duplicate detection. Really not sure if this is the best way to go and definitley needs more thought but it does at least stop series links from creating lots of duplicates. 2012-06-14 17:11:03 +01:00
Adam Sutton
fad85fb1f3 Fix silly typo. 2012-06-14 13:25:36 +01:00
Adam Sutton
4f4a49be02 First stab at allowing quality shifting from autorec, still undecided on this at the moment. 2012-06-14 12:33:08 +01:00
Adam Sutton
868d65a756 Add safety check. 2012-06-14 12:10:12 +01:00
Adam Sutton
60b2e6ce46 Forgot to finish of the episode number checking in series link. 2012-06-14 11:42:24 +01:00
Adam Sutton
11ee3ad184 Started to add some configuration options to the series linking. 2012-06-14 11:33:10 +01:00
Adam Sutton
fa55b1d64a Rename some link variables to be a bit clearer and move to using anon structs to remove some of the code ugliness. May need to replace anon structures with MACRO based solution if people are not happy with using anon structs. 2012-06-14 10:10:02 +01:00
Adam Sutton
8166f22b2e Add some of the missing stuff to xmltv and EIT. I think the only significant issue now is series numbering in XMLTV. 2012-06-13 15:21:45 +01:00
Adam Sutton
b22eb3733c Fix some obvious memory leaks. 2012-06-13 13:59:00 +01:00
Adam Sutton
991905578f Some VERY simple duplicate detection, I have not really started on this yet, but I thought I might as well keep this minor mod. 2012-06-13 12:56:15 +01:00
Adam Sutton
5f5a5054e9 Minor tweak to layout of EPG entry info to make it easier to see useful stuff. 2012-06-12 17:14:29 +01:00
Adam Sutton
c6ac8073a0 Generate missing brand/season if referenced in autorec rule, this ensures these will still work should the EPG db become corrupt or get deleted. 2012-06-12 17:13:56 +01:00
Adam Sutton
19857a2bb7 Fix a couple of memory leaks, and add basic ordering to episode lists in brand/season (these are NOT garaunteed). 2012-06-12 17:13:18 +01:00
Adam Sutton
5b9ddaa201 Partial revert of previous multi-key update. I have decided to leave it to the upstream data providers to fix this (which still makes it my problem) but I have kept some of the simplifications added as part of the previous update. 2012-06-12 13:05:39 +01:00