Commit graph

1872 commits

Author SHA1 Message Date
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
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
19ed956693 Merge branch 'master' into epg-rewrite 2012-06-08 22:30:31 +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
546e51fd71 Added genre updates to eit code. 2012-06-08 19:52:17 +01:00
Adam Sutton
f39347bf49 Added some additional support to the pyepg and eit grabbers. 2012-06-08 17:37:37 +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
9abd36c012 Add ability to record series from the EPG window. 2012-06-08 15:45:31 +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
5feb44d17b Some simple display and configuration of brand based series link configuration. 2012-06-08 15:33:48 +01:00
Adam Sutton
875a9d4cf2 First stab at adding proper brand based series linking (some aspects of season based exist, but generally I am ignoring this for now). 2012-06-08 15:33:22 +01:00
Adam Sutton
32aa8461e6 Added channel list function to epggrab, however as yet not sure how best to integrate into the UI. 2012-06-08 13:28:39 +01:00
Adam Sutton
547bef714c Fix silly bug in channel linking. 2012-06-08 12:19:40 +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
Andreas Öman
8f9ac9040e htsp: Remove the broken signal status updates (causing crashes)
htsp->hs_s may only be accessed if global_lock is held and obtaining
global_lock in HTSP delivery code is not acceptable as it can take
a long time to acquire that lock

Fixes #1029
2012-06-08 07:56:38 +02:00
Adam Sutton
2c9986325b Yet more tidying up of the epggrab framework including epggrab channel save/load. Definitely think I am getting somewhere now. 2012-06-07 21:46:51 +01:00
Adam Sutton
72186c5a92 Slight improvement to the config UI and fixed problem with error reporting on socket close. 2012-06-07 15:09:08 +01:00
Adam Sutton
7c396deeb3 Some tidying up and enabled full config save/store again. 2012-06-07 13:55:32 +01:00
Adam Sutton
be1c2b22df 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-06-07 12:42:57 +01:00
Adam Sutton
87c48ae57d Merge branch 'epg-rewrite-tmp' into epg-rewrite 2012-06-07 09:48:20 +01:00
Adam Sutton
704028d625 Committing this for posterity, but going to do a massive u-turn on the whole epggrab setup. 2012-06-07 09:41:15 +01:00
Adam Sutton
fc4fc7e753 Move the read from file descriptor into buffer into generic routine as I intend to reuse this for external epggrab input. 2012-06-06 20:39:58 +01:00
Adam Sutton
2c8010667c Fixed some bugs in cron code and re-enabled basic grabber code (still not fully functional). 2012-06-06 17:08:15 +01:00
Adam Sutton
5eae7e8aef Some minor bugfixes and remove debug code. 2012-06-06 16:07:15 +01:00
Adam Sutton
ec22e6a14a 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-06-06 16:02:07 +01:00
Adam Sutton
9b5486f01a Some further updates (simplfications) to the epggrab framework. 2012-06-03 23:12:15 +01:00
Andreas Öman
fc10a54211 Update Autobuild stuff 2012-06-03 11:14:09 +02:00
Andreas Öman
79c1b4904b htsp: Add missing lock when flushing HTSP output queue
Fixes #996
2012-06-03 10:56:03 +02:00
Adam Sutton
cf360abca9 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-06-01 22:17:47 +01:00
Adam Sutton
473aced75f Some more updates to the cron system, simplified somewhat by storing string and converting to bit masks for running. 2012-06-01 19:41:48 +01:00
Adam Sutton
0d497457ac Added string processing capability to cron code. 2012-06-01 10:33:58 +01:00
Adam Sutton
01a8b574ec Add some initial code to load/save grab module channel mappings. 2012-05-31 15:58:41 +01:00
Adam Sutton
190e2efc9d Add a few extra bits of info to the epg ui code. 2012-05-31 13:57:43 +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
b5bb688b68 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-05-30 11:01:29 +01:00