Commit graph

100 commits

Author SHA1 Message Date
Adam Sutton
c8e9bb1aa7 Some updates to the EIT code, fixes a few things and adds some incomplete bits (still a few more to sort). 2012-06-22 10:19:03 +01:00
Adam Sutton
ee195c9e07 Re-written the EIT grabber, slight tweak to EPG api. 2012-06-21 17:34:17 +01:00
Adam Sutton
a31e2d303d Merge branch 'epg-metadata' into epg-rewrite 2012-06-20 16:17:53 +01:00
Adam Sutton
8a3f6c7e13 Filled out a bit more of the EPG metadata parsing in pyepg and fixed a problem with is_bw being in the wrong object. 2012-06-20 16:16:06 +01:00
Adam Sutton
3cb24699c2 Some further 32/64bit printing error fixes. 2012-06-20 15:10:53 +01:00
Adam Sutton
046c93b981 Updated a couple of TODOs relating to episode number in EPG code. 2012-06-20 13:38:00 +01:00
Adam Sutton
46a00e636d Re-done the episode numbering variables to make it possible to store season numbers without a season (for things like xmltv etc...). 2012-06-20 13:31:25 +01:00
Adam Sutton
dcd4e0bc96 Updated EPG code to include some missing metadata handling. 2012-06-20 12:34:31 +01:00
Adam Sutton
aece0209f1 Merge branch 'epg-opentv' into epg-rewrite 2012-06-19 23:34:51 +01:00
Adam Sutton
5546e5ca5f Fix stupid mistake in earlier printf fix. 2012-06-19 23:30:26 +01:00
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
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
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
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
63c2059c1a Added automatic configuration migration for epggrab (inc xmltv) and epgdb. 2012-06-15 11:38:16 +01:00
Adam Sutton
fad85fb1f3 Fix silly typo. 2012-06-14 13:25:36 +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
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
Adam Sutton
1b25998870 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-06-11 17:18:11 +01:00
Adam Sutton
9183f29e6d 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-06-08 22:24:11 +01:00
Adam Sutton
50ab98b7d9 Added image fields for brand, season and episode. Also simplified the repetetive string update code. 2012-06-08 17:37:01 +01:00
Adam Sutton
8c1e67c7d1 Started work on adding back in genre support. 2012-06-08 17:05:30 +01:00
Adam Sutton
cfe03d5d66 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-06-08 15:34:43 +01:00
Adam Sutton
b9253ef6e3 Added extra metadata to epggrab channels, change log levels to get some useful info when debug is off. 2012-06-08 11:49:40 +01:00
Adam Sutton
ee30f1573b Fixed minor but in epgrelated function (displaying source episode number) and added most of (old) missing functionality to epg query code. 2012-05-31 13:48:25 +01:00
Adam Sutton
d517cd96ca Tidy up of the epg broadcast code, I think this now works it should be a bit simpler. 2012-05-31 13:25:24 +01:00
Adam Sutton
d820502cda Fix some mistakes spotted on live system and permanently enable EIT parsing for test purposes. 2012-05-30 23:50:25 +01:00
Adam Sutton
8fd30b6101 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-05-30 21:25:54 +01:00
Adam Sutton
1f1496e3f8 Started work on migrating EPG schedules into the main channel_t structure. 2012-05-30 14:40:04 +01:00
Adam Sutton
f560e7c417 Pass through channel name, icon changes and allow EIT to create missing channels (however these need to be overidden) 2012-05-28 16:58:13 +01:00
Adam Sutton
e4f4411777 Some tidying up of epg grabbers and added stubs for missing functions in epg. 2012-05-28 16:43:42 +01:00
Adam Sutton
13c81dea82 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-05-28 15:41:56 +01:00
Adam Sutton
82084da025 Remove possible free() before data access. 2012-05-25 17:24:10 +01:00
Adam Sutton
02fc5ddbc9 First stab at adding the DVR code back in. Very much WIP and no attempt to add clever stuff at this stage. 2012-05-25 16:19:29 +01:00
Adam Sutton
d9e2382b53 Fix memory issues and use much saner object alloc strategy. 2012-05-25 14:41:27 +01:00
Adam Sutton
badccc4feb Add missing free() 2012-05-25 13:57:50 +01:00
Adam Sutton
4c1a371939 Some minor debug output. 2012-05-25 12:49:32 +01:00
Adam Sutton
a22f09b28a Remove unused channels (temp hack) and include epg save stats. Also remove some printfs from htsp code. 2012-05-25 12:27:58 +01:00
Adam Sutton
2dc27e5b68 Remove old test code and printfs. 2012-05-25 12:14:17 +01:00
Adam Sutton
c7e42041e3 Minor fix to get htsp epg download working. 2012-05-25 12:10:29 +01:00
Adam Sutton
3c5f520c1e Some fixes and updates to get broadcast expiration and now/next working. 2012-05-25 11:36:44 +01:00