Commit graph

2046 commits

Author SHA1 Message Date
Adam Sutton
9a3815d9c0 Merge branch 'epg-rewrite' into initialscan 2012-07-07 14:31:34 +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
4bf29d7c72 Merge branch 'epg-rewrite' into initialscan 2012-07-06 20:26:07 +01:00
Adam Sutton
a0d2505b1d Fix stupid NULL ptr bug. 2012-07-06 20:25:59 +01:00
Adam Sutton
129f9a12cf Merge branch 'epg-rewrite' into initialscan 2012-07-06 20:06:05 +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
140796a889 Merge branch 'epg-rewrite' into initialscan 2012-07-06 15:36:23 +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
15f47f9efb Merge branch 'epg-rewrite' into initialscan 2012-07-05 15:16:24 +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
5bf643f754 Merge branch 'epg-rewrite' into initialscan 2012-07-03 12:18: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
02ad7c2f37 Merge branch 'epg-rewrite' into initialscan 2012-07-02 17:30:45 +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
ba2b7eea3f Merge branch 'epg-rewrite' into initialscan 2012-07-02 15:43:24 +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
c69640870e Merge branch 'epg-rewrite' into initialscan 2012-07-02 11:35:44 +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
ac25c230dc Merge branch 'epg-rewrite' into initialscan 2012-07-02 11:28:05 +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
d5c0a89795 Merge branch 'epg-rewrite' into initialscan 2012-07-01 21:07:59 +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
9fb6bbf9bb Merge branch 'epg-rewrite' into initialscan 2012-07-01 21:02:53 +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
933417b2c9 Merge branch 'epg-rewrite' into initialscan 2012-07-01 10:16:31 +01:00
Adam Sutton
c87d9c7934 Correct problem with EIT end detect, fixes #21. 2012-07-01 10:15:58 +01:00
Adam Sutton
e2df721ee5 Merge branch 'epg-rewrite' into initialscan 2012-07-01 09:42:44 +01:00
Adam Sutton
69c0161982 Add missing header include. 2012-07-01 09:39:37 +01:00
Adam Sutton
96eff483dc Merge branch 'epg-rewrite' into initialscan 2012-06-30 12:35:17 +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
6ac0912256 Merge branch 'epg-rewrite' into initialscan 2012-06-30 12:32:57 +01:00
Adam Sutton
1e40c1a66c Missed fix during merge, stop channel altering unless configured. 2012-06-30 12:32:48 +01:00
Adam Sutton
8f06310ba2 Merge branch 'epg-rewrite' into initialscan 2012-06-30 12:10:32 +01:00
Adam Sutton
af6502d1d6 Some fixes to EIT scanner and UI. 2012-06-29 23:02:38 +01:00
Adam Sutton
164e2a51f7 Merge branch 'epg-rewrite' into initialscan 2012-06-29 22:17:11 +01:00
Adam Sutton
75dd6e351d Ensure we handle channel deletions. 2012-06-29 22:16:36 +01:00
Adam Sutton
a7debdc593 Merge branch 'epg-rewrite' into initialscan 2012-06-29 22:02:55 +01:00