Commit graph

1077 commits

Author SHA1 Message Date
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
4abb686ac5 Add proper #if test around use of SYS_DVBS, this fixes my earlier mod. 2012-06-19 12:23:05 +01:00
Adam Sutton
e23b73cd11 Another ptr bug spotted by andyb2k5. 2012-06-19 12:05:22 +01:00
Adam Sutton
21a97a176d Move the reading from file descriptor into generic routine as I intend to reuse this function in the new EPG code. 2012-06-19 11:56:39 +01:00
Adam Sutton
c8847503b1 Some extensions to the htsmsg API, including fix for single length XML strings and cdata processing (previously in xmltv code). 2012-06-19 11:40:08 +01:00
Adam Sutton
5b9d4311db Improve escape handling in json parser. 2012-06-19 11:28:04 +01:00
Adam Sutton
e183645081 Allow multiple callbacks per PID (with limitations). 2012-06-19 10:32:01 +01:00
Adam Sutton
01c619482f Expose DVB table API within the rest of the app (needed by new grabbers). 2012-06-19 10:31:24 +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
Andreas Öman
4394b9e91e Merge pull request #94 from mmrvka/dvb_adapter_priority
dvb: added extra priority per adapter
2012-06-18 14:28:17 -07:00
Martin Mrvka
759de68713 dvb: added extra priority per adapter 2012-06-18 23:00:54 +02:00
cohe6423
b2f4aeb035 Needed when string length equal 1.
exemple:
<programme channel="chanel.4" stop="20120619054500 +0200" start="20120619052000 +0200">
<title>H</title>
</programme>
2012-06-18 23:45:03 +03: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
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
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