]> git.ipfire.org Git - thirdparty/tvheadend.git/log
thirdparty/tvheadend.git
14 years agoMerge branch 'epg-rewrite' of github.com:adamsutton/tvheadend into epg-rewrite
Adam Sutton [Tue, 19 Jun 2012 15:55:42 +0000 (16:55 +0100)] 
Merge branch 'epg-rewrite' of github.com:adamsutton/tvheadend into epg-rewrite

14 years agoFix printfs() for 64 bit numbers on 32 bit arch. Thanks to andyb2k5 for helping track...
Adam Sutton [Tue, 19 Jun 2012 15:55:10 +0000 (16:55 +0100)] 
Fix printfs() for 64 bit numbers on 32 bit arch. Thanks to andyb2k5 for helping track this down.

14 years agoFix bug in the handling of broadcast find/create.
Adam Sutton [Mon, 18 Jun 2012 22:23:31 +0000 (23:23 +0100)] 
Fix bug in the handling of broadcast find/create.

14 years agoFix mistake in config conversion that stops modules being enabled at startup.
Adam Sutton [Sun, 17 Jun 2012 13:53:40 +0000 (14:53 +0100)] 
Fix mistake in config conversion that stops modules being enabled at startup.

14 years agoRemove erroneous assert() and modified so that existing EPG database and config is...
Adam Sutton [Sat, 16 Jun 2012 19:20:46 +0000 (20:20 +0100)] 
Remove erroneous assert() and modified so that existing EPG database and config is left in place.

14 years agoMerge branch 'master' into epg-rewrite
Adam Sutton [Fri, 15 Jun 2012 13:34:29 +0000 (14:34 +0100)] 
Merge branch 'master' into epg-rewrite

14 years agoMerge pull request #92 from adamsutton/master
Andreas Öman [Fri, 15 Jun 2012 12:28:11 +0000 (05:28 -0700)] 
Merge pull request #92 from adamsutton/master

Minor fixes to htsmsg handling

14 years agoFix json parsing to handle empty objects and ensure hm_ilist is properly set on htsms... 92/head
Adam Sutton [Fri, 15 Jun 2012 10:40:01 +0000 (11:40 +0100)] 
Fix json parsing to handle empty objects and ensure hm_ilist is properly set on htsmsg_add_msg to allow some post load modifications.

14 years agoAdded automatic configuration migration for epggrab (inc xmltv) and epgdb.
Adam Sutton [Fri, 15 Jun 2012 10:38:16 +0000 (11:38 +0100)] 
Added automatic configuration migration for epggrab (inc xmltv) and epgdb.

14 years agoSome very early attempts at duplicate detection. Really not sure if this is the best...
Adam Sutton [Thu, 14 Jun 2012 16:11:03 +0000 (17:11 +0100)] 
Some very early attempts at duplicate detection. Really not sure if this is the best way to go and definitley needs more thought but it does at least stop series links from creating lots of duplicates.

14 years agoFix silly typo.
Adam Sutton [Thu, 14 Jun 2012 12:25:36 +0000 (13:25 +0100)] 
Fix silly typo.

14 years agoFirst stab at allowing quality shifting from autorec, still undecided on this at...
Adam Sutton [Thu, 14 Jun 2012 11:33:08 +0000 (12:33 +0100)] 
First stab at allowing quality shifting from autorec, still undecided on this at the moment.

14 years agoAdd safety check.
Adam Sutton [Thu, 14 Jun 2012 11:10:12 +0000 (12:10 +0100)] 
Add safety check.

14 years agoForgot to finish of the episode number checking in series link.
Adam Sutton [Thu, 14 Jun 2012 10:42:24 +0000 (11:42 +0100)] 
Forgot to finish of the episode number checking in series link.

14 years agoStarted to add some configuration options to the series linking.
Adam Sutton [Thu, 14 Jun 2012 10:33:10 +0000 (11:33 +0100)] 
Started to add some configuration options to the series linking.

14 years agoRename some link variables to be a bit clearer and move to using anon structs to...
Adam Sutton [Thu, 14 Jun 2012 09:10:02 +0000 (10:10 +0100)] 
Rename some link variables to be a bit clearer and move to using anon structs to remove some of the code ugliness. May need to replace anon structures with MACRO based solution if people are not happy with using anon structs.

14 years agoAdd some of the missing stuff to xmltv and EIT. I think the only significant issue...
Adam Sutton [Wed, 13 Jun 2012 14:21:45 +0000 (15:21 +0100)] 
Add some of the missing stuff to xmltv and EIT. I think the only significant issue now is series numbering in XMLTV.

14 years agoFix some obvious memory leaks.
Adam Sutton [Wed, 13 Jun 2012 12:59:00 +0000 (13:59 +0100)] 
Fix some obvious memory leaks.

14 years agoSome VERY simple duplicate detection, I have not really started on this yet, but...
Adam Sutton [Wed, 13 Jun 2012 11:56:15 +0000 (12:56 +0100)] 
Some VERY simple duplicate detection, I have not really started on this yet, but I thought I might as well keep this minor mod.

14 years agoMinor tweak to layout of EPG entry info to make it easier to see useful stuff.
Adam Sutton [Tue, 12 Jun 2012 16:14:29 +0000 (17:14 +0100)] 
Minor tweak to layout of EPG entry info to make it easier to see useful stuff.

14 years agoGenerate missing brand/season if referenced in autorec rule, this ensures these will...
Adam Sutton [Tue, 12 Jun 2012 16:13:56 +0000 (17:13 +0100)] 
Generate missing brand/season if referenced in autorec rule, this ensures these will still work should the EPG db become corrupt or get deleted.

14 years agoFix a couple of memory leaks, and add basic ordering to episode lists in brand/season...
Adam Sutton [Tue, 12 Jun 2012 16:13:18 +0000 (17:13 +0100)] 
Fix a couple of memory leaks, and add basic ordering to episode lists in brand/season (these are NOT garaunteed).

14 years agoPartial revert of previous multi-key update. I have decided to leave it to the upstre...
Adam Sutton [Tue, 12 Jun 2012 12:05:39 +0000 (13:05 +0100)] 
Partial revert of previous multi-key update. I have decided to leave it to the upstream data providers to fix this (which still makes it my problem) but I have kept some of the simplifications added as part of the previous update.

14 years agoMore significant changes to the EPG code because I want to include the concept of...
Adam Sutton [Mon, 11 Jun 2012 16:18:11 +0000 (17:18 +0100)] 
More significant changes to the EPG code because I want to include the concept of having multiple URIs per object (to cope with badly merged upstream data).

14 years agodeb: Rename tvheadend.tvheadend.init -> tvheadend.init
Andreas Öman [Mon, 11 Jun 2012 12:41:08 +0000 (14:41 +0200)] 
deb: Rename tvheadend.tvheadend.init -> tvheadend.init

14 years agoFix a warning
Andreas Öman [Sun, 10 Jun 2012 04:28:09 +0000 (06:28 +0200)] 
Fix a warning

14 years agoMerge branch 'master' into epg-rewrite
Adam Sutton [Fri, 8 Jun 2012 21:30:31 +0000 (22:30 +0100)] 
Merge branch 'master' into epg-rewrite

14 years agoUpdated to include compat genre support (more will have to wait), DVR code fully...
Adam Sutton [Fri, 8 Jun 2012 21:24:11 +0000 (22:24 +0100)] 
Updated to include compat genre support (more will have to wait), DVR code fully updated to use new EPG code. Updated related code and added useful extra inputs to dvr event creation that should make XBMC devs happy.

14 years agoAdded genre updates to eit code.
Adam Sutton [Fri, 8 Jun 2012 18:52:17 +0000 (19:52 +0100)] 
Added genre updates to eit code.

14 years agoAdded some additional support to the pyepg and eit grabbers.
Adam Sutton [Fri, 8 Jun 2012 16:37:37 +0000 (17:37 +0100)] 
Added some additional support to the pyepg and eit grabbers.

14 years agoAdded image fields for brand, season and episode. Also simplified the repetetive...
Adam Sutton [Fri, 8 Jun 2012 16:37:01 +0000 (17:37 +0100)] 
Added image fields for brand, season and episode. Also simplified the repetetive string update code.

14 years agoStarted work on adding back in genre support.
Adam Sutton [Fri, 8 Jun 2012 16:05:30 +0000 (17:05 +0100)] 
Started work on adding back in genre support.

14 years agoAdd ability to record series from the EPG window.
Adam Sutton [Fri, 8 Jun 2012 14:45:31 +0000 (15:45 +0100)] 
Add ability to record series from the EPG window.

14 years agoInternal automatic detection of the fact the epg objects have been updated. This...
Adam Sutton [Fri, 8 Jun 2012 14:34:43 +0000 (15:34 +0100)] 
Internal automatic detection of the fact the epg objects have been updated. This should remove some burden from user code. However save flag is still returned and epg_updated() still needs to be called.

14 years agoSome simple display and configuration of brand based series link configuration.
Adam Sutton [Fri, 8 Jun 2012 14:33:48 +0000 (15:33 +0100)] 
Some simple display and configuration of brand based series link configuration.

14 years agoFirst stab at adding proper brand based series linking (some aspects of season based...
Adam Sutton [Fri, 8 Jun 2012 14:33:22 +0000 (15:33 +0100)] 
First stab at adding proper brand based series linking (some aspects of season based exist, but generally I am ignoring this for now).

14 years agoAdded channel list function to epggrab, however as yet not sure how best to integrate...
Adam Sutton [Fri, 8 Jun 2012 12:28:39 +0000 (13:28 +0100)] 
Added channel list function to epggrab, however as yet not sure how best to integrate into the UI.

14 years agoFix silly bug in channel linking.
Adam Sutton [Fri, 8 Jun 2012 11:19:40 +0000 (12:19 +0100)] 
Fix silly bug in channel linking.

14 years agoAdded extra metadata to epggrab channels, change log levels to get some useful info...
Adam Sutton [Fri, 8 Jun 2012 10:49:40 +0000 (11:49 +0100)] 
Added extra metadata to epggrab channels, change log levels to get some useful info when debug is off.

14 years agohtsp: Remove the broken signal status updates (causing crashes)
Andreas Öman [Fri, 8 Jun 2012 05:56:38 +0000 (07:56 +0200)] 
htsp: Remove the broken signal status updates (causing crashes)

htsp->hs_s may only be accessed if global_lock is held and obtaining
global_lock in HTSP delivery code is not acceptable as it can take
a long time to acquire that lock

Fixes #1029

14 years agoYet more tidying up of the epggrab framework including epggrab channel save/load...
Adam Sutton [Thu, 7 Jun 2012 20:46:51 +0000 (21:46 +0100)] 
Yet more tidying up of the epggrab framework including epggrab channel save/load. Definitely think I am getting somewhere now.

14 years agoSlight improvement to the config UI and fixed problem with error reporting on socket...
Adam Sutton [Thu, 7 Jun 2012 14:09:08 +0000 (15:09 +0100)] 
Slight improvement to the config UI and fixed problem with error reporting on socket close.

14 years agoSome tidying up and enabled full config save/store again.
Adam Sutton [Thu, 7 Jun 2012 12:55:32 +0000 (13:55 +0100)] 
Some tidying up and enabled full config save/store again.

14 years agoAnother significant reworking (cannot make my mind up ;) ) of the epggrab framework...
Adam Sutton [Thu, 7 Jun 2012 11:42:57 +0000 (12:42 +0100)] 
Another significant reworking (cannot make my mind up ;) ) of the epggrab framework. This time its MUCH simpler. All clever stuff is defered to a unix domain socket interface which allows users to define schedules using system cron and do whatever the hell they like as long as they send the data to the socket (using nc etc.).

14 years agoMerge branch 'epg-rewrite-tmp' into epg-rewrite
Adam Sutton [Thu, 7 Jun 2012 08:48:20 +0000 (09:48 +0100)] 
Merge branch 'epg-rewrite-tmp' into epg-rewrite

14 years agoCommitting this for posterity, but going to do a massive u-turn on the whole epggrab...
Adam Sutton [Thu, 7 Jun 2012 08:41:15 +0000 (09:41 +0100)] 
Committing this for posterity, but going to do a massive u-turn on the whole epggrab setup.

14 years agoMove the read from file descriptor into buffer into generic routine as I intend to...
Adam Sutton [Wed, 6 Jun 2012 19:31:01 +0000 (20:31 +0100)] 
Move the read from file descriptor into buffer into generic routine as I intend to reuse this for external epggrab input.

14 years agoFixed some bugs in cron code and re-enabled basic grabber code (still not fully funct...
Adam Sutton [Wed, 6 Jun 2012 16:08:15 +0000 (17:08 +0100)] 
Fixed some bugs in cron code and re-enabled basic grabber code (still not fully functional).

14 years agoSome minor bugfixes and remove debug code.
Adam Sutton [Wed, 6 Jun 2012 15:07:15 +0000 (16:07 +0100)] 
Some minor bugfixes and remove debug code.

14 years agoMajor update to the way the epggrab configuration is handled. I now have most feature...
Adam Sutton [Wed, 6 Jun 2012 15:02:07 +0000 (16:02 +0100)] 
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).

14 years agoSome further updates (simplfications) to the epggrab framework.
Adam Sutton [Sun, 3 Jun 2012 22:12:15 +0000 (23:12 +0100)] 
Some further updates (simplfications) to the epggrab framework.

14 years agoUpdate Autobuild stuff
Andreas Öman [Sun, 3 Jun 2012 09:14:09 +0000 (11:14 +0200)] 
Update Autobuild stuff

14 years agohtsp: Add missing lock when flushing HTSP output queue
Andreas Öman [Sun, 3 Jun 2012 08:55:31 +0000 (10:55 +0200)] 
htsp: Add missing lock when flushing HTSP output queue

Fixes #996

14 years agoComplete re-write of the epggrab infastructure, trying to generalise stuff a bit...
Adam Sutton [Fri, 1 Jun 2012 21:17:47 +0000 (22:17 +0100)] 
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.

14 years agoSome more updates to the cron system, simplified somewhat by storing string and conve...
Adam Sutton [Fri, 1 Jun 2012 18:41:48 +0000 (19:41 +0100)] 
Some more updates to the cron system, simplified somewhat by storing string and converting to bit masks for running.

14 years agoAdded string processing capability to cron code.
Adam Sutton [Fri, 1 Jun 2012 09:33:58 +0000 (10:33 +0100)] 
Added string processing capability to cron code.

14 years agoAdd some initial code to load/save grab module channel mappings.
Adam Sutton [Thu, 31 May 2012 14:58:41 +0000 (15:58 +0100)] 
Add some initial code to load/save grab module channel mappings.

14 years agoAdd a few extra bits of info to the epg ui code.
Adam Sutton [Thu, 31 May 2012 12:57:43 +0000 (13:57 +0100)] 
Add a few extra bits of info to the epg ui code.

14 years agoFixed minor but in epgrelated function (displaying source episode number) and added...
Adam Sutton [Thu, 31 May 2012 12:48:25 +0000 (13:48 +0100)] 
Fixed minor but in epgrelated function (displaying source episode number) and added most of (old) missing functionality to epg query code.

14 years agoTidy up of the epg broadcast code, I think this now works it should be a bit simpler.
Adam Sutton [Thu, 31 May 2012 12:25:24 +0000 (13:25 +0100)] 
Tidy up of the epg broadcast code, I think this now works it should be a bit simpler.

14 years agoFix some mistakes spotted on live system and permanently enable EIT parsing for test...
Adam Sutton [Wed, 30 May 2012 22:50:25 +0000 (23:50 +0100)] 
Fix some mistakes spotted on live system and permanently enable EIT parsing for test purposes.

14 years agoI think the new generalised approach is working, some stuff was a little too general...
Adam Sutton [Wed, 30 May 2012 20:25:54 +0000 (21:25 +0100)] 
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!.

14 years agoStarted work on migrating EPG schedules into the main channel_t structure.
Adam Sutton [Wed, 30 May 2012 13:40:04 +0000 (14:40 +0100)] 
Started work on migrating EPG schedules into the main channel_t structure.

14 years agoStarted work on deleteing epg_channel_t and moving schedule info back into channel_t...
Adam Sutton [Wed, 30 May 2012 10:01:29 +0000 (11:01 +0100)] 
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.

14 years agoPass through channel name, icon changes and allow EIT to create missing channels...
Adam Sutton [Mon, 28 May 2012 15:58:13 +0000 (16:58 +0100)] 
Pass through channel name, icon changes and allow EIT to create missing channels (however these need to be overidden)

14 years agoSome tidying up of epg grabbers and added stubs for missing functions in epg.
Adam Sutton [Mon, 28 May 2012 15:43:42 +0000 (16:43 +0100)] 
Some tidying up of epg grabbers and added stubs for missing functions in epg.

14 years agoStarted work on re-introducing EIT data.
Adam Sutton [Mon, 28 May 2012 15:43:14 +0000 (16:43 +0100)] 
Started work on re-introducing EIT data.

14 years agoAdd global object hash similar to that used by andoma in original code. Although...
Adam Sutton [Mon, 28 May 2012 14:41:56 +0000 (15:41 +0100)] 
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.

14 years agoSome tidying up.
Adam Sutton [Fri, 25 May 2012 21:15:02 +0000 (22:15 +0100)] 
Some tidying up.

14 years agoMerge branch 'master' into epg-rewrite
Adam Sutton [Fri, 25 May 2012 20:59:39 +0000 (21:59 +0100)] 
Merge branch 'master' into epg-rewrite

14 years agoMerge pull request #91 from adamsutton/master
Andreas Öman [Fri, 25 May 2012 16:47:09 +0000 (09:47 -0700)] 
Merge pull request #91 from adamsutton/master

missing free and DVBS delsys issue

14 years agoMerge branch 'master' into epg-rewrite
Adam Sutton [Fri, 25 May 2012 16:33:02 +0000 (17:33 +0100)] 
Merge branch 'master' into epg-rewrite

14 years agoCorrect sanity check code.
Adam Sutton [Fri, 25 May 2012 16:24:51 +0000 (17:24 +0100)] 
Correct sanity check code.

14 years agoRemove possible free() before data access.
Adam Sutton [Fri, 25 May 2012 16:24:10 +0000 (17:24 +0100)] 
Remove possible free() before data access.

14 years agoAdded missing free() call to DVR code. 91/head
Adam Sutton [Fri, 25 May 2012 15:20:57 +0000 (16:20 +0100)] 
Added missing free() call to DVR code.

14 years agoFirst stab at adding the DVR code back in. Very much WIP and no attempt to add clever...
Adam Sutton [Fri, 25 May 2012 15:19:29 +0000 (16:19 +0100)] 
First stab at adding the DVR code back in. Very much WIP and no attempt to add clever stuff at this stage.

14 years agoFix memory issues and use much saner object alloc strategy.
Adam Sutton [Fri, 25 May 2012 13:41:27 +0000 (14:41 +0100)] 
Fix memory issues and use much saner object alloc strategy.

14 years agoFix mutex unlock placement and free memory on config load.
Adam Sutton [Fri, 25 May 2012 13:40:51 +0000 (14:40 +0100)] 
Fix mutex unlock placement and free memory on config load.

14 years agoAdd missing free()
Adam Sutton [Fri, 25 May 2012 12:57:50 +0000 (13:57 +0100)] 
Add missing free()

14 years agoMerge master.
Adam Sutton [Fri, 25 May 2012 12:27:56 +0000 (13:27 +0100)] 
Merge master.

14 years agoSome minor debug output.
Adam Sutton [Fri, 25 May 2012 11:49:32 +0000 (12:49 +0100)] 
Some minor debug output.

14 years agoCleanup EPG after everything has been fully loaded from disk.
Adam Sutton [Fri, 25 May 2012 11:49:05 +0000 (12:49 +0100)] 
Cleanup EPG after everything has been fully loaded from disk.

14 years agoRemove unused channels (temp hack) and include epg save stats. Also remove some print...
Adam Sutton [Fri, 25 May 2012 11:27:58 +0000 (12:27 +0100)] 
Remove unused channels (temp hack) and include epg save stats. Also remove some printfs from htsp code.

14 years agoRemove old test code and printfs.
Adam Sutton [Fri, 25 May 2012 11:14:17 +0000 (12:14 +0100)] 
Remove old test code and printfs.

14 years agoMinor fix to get htsp epg download working.
Adam Sutton [Fri, 25 May 2012 11:10:29 +0000 (12:10 +0100)] 
Minor fix to get htsp epg download working.

14 years agoSome fixes and updates to get broadcast expiration and now/next working.
Adam Sutton [Fri, 25 May 2012 10:36:44 +0000 (11:36 +0100)] 
Some fixes and updates to get broadcast expiration and now/next working.

14 years agoUpdated various EPG calls to the new API.
Adam Sutton [Fri, 25 May 2012 08:55:55 +0000 (09:55 +0100)] 
Updated various EPG calls to the new API.

14 years agoSignificant update to the EPG code, now have reference counting and timeouts (not...
Adam Sutton [Fri, 25 May 2012 08:55:24 +0000 (09:55 +0100)] 
Significant update to the EPG code, now have reference counting and timeouts (not tested) and some general simplifications to the API.

14 years agoSome bugfixes. Note: currently cannot handle scheduling overlaps.
Adam Sutton [Thu, 24 May 2012 13:38:37 +0000 (14:38 +0100)] 
Some bugfixes. Note: currently cannot handle scheduling overlaps.

14 years agoSignificant reworking of EPG code to use an OO style, its still rough and there are...
Adam Sutton [Thu, 24 May 2012 11:02:22 +0000 (12:02 +0100)] 
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).

14 years agoUpdate cron to use u64 config and add error output on pyepg xml parse error.
Adam Sutton [Wed, 23 May 2012 15:26:00 +0000 (16:26 +0100)] 
Update cron to use u64 config and add error output on pyepg xml parse error.

14 years agoSome more hacks to the epg javascript to show "extra" info (only concept, not really...
Adam Sutton [Wed, 23 May 2012 15:25:11 +0000 (16:25 +0100)] 
Some more hacks to the epg javascript to show "extra" info (only concept, not really usable).

14 years agoAdded parse stats to pyepg code.
Adam Sutton [Wed, 23 May 2012 10:27:54 +0000 (11:27 +0100)] 
Added parse stats to pyepg code.

14 years agoSimple demo to list alternative broadcasts, this is a bit of a hack but gives a usefu...
Adam Sutton [Wed, 23 May 2012 10:18:32 +0000 (11:18 +0100)] 
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.

14 years agoRemove some debug and fix a minor bug.
Adam Sutton [Wed, 23 May 2012 10:17:49 +0000 (11:17 +0100)] 
Remove some debug and fix a minor bug.

14 years agoSome updates to improve channel linking and its save/load support.
Adam Sutton [Tue, 22 May 2012 16:05:41 +0000 (17:05 +0100)] 
Some updates to improve channel linking and its save/load support.

14 years agoNow have full EPG save/load, I have included internal IDs in all objects though I...
Adam Sutton [Tue, 22 May 2012 15:20:25 +0000 (16:20 +0100)] 
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).

14 years agoSome further updates to xmltv importer, also added parsing stats.
Adam Sutton [Tue, 22 May 2012 12:56:23 +0000 (13:56 +0100)] 
Some further updates to xmltv importer, also added parsing stats.

14 years agoStart work on epg load/save and also added back in initial xmltv parser.
Adam Sutton [Tue, 22 May 2012 09:15:05 +0000 (10:15 +0100)] 
Start work on epg load/save and also added back in initial xmltv parser.

14 years agoFix some problems related to series number parsing.
Adam Sutton [Mon, 21 May 2012 13:02:12 +0000 (14:02 +0100)] 
Fix some problems related to series number parsing.