Commit graph

2032 commits

Author SHA1 Message Date
Adam Sutton
89f232839d Updated EPG methods to include source epggrab_module to ensure priorities are properly adhered to. 2012-07-11 10:16:53 +01:00
Adam Sutton
fab0712d89 Start to work in priority handling to EIT and OpenTV. 2012-07-10 21:52:38 +01:00
Adam Sutton
8d6d53f332 Ensure epg object grabber is persisted to disk. 2012-07-10 21:31:20 +01:00
Adam Sutton
f3b2eca186 Add default priority setting in grab modules. 2012-07-10 20:34:04 +01:00
Adam Sutton
acdcd7bbd5 Add parsing of mod priority configuration. 2012-07-10 20:27:04 +01:00
Adam Sutton
95d8d19797 Add initial priority information, currently unused. 2012-07-10 19:58:02 +01:00
Adam Sutton
d6801d27f1 Ensure Q is initialised before it can be used. Fixes #36. 2012-07-07 14:31:22 +01:00
Adam Sutton
a0d2505b1d Fix stupid NULL ptr bug. 2012-07-06 20:25:59 +01:00
Adam Sutton
af98629916 Ensure that all broadcast finish time checks are done the same to stop potential create/delete in same call. Fixes #31. 2012-07-06 20:05:28 +01:00
Adam Sutton
8844f64be4 Fix stupid flaw in EIT genre processing. 2012-07-06 15:36:06 +01:00
Adam Sutton
bbd81946c8 EPG genre code has been re-written. I have removed the use of a nasty array (terminated by 0) with a list of structs. At present this code does not yet support full genre customisation but should make it easier in future. The primary aim was to make the existing code a little more robust.
Relates to #29
2012-07-06 15:30:36 +01:00
Adam Sutton
7a4db91c0f Minor safety check the set_episode() call should check ee anyway. 2012-07-06 15:30:26 +01:00
Adam Sutton
1b73f37bad Stop addition of channels with empty names. 2012-07-06 15:19:12 +01:00
Adam Sutton
6edbdb30a9 Remove some unwanted debug and add empty string for non-category. 2012-07-06 15:17:57 +01:00
Adam Sutton
8969049b3c Complete update to the EPG genre setup. Mostly this is now achieved using an listable structure (to remove the ugly array implementation) however some code still deals directly with the uint8_t code value. 2012-07-06 14:59:04 +01:00
Adam Sutton
13d95266f8 Merge branch 'master' into epg-rewrite 2012-07-06 14:23:50 +01:00
Adam Sutton
24d50f2ef2 Minor correction to the handling of content types in DVR auto rec table. 2012-07-06 14:18:12 +01:00
Adam Sutton
9c83623c7d Fix ordering problem with function calls that can result in use of freed memory. 2012-07-05 22:50:27 +01:00
Adam Sutton
ee5e7c8bb7 Removing service lists in epggrab channel. Currently its only used by pyepg and I hate the way its implemented, so going to get rid of it until I can be bothered to do it properly. 2012-07-05 21:17:52 +01:00
Adam Sutton
4770291fb6 Reviewed teh EPG code, simplfied a few areas and found at least one possible bug resulting in extra reference counts on broadcasts that have extended in time (fairly rare event). 2012-07-05 15:15:51 +01:00
Adam Sutton
43c8ce6fdc Fix printing format error, this results in NULL channel names on x86 32bit and crashes on ARM. Fixes #33. 2012-07-03 12:13:20 +01:00
Adam Sutton
b81f74827d Slight tweak to the way the EPG grabbers install table handlers. Do not pass the epggrab_ota_mux ptr since these could be freed in another thread. Instead look them up as required. There is probably a better way of handling this by keeping a list of th_dvb_tables in the ota object and deleting them whenever the ota object is destroyed, but its more prone to mistake (I think). Relates to #27. 2012-07-02 17:30:14 +01:00
Adam Sutton
bb65d7b0b6 Fix problem with not storing owner module in epggrab_channel entries which results in things going horrible wrong. 2012-07-02 15:02:39 +01:00
Adam Sutton
a0f0765e78 Add support for genre mapping in opentv. Fixes #14. 2012-07-02 12:38:45 +01:00
Adam Sutton
ce52dd680d Minor tweak to EIT period/interval. 2012-07-02 11:40:59 +01:00
Adam Sutton
100cf40b9b Ensure reference counter is incremented when loading in a broadcast into a newly formed DVR entry from disk. 2012-07-02 11:35:37 +01:00
Adam Sutton
86f6983d87 Fix possible problem with the wrong EPG object types being returned. This fixes #25. 2012-07-02 11:27:58 +01:00
Adam Sutton
4d813ed0ea Re-instate per service configuration, this was never meant to be committed. 2012-07-01 21:07:52 +01:00
Adam Sutton
dacde57567 Removed use of find_by_eid, used to shortcut storing SUMMARY records. This causes problems where different services are used to back the same channel. 2012-07-01 21:02:45 +01:00
Adam Sutton
10e13c0ffd Disable extended EIT debug except if #define is set. 2012-07-01 16:11:11 +01:00
Adam Sutton
c87d9c7934 Correct problem with EIT end detect, fixes #21. 2012-07-01 10:15:58 +01:00
Adam Sutton
69c0161982 Add missing header include. 2012-07-01 09:39:37 +01:00
Adam Sutton
02da03afc8 Merge branch 'epg-rewrite' of github.com:adamsutton/tvheadend into epg-rewrite 2012-06-30 12:34:49 +01:00
Adam Sutton
a72fcf60d8 Merge branch 'epg-rewrite' of github.com:adamsutton/tvheadend into epg-rewrite 2012-06-30 12:33:59 +01:00
Adam Sutton
1e40c1a66c Missed fix during merge, stop channel altering unless configured. 2012-06-30 12:32:48 +01:00
Adam Sutton
af6502d1d6 Some fixes to EIT scanner and UI. 2012-06-29 23:02:38 +01:00
Adam Sutton
75dd6e351d Ensure we handle channel deletions. 2012-06-29 22:16:36 +01:00
Adam Sutton
406c235331 Missing / as a result of a manual merge resolution. 2012-06-29 22:02:41 +01:00
Adam Sutton
3c69fcba11 Merge branch 'feature/epggrab-restructure' into epg-rewrite 2012-06-29 21:45:00 +01:00
Adam Sutton
76d37cd05d Correct ota completion check. 2012-06-29 21:41:08 +01:00
Adam Sutton
9283974d44 Some minor corrections to new ota code. 2012-06-29 21:16:06 +01:00
Adam Sutton
5793c9df75 Migrated epgdb file handling routines to a separate file and change file postfix to something more sensible. 2012-06-29 15:15:48 +01:00
Adam Sutton
f77ab23158 Include data directory in /usr/share/tvheadend so default opentv config exists. 2012-06-29 14:30:19 +01:00
Adam Sutton
a3d555e9c1 Add missing config checks to block channel info updates. 2012-06-29 14:21:38 +01:00
Adam Sutton
cafa9d6cac Minor tweak. 2012-06-29 13:42:46 +01:00
Adam Sutton
a00b7631e1 Some more tidying up and adding back in missing code. 2012-06-29 13:28:27 +01:00
Adam Sutton
2c7db68b53 WIP: this a partially complete restructuring of the epggrab code. But I am having doubts. 2012-06-29 09:18:38 +01:00
Adam Sutton
2a37126721 dot file accidentally added. 2012-06-27 12:00:07 +01:00
Adam Sutton
9aa3acdd9f Little bit of tidying up. 2012-06-27 11:32:51 +01:00
Adam Sutton
457098c081 Simplification of the epggrab api used within the dvb code. 2012-06-27 11:31:51 +01:00