Commit graph

2029 commits

Author SHA1 Message Date
Adam Sutton
07ecea64e4 persist state of the otamux list to disk and restore on startup, mainly for generic EIT sources. 2012-07-30 16:03:17 +01:00
Adam Sutton
40b911eef6 Tidied up some of the debug statements (put them on appropriate levels etc.). Fixes #41. 2012-07-30 16:03:17 +01:00
Adam Sutton
7fdedc9b55 Re-enable Freesat code as I think its OK for basic testing, still needs a little work though. 2012-07-30 16:03:17 +01:00
Adam Sutton
0ba1eb832a Remove duplicate serialization of episode URI. 2012-07-30 16:03:17 +01:00
Adam Sutton
79da735828 Updated the EIT code to use better carousel monitor and added in freesat module on faster transponder. 2012-07-30 16:03:17 +01:00
Adam Sutton
f40094b5af Updated ota register to use network name. 2012-07-30 16:03:17 +01:00
Adam Sutton
cc308d335b Temporarily disable Freesat module as its not yet ready for general use. 2012-07-30 16:03:17 +01:00
Adam Sutton
31669d2d6d Add timestamping to console debug. 2012-07-30 16:03:17 +01:00
Adam Sutton
8ebf5b4254 Added some additional debug. 2012-07-30 16:03:17 +01:00
Adam Sutton
c5e4a31d9c Initial stab at a freesat epg grabber. 2012-07-30 16:03:17 +01:00
Adam Sutton
6a2959ecda Another minor correction to DVB string processing. 2012-07-30 16:03:16 +01:00
Adam Sutton
f3fa5d2a86 Minor correction to string conversion. 2012-07-30 16:03:16 +01:00
Adam Sutton
0aefc0a588 Add functionality to allow custom string conversion routines to be specified (needed for Freesat huffman decode). 2012-07-30 16:03:16 +01:00
Adam Sutton
eb49a06162 Added CRID support which will be useful for Freesat code. 2012-07-30 16:03:16 +01:00
Adam Sutton
f1281518b7 Fix some stupid mistakes in debug. 2012-07-30 16:03:16 +01:00
Adam Sutton
4a662cfc28 Trivial tweak to debug output. 2012-07-30 16:03:16 +01:00
Adam Sutton
ee0ea9397d Add some additional debug about status of opentv. 2012-07-30 16:03:16 +01:00
Adam Sutton
ed237c86fd Fix problems with OpenTV processing. 2012-07-30 16:03:16 +01:00
Adam Sutton
53eea46c4a Minor correction to series handling in opentv. 2012-07-30 16:03:16 +01:00
Adam Sutton
6c8c9520cf Updated OpenTV to use primary epg service API and to ensure series links stay viable, however this is at the expense of cross channel episode equivalance. Fixes #30. 2012-07-30 16:03:16 +01:00
Adam Sutton
d6ca0eb120 Updated EIT code to (hopefully) more robust implementation and included the primary service checking. 2012-07-30 16:03:16 +01:00
Adam Sutton
d9f6fd39e9 Add new routine to determine the primary EPG service. To avoid confusion for OTA services. 2012-07-30 16:02:36 +01:00
Adam Sutton
72561f2a45 Correct stupid mistake in setting object grabber. 2012-07-30 16:02:36 +01:00
Adam Sutton
b9c34db3d1 Updated grabber modules to new EPG api. 2012-07-30 16:02:35 +01:00
Adam Sutton
cff7beea59 Revert earlier changes to EIT and OpenTV, now have a new API. 2012-07-30 15:58:41 +01:00
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