Commit graph

1887 commits

Author SHA1 Message Date
Adam Sutton
5546e5ca5f Fix stupid mistake in earlier printf fix. 2012-06-19 23:30:26 +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
416e46837a Fix bug in the handling of broadcast find/create. 2012-06-18 23:23:31 +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
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
Andreas Öman
dd1800c76c Merge pull request #92 from adamsutton/master
Minor fixes to htsmsg handling
2012-06-15 05:28:11 -07: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
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
Andreas Öman
bccec43222 deb: Rename tvheadend.tvheadend.init -> tvheadend.init 2012-06-11 14:41:36 +02:00
Andreas Öman
7d31b78414 Fix a warning 2012-06-10 06:28:09 +02: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