Commit graph

2004 commits

Author SHA1 Message Date
Adam Sutton
ed81bdde33 Updated EPG methods to include source epggrab_module to ensure priorities are properly adhered to. 2012-07-30 15:58:41 +01:00
Adam Sutton
65ea8555a2 Start to work in priority handling to EIT and OpenTV. 2012-07-30 15:58:40 +01:00
Adam Sutton
1dd4ac3f4a Ensure epg object grabber is persisted to disk. 2012-07-30 15:58:40 +01:00
Adam Sutton
ebefa2fd6e Add default priority setting in grab modules. 2012-07-30 15:58:40 +01:00
Adam Sutton
a91770cebb Add parsing of mod priority configuration. 2012-07-30 15:58:40 +01:00
Adam Sutton
8ac9310505 Add initial priority information, currently unused. 2012-07-30 15:58:40 +01:00
Adam Sutton
f47bb8f4f0 Ensure Q is initialised before it can be used. Fixes #36. 2012-07-30 15:58:40 +01:00
Adam Sutton
c13147ceb3 Ensure that all broadcast finish time checks are done the same to stop potential create/delete in same call. Fixes #31. 2012-07-30 15:58:40 +01:00
Adam Sutton
6d7d08a45d Fix stupid flaw in EIT genre processing. 2012-07-30 15:58:40 +01:00
Adam Sutton
60bb7d076c Minor safety check the set_episode() call should check ee anyway. 2012-07-30 15:57:47 +01:00
Adam Sutton
3b12754d1f Stop addition of channels with empty names. 2012-07-30 15:57:47 +01:00
Adam Sutton
35587cfb17 Remove some unwanted debug and add empty string for non-category. 2012-07-30 15:57:47 +01:00
Adam Sutton
b361262d6b 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-30 15:57:47 +01:00
Adam Sutton
c07fd8d59f Fix ordering problem with function calls that can result in use of freed memory. 2012-07-30 15:52:15 +01:00
Adam Sutton
50d26d2c3c 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-30 15:52:15 +01:00
Adam Sutton
83701298fa 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-30 15:52:15 +01:00
Adam Sutton
cb5c20b8be Fix memory leak. 2012-07-30 15:52:15 +01:00
Adam Sutton
0f24ed0d87 Add initial support for dd_progid, this is a HACK!. 2012-07-30 15:52:15 +01:00
Adam Sutton
a1e8ac1dda Fix printing format error, this results in NULL channel names on x86 32bit and crashes on ARM. Fixes #33. 2012-07-30 15:52:15 +01:00
Adam Sutton
636b476218 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-30 15:52:15 +01:00
Adam Sutton
bafe0bf53f Fix problem with not storing owner module in epggrab_channel entries which results in things going horrible wrong. 2012-07-30 15:52:15 +01:00
Adam Sutton
689d381fc7 Add support for genre mapping in opentv. Fixes #14. 2012-07-30 15:52:15 +01:00
Adam Sutton
dfc5c30c3c Minor tweak to EIT period/interval. 2012-07-30 15:52:15 +01:00
Adam Sutton
a5e5028c99 Ensure reference counter is incremented when loading in a broadcast into a newly formed DVR entry from disk. 2012-07-30 15:52:14 +01:00
Adam Sutton
a0eee8a38e Fix possible problem with the wrong EPG object types being returned. This fixes #25. 2012-07-30 15:52:14 +01:00
Adam Sutton
7e97b3795a Re-instate per service configuration, this was never meant to be committed. 2012-07-30 15:52:14 +01:00
Adam Sutton
31d871527b 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-30 15:52:14 +01:00
Adam Sutton
a8e95ee03a Disable extended EIT debug except if #define is set. 2012-07-30 15:52:14 +01:00
Adam Sutton
2e91811be9 Correct problem with EIT end detect, fixes #21. 2012-07-30 15:52:14 +01:00
Adam Sutton
6c53e1f884 Add missing header include. 2012-07-30 15:52:14 +01:00
Adam Sutton
26ce9fd35e Missed fix during merge, stop channel altering unless configured. 2012-07-30 15:52:14 +01:00
Adam Sutton
849309b5f4 Some fixes to EIT scanner and UI. 2012-07-30 15:52:14 +01:00
Adam Sutton
19cbe54f6b Ensure we handle channel deletions. 2012-07-30 15:52:14 +01:00
Adam Sutton
41ba8563de Missing / as a result of a manual merge resolution. 2012-07-30 15:52:14 +01:00
Adam Sutton
1f9733aff5 Added capability to skip initial scanning on startup (does not include newly created muxes). 2012-07-30 15:52:13 +01:00
Adam Sutton
07d9ee056e Correct ota completion check. 2012-07-30 15:52:13 +01:00
Adam Sutton
903ef7d3a7 Some minor corrections to new ota code. 2012-07-30 15:52:13 +01:00
Adam Sutton
c236ba70df Migrated epgdb file handling routines to a separate file and change file postfix to something more sensible. 2012-07-30 15:52:13 +01:00
Adam Sutton
41505f22fd Include data directory in /usr/share/tvheadend so default opentv config exists. 2012-07-30 15:52:13 +01:00
Adam Sutton
3af5f7182c Minor tweak. 2012-07-30 15:50:42 +01:00
Adam Sutton
d59979f4de Some more tidying up and adding back in missing code. 2012-07-30 15:50:42 +01:00
Adam Sutton
58e4068a43 WIP: this a partially complete restructuring of the epggrab code. But I am having doubts. 2012-07-30 15:50:42 +01:00
Adam Sutton
61a3409efe dot file accidentally added. 2012-07-30 15:50:42 +01:00
Adam Sutton
05691010f2 Little bit of tidying up. 2012-07-30 15:50:42 +01:00
Adam Sutton
1c1ac9dc89 Simplification of the epggrab api used within the dvb code. 2012-07-30 15:50:42 +01:00
Adam Sutton
17930c18f5 Some more work getting the mux scanner code to work properly. 2012-07-30 15:50:42 +01:00
Adam Sutton
676dd7e291 Fix possible problem with duplicate visibility of summary records. 2012-07-30 15:50:42 +01:00
Adam Sutton
fcec82f11e Make use of the new channel prop update config. 2012-07-30 15:50:42 +01:00
Adam Sutton
57928c30b1 Updated configuration to include epggrab channel update settings, also added sensible default for first run. 2012-07-30 15:50:42 +01:00
Adam Sutton
9095f6e797 Minor cosmetics. 2012-07-30 15:50:42 +01:00