Commit graph

1836 commits

Author SHA1 Message Date
Adam Sutton
5eae7e8aef Some minor bugfixes and remove debug code. 2012-06-06 16:07:15 +01:00
Adam Sutton
ec22e6a14a Major update to the way the epggrab configuration is handled. I now have most features avilable via the UI (except the yet to be implemented external interface config). 2012-06-06 16:02:07 +01:00
Adam Sutton
9b5486f01a Some further updates (simplfications) to the epggrab framework. 2012-06-03 23:12:15 +01:00
Adam Sutton
cf360abca9 Complete re-write of the epggrab infastructure, trying to generalise stuff a bit more to make config pages easier and to cover the common cases. 2012-06-01 22:17:47 +01:00
Adam Sutton
473aced75f Some more updates to the cron system, simplified somewhat by storing string and converting to bit masks for running. 2012-06-01 19:41:48 +01:00
Adam Sutton
0d497457ac Added string processing capability to cron code. 2012-06-01 10:33:58 +01:00
Adam Sutton
01a8b574ec Add some initial code to load/save grab module channel mappings. 2012-05-31 15:58:41 +01:00
Adam Sutton
190e2efc9d Add a few extra bits of info to the epg ui code. 2012-05-31 13:57:43 +01:00
Adam Sutton
ee30f1573b Fixed minor but in epgrelated function (displaying source episode number) and added most of (old) missing functionality to epg query code. 2012-05-31 13:48:25 +01:00
Adam Sutton
d517cd96ca Tidy up of the epg broadcast code, I think this now works it should be a bit simpler. 2012-05-31 13:25:24 +01:00
Adam Sutton
d820502cda Fix some mistakes spotted on live system and permanently enable EIT parsing for test purposes. 2012-05-30 23:50:25 +01:00
Adam Sutton
8fd30b6101 I think the new generalised approach is working, some stuff was a little too general and some stuff possible is still, but it appears to work!. 2012-05-30 21:25:54 +01:00
Adam Sutton
1f1496e3f8 Started work on migrating EPG schedules into the main channel_t structure. 2012-05-30 14:40:04 +01:00
Adam Sutton
b5bb688b68 Started work on deleteing epg_channel_t and moving schedule info back into channel_t. This will make working with EIT much simpler, removes a fairly redundant object and will allow me to move epggrab channel mapping into each grabber which will be far more flexible and was what I had originally intended. 2012-05-30 11:01:29 +01:00
Adam Sutton
f560e7c417 Pass through channel name, icon changes and allow EIT to create missing channels (however these need to be overidden) 2012-05-28 16:58:13 +01:00
Adam Sutton
e4f4411777 Some tidying up of epg grabbers and added stubs for missing functions in epg. 2012-05-28 16:43:42 +01:00
Adam Sutton
3cd7ebe7e6 Started work on re-introducing EIT data. 2012-05-28 16:43:14 +01:00
Adam Sutton
13c81dea82 Add global object hash similar to that used by andoma in original code. Although mine includes ALL objects, its currently only used for broadcast lookup as generally the others will probably be quicker (episodes?) to go via the normal URI based maps. 2012-05-28 15:41:56 +01:00
Adam Sutton
4a3063a745 Some tidying up. 2012-05-25 22:15:02 +01:00
Adam Sutton
fe7d642436 Merge branch 'master' into epg-rewrite 2012-05-25 21:59:39 +01:00
Andreas Öman
f3f3b696bf Merge pull request #91 from adamsutton/master
missing free and DVBS delsys issue
2012-05-25 09:47:09 -07:00
Adam Sutton
f442207688 Merge branch 'master' into epg-rewrite 2012-05-25 17:33:02 +01:00
Adam Sutton
ec18ddce1f Correct sanity check code. 2012-05-25 17:24:51 +01:00
Adam Sutton
82084da025 Remove possible free() before data access. 2012-05-25 17:24:10 +01:00
Adam Sutton
b29b6eb823 Added missing free() call to DVR code. 2012-05-25 16:20:57 +01:00
Adam Sutton
02fc5ddbc9 First stab at adding the DVR code back in. Very much WIP and no attempt to add clever stuff at this stage. 2012-05-25 16:19:29 +01:00
Adam Sutton
d9e2382b53 Fix memory issues and use much saner object alloc strategy. 2012-05-25 14:41:27 +01:00
Adam Sutton
8008200603 Fix mutex unlock placement and free memory on config load. 2012-05-25 14:40:51 +01:00
Adam Sutton
badccc4feb Add missing free() 2012-05-25 13:57:50 +01:00
Adam Sutton
9e4e2be33c Merge master. 2012-05-25 13:27:56 +01:00
Adam Sutton
4c1a371939 Some minor debug output. 2012-05-25 12:49:32 +01:00
Adam Sutton
4d70810f45 Cleanup EPG after everything has been fully loaded from disk. 2012-05-25 12:49:05 +01:00
Adam Sutton
a22f09b28a Remove unused channels (temp hack) and include epg save stats. Also remove some printfs from htsp code. 2012-05-25 12:27:58 +01:00
Adam Sutton
2dc27e5b68 Remove old test code and printfs. 2012-05-25 12:14:17 +01:00
Adam Sutton
c7e42041e3 Minor fix to get htsp epg download working. 2012-05-25 12:10:29 +01:00
Adam Sutton
3c5f520c1e Some fixes and updates to get broadcast expiration and now/next working. 2012-05-25 11:36:44 +01:00
Adam Sutton
beade8b006 Updated various EPG calls to the new API. 2012-05-25 09:55:55 +01:00
Adam Sutton
52604cad40 Significant update to the EPG code, now have reference counting and timeouts (not tested) and some general simplifications to the API. 2012-05-25 09:55:24 +01:00
Adam Sutton
1a622f88cd Some bugfixes. Note: currently cannot handle scheduling overlaps. 2012-05-24 14:38:37 +01:00
Adam Sutton
4f03837b39 Significant reworking of EPG code to use an OO style, its still rough and there are quite a few bodges to make it work since its not proper OO (but will be if included in TVH3). 2012-05-24 12:02:22 +01:00
Adam Sutton
f1c505601c Update cron to use u64 config and add error output on pyepg xml parse error. 2012-05-23 16:26:00 +01:00
Adam Sutton
409c1c6839 Some more hacks to the epg javascript to show "extra" info (only concept, not really usable). 2012-05-23 16:25:11 +01:00
Adam Sutton
116af75e5d Added parse stats to pyepg code. 2012-05-23 11:27:54 +01:00
Adam Sutton
9bec890a9c Simple demo to list alternative broadcasts, this is a bit of a hack but gives a useful demo of the capabilties of the new structure and helps in testing too. 2012-05-23 11:18:32 +01:00
Adam Sutton
dc3b948f0f Remove some debug and fix a minor bug. 2012-05-23 11:17:49 +01:00
Adam Sutton
524576eb64 Some updates to improve channel linking and its save/load support. 2012-05-22 17:05:41 +01:00
Adam Sutton
d6ff054ed1 Now have full EPG save/load, I have included internal IDs in all objects though I think they are redundant (and except for broadcast they are not saved). 2012-05-22 16:20:25 +01:00
Adam Sutton
1993459a51 Some further updates to xmltv importer, also added parsing stats. 2012-05-22 13:56:23 +01:00
Adam Sutton
ff3f774524 Start work on epg load/save and also added back in initial xmltv parser. 2012-05-22 10:15:05 +01:00
Adam Sutton
cf73a7802d Fix some problems related to series number parsing. 2012-05-21 14:02:12 +01:00