Commit graph

1913 commits

Author SHA1 Message Date
Adam Sutton
aa74afec72 Removed the EIT enabled flag and using proper OTA config system. 2012-07-30 15:49:49 +01:00
Adam Sutton
44d4536584 Tidied up most of the parsing code and the way in which the config works (untested). 2012-07-30 15:49:49 +01:00
Adam Sutton
f456446dff 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-07-30 15:49:49 +01:00
Adam Sutton
28030b9159 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-07-30 15:49:49 +01:00
Adam Sutton
1e7f1b031f Minor tweak to huffman api. 2012-07-30 15:49:49 +01:00
Adam Sutton
17c7b9169d Fix mistake in config conversion that stops modules being enabled at startup. 2012-07-30 15:49:48 +01:00
Adam Sutton
851f786a50 Started to clean up opentv module, added some configuration (though currently its mostly ALL enabled). 2012-07-30 15:49:48 +01:00
Adam Sutton
2b86b25c89 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-07-30 15:49:48 +01:00
Adam Sutton
cbc7aa26fc Some minor mods and fixes to the huffman decoder. 2012-07-30 15:49:48 +01:00
Adam Sutton
b8709a89e8 Initial code for opentv module, just testing at the moment. 2012-07-30 15:49:24 +01:00
Adam Sutton
c3f9a11c70 First stab at a huffman decoder that I can use for decoding opentv strings. 2012-07-30 15:49:24 +01:00
Adam Sutton
68f4bfabdb Remove erroneous assert() and modified so that existing EPG database and config is left in place. 2012-07-30 15:47:55 +01:00
Adam Sutton
8e1c6ab141 Added automatic configuration migration for epggrab (inc xmltv) and epgdb. 2012-07-30 15:47:55 +01:00
Adam Sutton
27540607ec 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-07-30 15:47:55 +01:00
Adam Sutton
20fcdff51e Fix silly typo. 2012-07-30 15:47:55 +01:00
Adam Sutton
fbc1ac9601 First stab at allowing quality shifting from autorec, still undecided on this at the moment. 2012-07-30 15:47:55 +01:00
Adam Sutton
7bc70da72a Add safety check. 2012-07-30 15:47:55 +01:00
Adam Sutton
a8b59db732 Forgot to finish of the episode number checking in series link. 2012-07-30 15:47:55 +01:00
Adam Sutton
b8ec3642d1 Started to add some configuration options to the series linking. 2012-07-30 15:47:55 +01:00
Adam Sutton
54fdf52764 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-07-30 15:47:54 +01:00
Adam Sutton
2d2aa37064 Add some of the missing stuff to xmltv and EIT. I think the only significant issue now is series numbering in XMLTV. 2012-07-30 15:47:54 +01:00
Adam Sutton
9438795f43 Fix some obvious memory leaks. 2012-07-30 15:47:54 +01:00
Adam Sutton
103de71f42 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-07-30 15:47:54 +01:00
Adam Sutton
f5e91ea717 Minor tweak to layout of EPG entry info to make it easier to see useful stuff. 2012-07-30 15:47:54 +01:00
Adam Sutton
35fb7885aa 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-07-30 15:47:54 +01:00
Adam Sutton
e5e42d8756 Fix a couple of memory leaks, and add basic ordering to episode lists in brand/season (these are NOT garaunteed). 2012-07-30 15:47:54 +01:00
Adam Sutton
b09b493fdc 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-07-30 15:47:54 +01:00
Adam Sutton
2355e45160 More significant changes to the EPG code because I want to include the concept of having multiple URIs per object (to cope with badly merged upstream data). 2012-07-30 15:47:54 +01:00
Adam Sutton
066b58f6c7 Updated to include compat genre support (more will have to wait), DVR code fully updated to use new EPG code. Updated related code and added useful extra inputs to dvr event creation that should make XBMC devs happy. 2012-07-30 15:47:54 +01:00
Adam Sutton
f6f8becb2d Added genre updates to eit code. 2012-07-30 15:47:54 +01:00
Adam Sutton
4b3c21658c Added some additional support to the pyepg and eit grabbers. 2012-07-30 15:47:54 +01:00
Adam Sutton
9b701d8b83 Added image fields for brand, season and episode. Also simplified the repetetive string update code. 2012-07-30 15:47:53 +01:00
Adam Sutton
13da924f91 Started work on adding back in genre support. 2012-07-30 15:47:53 +01:00
Adam Sutton
0a7803676a Add ability to record series from the EPG window. 2012-07-30 15:47:53 +01:00
Adam Sutton
840e4ff020 Internal automatic detection of the fact the epg objects have been updated. This should remove some burden from user code. However save flag is still returned and epg_updated() still needs to be called. 2012-07-30 15:47:53 +01:00
Adam Sutton
23cb943235 Some simple display and configuration of brand based series link configuration. 2012-07-30 15:47:53 +01:00
Adam Sutton
86e1339d9f First stab at adding proper brand based series linking (some aspects of season based exist, but generally I am ignoring this for now). 2012-07-30 15:47:53 +01:00
Adam Sutton
3dbefe4758 Added channel list function to epggrab, however as yet not sure how best to integrate into the UI. 2012-07-30 15:47:53 +01:00
Adam Sutton
2988d122ea Fix silly bug in channel linking. 2012-07-30 15:47:53 +01:00
Adam Sutton
9e153571b1 Added extra metadata to epggrab channels, change log levels to get some useful info when debug is off. 2012-07-30 15:47:53 +01:00
Adam Sutton
b85ca93e5d Yet more tidying up of the epggrab framework including epggrab channel save/load. Definitely think I am getting somewhere now. 2012-07-30 15:47:53 +01:00
Adam Sutton
0d34b48c05 Slight improvement to the config UI and fixed problem with error reporting on socket close. 2012-07-30 15:47:53 +01:00
Adam Sutton
7d6201b90e Some tidying up and enabled full config save/store again. 2012-07-30 15:47:53 +01:00
Adam Sutton
e652b27822 Another significant reworking (cannot make my mind up ;) ) of the epggrab framework. This time its MUCH simpler. All clever stuff is defered to a unix domain socket interface which allows users to define schedules using system cron and do whatever the hell they like as long as they send the data to the socket (using nc etc.). 2012-07-30 15:47:52 +01:00
Adam Sutton
7a09f91ec7 Committing this for posterity, but going to do a massive u-turn on the whole epggrab setup. 2012-07-30 15:47:52 +01:00
Adam Sutton
c51a5856bd Fixed some bugs in cron code and re-enabled basic grabber code (still not fully functional). 2012-07-30 15:47:22 +01:00
Adam Sutton
705c7c53ca Some minor bugfixes and remove debug code. 2012-07-30 15:47:22 +01:00
Adam Sutton
acd76dcf16 Major update to the way the epggrab configuration is handled. I now have most features avilable via the UI (except the yet to be implemented external interface config). 2012-07-30 15:47:22 +01:00
Adam Sutton
e5e7bc853c Some further updates (simplfications) to the epggrab framework. 2012-07-30 15:47:22 +01:00
Adam Sutton
73286da38a Complete re-write of the epggrab infastructure, trying to generalise stuff a bit more to make config pages easier and to cover the common cases. 2012-07-30 15:47:21 +01:00