Commit graph

1894 commits

Author SHA1 Message Date
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
Adam Sutton
febdf40d5d Some more updates to the cron system, simplified somewhat by storing string and converting to bit masks for running. 2012-07-30 15:47:21 +01:00
Adam Sutton
3eacec0e63 Added string processing capability to cron code. 2012-07-30 15:47:21 +01:00
Adam Sutton
ba9edf7287 Add some initial code to load/save grab module channel mappings. 2012-07-30 15:47:21 +01:00
Adam Sutton
c4e4c81f46 Add a few extra bits of info to the epg ui code. 2012-07-30 15:47:21 +01:00
Adam Sutton
5ba6bc5a44 Fixed minor but in epgrelated function (displaying source episode number) and added most of (old) missing functionality to epg query code. 2012-07-30 15:47:21 +01:00
Adam Sutton
4a71b4c7d7 Tidy up of the epg broadcast code, I think this now works it should be a bit simpler. 2012-07-30 15:47:21 +01:00
Adam Sutton
2a30767ca8 Fix some mistakes spotted on live system and permanently enable EIT parsing for test purposes. 2012-07-30 15:47:21 +01:00
Adam Sutton
43d516464a I think the new generalised approach is working, some stuff was a little too general and some stuff possible is still, but it appears to work!. 2012-07-30 15:47:21 +01:00
Adam Sutton
74cfefd965 Started work on migrating EPG schedules into the main channel_t structure. 2012-07-30 15:47:21 +01:00
Adam Sutton
a373a3b4d8 Started work on deleteing epg_channel_t and moving schedule info back into channel_t. This will make working with EIT much simpler, removes a fairly redundant object and will allow me to move epggrab channel mapping into each grabber which will be far more flexible and was what I had originally intended. 2012-07-30 15:47:21 +01:00
Adam Sutton
20097dd255 Pass through channel name, icon changes and allow EIT to create missing channels (however these need to be overidden) 2012-07-30 15:47:21 +01:00
Adam Sutton
36a312b1e0 Some tidying up of epg grabbers and added stubs for missing functions in epg. 2012-07-30 15:47:20 +01:00
Adam Sutton
fdf36d2b81 Started work on re-introducing EIT data. 2012-07-30 15:47:20 +01:00
Adam Sutton
edbc12015d Add global object hash similar to that used by andoma in original code. Although mine includes ALL objects, its currently only used for broadcast lookup as generally the others will probably be quicker (episodes?) to go via the normal URI based maps. 2012-07-30 15:47:20 +01:00
Adam Sutton
6871fa8b68 Some tidying up. 2012-07-30 15:47:20 +01:00
Adam Sutton
43e2031ad4 Correct sanity check code. 2012-07-30 15:47:20 +01:00
Adam Sutton
484ab9f99a Remove possible free() before data access. 2012-07-30 15:47:20 +01:00
Adam Sutton
fc6061bb43 First stab at adding the DVR code back in. Very much WIP and no attempt to add clever stuff at this stage. 2012-07-30 15:47:20 +01:00
Adam Sutton
75d18af17b Fix memory issues and use much saner object alloc strategy. 2012-07-30 15:46:53 +01:00