]> git.ipfire.org Git - thirdparty/tvheadend.git/log
thirdparty/tvheadend.git
11 years agocapmt: fix numbering services after a686fe3 308/head
Mariusz Bialonczyk [Tue, 3 Dec 2013 10:57:24 +0000 (11:57 +0100)] 
capmt: fix numbering services after a686fe3

The commit fixes simultaneous channel decryption.
We are enumerating services based on the generated seq value.
In fact it should be elementary stream PID, but currently
we can leave it until PMT code rework.

The CA_SET_PID and CA_SET_DESCR from OSCam was always set with
seq=0 leading to setting all keys always to first subscribed
service.

11 years agocapmt: add simplified OSCam dvbapi protocol as new capmt mode
Mariusz Bialonczyk [Sun, 1 Dec 2013 07:00:36 +0000 (08:00 +0100)] 
capmt: add simplified OSCam dvbapi protocol as new capmt mode

The new mode uses one domain socket connection for all subscribed
services. The CA_SET_PID and CA_SET_DESCR are received over same
socket connection instead of one UDP socket per adapter.

The minimum OSCam version for use with this mode is svn rev 9063.

11 years agocapmt: add webui oscam mode
Mariusz Bialonczyk [Sun, 1 Dec 2013 06:52:51 +0000 (07:52 +0100)] 
capmt: add webui oscam mode

11 years agoAdd documentation for the rewrite PAT/PMT options
Dave Chapman [Sun, 1 Dec 2013 00:24:26 +0000 (00:24 +0000)] 
Add documentation for the rewrite PAT/PMT options

11 years agomuxer pass: remove stray printf
Adam Sutton [Sun, 1 Dec 2013 00:10:13 +0000 (00:10 +0000)] 
muxer pass: remove stray printf

11 years agoRevert to using old PMT generation code in the PMT rewrite case.
Dave Chapman [Sat, 30 Nov 2013 23:53:48 +0000 (23:53 +0000)] 
Revert to using old PMT generation code in the PMT rewrite case.

11 years agomuxer pass: some re-org, UI fixup and general tidying of PMT/PAT rewrite
Adam Sutton [Thu, 28 Nov 2013 11:12:23 +0000 (11:12 +0000)] 
muxer pass: some re-org, UI fixup and general tidying of PMT/PAT rewrite

I've made the PAT/PMT rewriting indepedently configured, currently I think
the multi-packet PMT is a limitation we need to look into.

11 years agompegts: don't pass unecessary stream specific PIDs for other streams
Adam Sutton [Thu, 28 Nov 2013 11:11:15 +0000 (11:11 +0000)] 
mpegts: don't pass unecessary stream specific PIDs for other streams

This mostly affected the PMTs which were all passed to any service, rather
than just the specific one for the relevant service.

11 years agompegts: ensure PMT PID is stored and that on update service restarts
Adam Sutton [Thu, 28 Nov 2013 10:47:42 +0000 (10:47 +0000)] 
mpegts: ensure PMT PID is stored and that on update service restarts

11 years agoClean up handing of unsupported PMT/PAT formats
Dave Chapman [Thu, 28 Nov 2013 01:07:09 +0000 (01:07 +0000)] 
Clean up handing of unsupported PMT/PAT formats

11 years agoRemove a debugging printf
Dave Chapman [Thu, 28 Nov 2013 01:01:54 +0000 (01:01 +0000)] 
Remove a debugging printf

11 years agoMerge relevant parts of PR#255 to complete the implementation of PAT/PMT passthrough...
Dave Chapman [Thu, 28 Nov 2013 00:50:39 +0000 (00:50 +0000)] 
Merge relevant parts of PR#255 to complete the implementation of PAT/PMT passthrough, with the option of rewriting the PAT and PMT so the PAT only contains a reference to the included service, and the PMT only contains references to the included streams.  This still needs more work - the PMT PID is being passed to the muxer as zero the first time a channel is streamed after tvh starts, and the PMT rewrite code fails if the PMT spans multiple TS packets

11 years agompegts: remove stray printf!
Adam Sutton [Wed, 27 Nov 2013 22:58:53 +0000 (22:58 +0000)] 
mpegts: remove stray printf!

11 years agompegts: pass certain PIDs through to the TS muxer
Adam Sutton [Wed, 27 Nov 2013 22:39:22 +0000 (22:39 +0000)] 
mpegts: pass certain PIDs through to the TS muxer

Note: this will probably break the muxer atm, as its not expecting
those packets and will still mux in its own. But its just a start.

11 years agoiptv: fix lock ordeirng bug
Adam Sutton [Sat, 30 Nov 2013 21:31:31 +0000 (21:31 +0000)] 
iptv: fix lock ordeirng bug

11 years agoepggrab: fix configuration issues
Adam Sutton [Sat, 30 Nov 2013 14:38:19 +0000 (14:38 +0000)] 
epggrab: fix configuration issues

11 years agompegts: some minor corrections to table extraid in PAT/PMT
Adam Sutton [Thu, 28 Nov 2013 12:21:59 +0000 (12:21 +0000)] 
mpegts: some minor corrections to table extraid in PAT/PMT

11 years agompegts: stop NIT processing from hanging
Adam Sutton [Wed, 27 Nov 2013 17:50:24 +0000 (17:50 +0000)] 
mpegts: stop NIT processing from hanging

Was stupidly returning error (instead of marking complete) when unwanted
NID is detected. This causes real problems on DVB-C, and possibly DVB-S.

Might need to revisit some SDT stuff, which I think was blocking, and
now isn't waiting, for NIT.

11 years agosupport: very rough and ready script to multicast TS file for IPTV testing.
Adam Sutton [Wed, 27 Nov 2013 16:34:37 +0000 (16:34 +0000)] 
support: very rough and ready script to multicast TS file for IPTV testing.

11 years agoiptv: fix mistakes that stopped UDP/RTP streaming from working.
Adam Sutton [Wed, 27 Nov 2013 16:34:19 +0000 (16:34 +0000)] 
iptv: fix mistakes that stopped UDP/RTP streaming from working.

11 years agolinuxdvb: remove class delete method
Adam Sutton [Mon, 25 Nov 2013 16:55:23 +0000 (16:55 +0000)] 
linuxdvb: remove class delete method

This is redundant and should have been comitted with last IPTV change.

11 years agoiptv: make it possible to delete muxes
Adam Sutton [Mon, 25 Nov 2013 15:12:13 +0000 (15:12 +0000)] 
iptv: make it possible to delete muxes

Slight restructuring of delete calls to take advantage of existing mpegts_mux
internal delete callback. Though had to fix static mux_instance issue.

11 years agowebui: enable state on all idnode based grids
Adam Sutton [Mon, 25 Nov 2013 09:20:14 +0000 (09:20 +0000)] 
webui: enable state on all idnode based grids

11 years agohttp: make line processing dynamic
Adam Sutton [Mon, 25 Nov 2013 09:01:29 +0000 (09:01 +0000)] 
http: make line processing dynamic

This overcomes issues caused by long lines, as experienced when enabling
cookies for extjs grid state.

11 years agoepggrab: move message to debug, to stop startup spam!
Adam Sutton [Mon, 25 Nov 2013 07:15:25 +0000 (07:15 +0000)] 
epggrab: move message to debug, to stop startup spam!

11 years agotvhlog: shut up the Lucid build complaining about un-init var
Adam Sutton [Mon, 25 Nov 2013 07:14:38 +0000 (07:14 +0000)] 
tvhlog: shut up the Lucid build complaining about un-init var

11 years agoMerge pull request #305 from manio/master
Adam Sutton [Sun, 24 Nov 2013 20:35:27 +0000 (12:35 -0800)] 
Merge pull request #305 from manio/master

capmt: do not duplicate subscribed services

11 years agoiptv: added new configuration to allow subs and bandwidth limitations
Adam Sutton [Sun, 24 Nov 2013 20:32:15 +0000 (20:32 +0000)] 
iptv: added new configuration to allow subs and bandwidth limitations

The bandwidth limit is a soft one, it will stop any new subscriptions if
the peak bandwidth on the current services exceeds the limit. Possibly
this will need a bit of additional averaging in future to stop false
triggers.

11 years agompegts: add helper function for determining the weight of a mux instance
Adam Sutton [Sun, 24 Nov 2013 20:18:30 +0000 (20:18 +0000)] 
mpegts: add helper function for determining the weight of a mux instance

11 years agowebui streaming: make weight param universal for all HTTP streaming
Adam Sutton [Sun, 24 Nov 2013 20:16:48 +0000 (20:16 +0000)] 
webui streaming: make weight param universal for all HTTP streaming

11 years agolinuxdvb: move scanfile lines from debug to trace
Adam Sutton [Sun, 24 Nov 2013 19:14:10 +0000 (19:14 +0000)] 
linuxdvb: move scanfile lines from debug to trace

11 years agoiptv: ensure that IPTV network settings are saved
Adam Sutton [Sun, 24 Nov 2013 19:09:38 +0000 (19:09 +0000)] 
iptv: ensure that IPTV network settings are saved

11 years agosupport iptv: updated the configure script and Makefile for iptv code
Adam Sutton [Sun, 24 Nov 2013 12:10:53 +0000 (12:10 +0000)] 
support iptv: updated the configure script and Makefile for iptv code

11 years agoiptv: re-structure IPTV code, including adding back in IPv6 support
Adam Sutton [Sun, 24 Nov 2013 12:09:57 +0000 (12:09 +0000)] 
iptv: re-structure IPTV code, including adding back in IPv6 support

Backends for handling various protocols are now modular. It's not
well tested and I think the APIs could probably be improved/simplified.

11 years agoutil iptv: add support for using liburiparser
Adam Sutton [Sun, 24 Nov 2013 13:26:03 +0000 (13:26 +0000)] 
util iptv: add support for using liburiparser

This is more flexible (it supports IPv6) and almost certainly more robust!

11 years agoutil iptv: some url processing utilities
Adam Sutton [Sat, 23 Nov 2013 22:14:02 +0000 (22:14 +0000)] 
util iptv: some url processing utilities

11 years agohttp: added new HTTP client code to use CURL
Adam Sutton [Sat, 23 Nov 2013 21:43:45 +0000 (21:43 +0000)] 
http: added new HTTP client code to use CURL

this is being used within IPTV code, and eventually I might make this a bit
more generic so I can use from elsewhere, like imagecache.

11 years agowebui: minor re-ordering of status tabs
Adam Sutton [Sat, 23 Nov 2013 21:37:00 +0000 (21:37 +0000)] 
webui: minor re-ordering of status tabs

11 years agotvhpoll: added support (epoll) for auto-modifying poll entries
Adam Sutton [Sat, 23 Nov 2013 21:36:20 +0000 (21:36 +0000)] 
tvhpoll: added support (epoll) for auto-modifying poll entries

11 years agowebui: replaced non-working vlc plugin wrapper with the experimental html5 video...
John Törnblom [Sun, 24 Nov 2013 14:30:09 +0000 (15:30 +0100)] 
webui: replaced non-working vlc plugin wrapper with the experimental html5 video wrapper.

11 years agohtml5 streaming: updated to use new HTTP api
John Törnblom [Sun, 24 Nov 2013 11:58:02 +0000 (12:58 +0100)] 
html5 streaming: updated to use new HTTP api

11 years agoMerge pull request #306 from xhaggi/fix-conf-migrate
Adam Sutton [Wed, 20 Nov 2013 18:20:32 +0000 (10:20 -0800)] 
Merge pull request #306 from xhaggi/fix-conf-migrate

[migrate] fix property mapping for muxes

11 years ago[migrate] fix property mapping for muxes 306/head
xhaggi [Wed, 20 Nov 2013 18:04:59 +0000 (19:04 +0100)] 
[migrate] fix property mapping for muxes

11 years agocapmt: do not duplicate subscribed services 305/head
Mariusz Bialonczyk [Tue, 19 Nov 2013 13:57:44 +0000 (14:57 +0100)] 
capmt: do not duplicate subscribed services

descrambler_service_start() was sometimes called multiple times
resulting in duplicate start of capmt server for the same
service.

11 years agolinuxdvb: fix some mistake in previous commits and reduce level of config saving
Adam Sutton [Tue, 19 Nov 2013 11:42:03 +0000 (11:42 +0000)] 
linuxdvb: fix some mistake in previous commits and reduce level of config saving

There was excessive saving as a result of some mistakes in the MPEGTS/DVB code.

11 years agolinuxdvb: old code would update tuning params even without auto-discovery
Adam Sutton [Mon, 18 Nov 2013 09:21:35 +0000 (09:21 +0000)] 
linuxdvb: old code would update tuning params even without auto-discovery

This is important for correcting mistakes in the pre-defined configuration
files, and also picking up potential changes (not sure that will quite work).

The one thing that is left untouched is the frequency, a) to not confuse people
and b) I've seen 2 transponders sending slightly diff freq and this can cause
the config to be constantly updated.

The one thing this will also do, for better or worse, is remove an AUTO
settings. Cons are it could be less flexible an tuners may automatically deal
with small changes in settings, Pro's are if you have some tuners that accept
AUTO and some that don't, once its scanned on something that does it will get
updated. Plus its probably better, where possible, to have the full settings.

11 years agompegts: remove stray \n from debug message
Adam Sutton [Sun, 17 Nov 2013 20:58:00 +0000 (20:58 +0000)] 
mpegts: remove stray \n from debug message

11 years agowebui: protection for failures in comet callbacks
Adam Sutton [Sun, 17 Nov 2013 20:55:40 +0000 (20:55 +0000)] 
webui: protection for failures in comet callbacks

Previously it was possible for such an error to result in a total failure of
the comet system.

11 years agompegts: ensure ONID/TSID are updated from NIT
Adam Sutton [Sun, 17 Nov 2013 20:51:47 +0000 (20:51 +0000)] 
mpegts: ensure ONID/TSID are updated from NIT

11 years agoMerge remote-tracking branch 'origin/pr/290'
Adam Sutton [Sat, 16 Nov 2013 12:00:04 +0000 (12:00 +0000)] 
Merge remote-tracking branch 'origin/pr/290'

11 years agoMerge remote-tracking branch 'origin/pr/296'
Adam Sutton [Sat, 16 Nov 2013 11:58:04 +0000 (11:58 +0000)] 
Merge remote-tracking branch 'origin/pr/296'

11 years agoMerge remote-tracking branch 'origin/pr/297'
Adam Sutton [Sat, 16 Nov 2013 11:55:31 +0000 (11:55 +0000)] 
Merge remote-tracking branch 'origin/pr/297'

11 years agoMerge remote-tracking branch 'origin/pr/299'
Adam Sutton [Sat, 16 Nov 2013 11:54:10 +0000 (11:54 +0000)] 
Merge remote-tracking branch 'origin/pr/299'

11 years agomigrate: Some updates to the migration script and minor correction to DVR conf
Adam Sutton [Sat, 16 Nov 2013 11:43:26 +0000 (11:43 +0000)] 
migrate: Some updates to the migration script and minor correction to DVR conf

11 years agoepggrab: stop code bombing out with old config
Adam Sutton [Sat, 16 Nov 2013 10:47:02 +0000 (10:47 +0000)] 
epggrab: stop code bombing out with old config

11 years agoinput: minor correction, redefined struct typedef, breaks on Lucid
Adam Sutton [Sat, 16 Nov 2013 10:46:42 +0000 (10:46 +0000)] 
input: minor correction, redefined struct typedef, breaks on Lucid

11 years agoMerge branch 'master' into feature/dvb-rewrite
Adam Sutton [Fri, 15 Nov 2013 14:00:12 +0000 (14:00 +0000)] 
Merge branch 'master' into feature/dvb-rewrite

Conflicts:
src/input/mpegts/tsdemux.c

11 years agobuild: remove oneiric and add saucy support
Adam Sutton [Fri, 15 Nov 2013 12:47:37 +0000 (12:47 +0000)] 
build: remove oneiric and add saucy support

11 years agotvhlog: fix logging when running as daemon
Adam Sutton [Fri, 15 Nov 2013 12:32:15 +0000 (12:32 +0000)] 
tvhlog: fix logging when running as daemon

logging thread was started before fork() and thus killed off. Moved the
thread start to after fork() to ensure this doesn't happen.

11 years agosupport: updated the configuration migration script
Adam Sutton [Thu, 14 Nov 2013 12:59:20 +0000 (12:59 +0000)] 
support: updated the configuration migration script

11 years agoRevert "htsp: add delayed unsubscription in response to HTSP request"
Adam Sutton [Wed, 13 Nov 2013 09:41:24 +0000 (09:41 +0000)] 
Revert "htsp: add delayed unsubscription in response to HTSP request"

This reverts commit 2c612051f8c12ac746c14bb7de70dc228ef32637.

This was done for a reason, but unfortunately it wasn't really done properly
and causes some unintended side-effects. The basic principle still needs
some looking at, but properly handled differently.

11 years agotranscoder: fixed memory leak of pkt headers
John Törnblom [Sat, 2 Nov 2013 15:02:34 +0000 (16:02 +0100)] 
transcoder: fixed memory leak of pkt headers

11 years agoepggrab: hide OTA channels from epggrab config
Adam Sutton [Tue, 12 Nov 2013 12:06:23 +0000 (12:06 +0000)] 
epggrab: hide OTA channels from epggrab config

These are clearly intended to all be automatic, users should not be able
to change these.

11 years agowebui: some changes to default display for UI
Adam Sutton [Mon, 11 Nov 2013 17:48:11 +0000 (17:48 +0000)] 
webui: some changes to default display for UI

This is based on feedback from linuxstb, I'm not 100% convinced about all
aspects. But will throw it out there and see what others think of the change.

11 years agostatus: remove HTTP status info for now
Adam Sutton [Mon, 11 Nov 2013 17:41:05 +0000 (17:41 +0000)] 
status: remove HTTP status info for now

This breaks if, like me, you're using a proxy (or browser) which doesn't
support persitent connections, since you just get a constant reloading
of the UI! Will have to re-think, since ultimately what I really want is
to know user auth's within the UI, so possibly that will be easier when
we do away with HTTP Basic Auth, but also probably require restructuring
of this code.

11 years agostatus: some additional status information about connections
Adam Sutton [Mon, 11 Nov 2013 17:11:41 +0000 (17:11 +0000)] 
status: some additional status information about connections

also re-jigged UI layout (I'm sure people will moan) and some code
re-layout too.

11 years agostatus: collect (and post) status of all TCP connections
Adam Sutton [Mon, 11 Nov 2013 09:52:29 +0000 (09:52 +0000)] 
status: collect (and post) status of all TCP connections

This will indiscrimately include all HTSP and HTTP connections, first pass
I was going to just dump the lot on a UI status tab. However it could be
some filtering might be useful.

11 years agowebui: fix to previous hack (and fix from linuxstb for jsonstore.find)
Adam Sutton [Sun, 10 Nov 2013 22:23:14 +0000 (22:23 +0000)] 
webui: fix to previous hack (and fix from linuxstb for jsonstore.find)

11 years agowebui: horrible hack to force combobox to reload on store update
Adam Sutton [Sun, 10 Nov 2013 21:50:46 +0000 (21:50 +0000)] 
webui: horrible hack to force combobox to reload on store update

This shouldn't be necessary but I just can't figure out the right magic
runes to make it work properly.

11 years agoxmltv: fix XMLTV channel configuration
Adam Sutton [Sun, 3 Nov 2013 12:59:26 +0000 (12:59 +0000)] 
xmltv: fix XMLTV channel configuration

11 years agoatsc: started adding back in VCT processing
Adam Sutton [Sat, 9 Nov 2013 23:58:20 +0000 (23:58 +0000)] 
atsc: started adding back in VCT processing

11 years agocapmt linuxdvb: some minor tweaks to ensure only necessary are enabled
Adam Sutton [Sat, 9 Nov 2013 13:15:21 +0000 (13:15 +0000)] 
capmt linuxdvb: some minor tweaks to ensure only necessary are enabled

Only adapters that have active frontends will be enabled in capmt. In
addition to this I've also fixed code so it will actually honour the port
configuration (which was being ignored in OSCAM mode).

11 years agocapmt: correct stupid mistake added during satconf re-arrangement
Adam Sutton [Thu, 7 Nov 2013 15:33:50 +0000 (15:33 +0000)] 
capmt: correct stupid mistake added during satconf re-arrangement

11 years agompegts: fix printing bug and change potentially confusing var name.
Adam Sutton [Thu, 7 Nov 2013 12:32:45 +0000 (12:32 +0000)] 
mpegts: fix printing bug and change potentially confusing var name.

11 years agolinuxdvb: fix port configuration for 2/4 port special modes
Adam Sutton [Mon, 4 Nov 2013 08:47:57 +0000 (08:47 +0000)] 
linuxdvb: fix port configuration for 2/4 port special modes

Soem truely horrible code in here now, oh well, that's DVB-S for you!

11 years agolinuxdvb: various fixes and simplifications to the satconfig
Adam Sutton [Sat, 2 Nov 2013 21:05:09 +0000 (21:05 +0000)] 
linuxdvb: various fixes and simplifications to the satconfig

it's now possible to change hte number of satconfs in advanced mode,
however at the moment the only way to delete something is by reducing the
number of orbital positions and this will always delete the last element.

Not ideal and I'm sure people will complain, but i can't be assed to add
the delete button (at the moment)!

11 years agoapi webui: remove all references to the old satconf grid
Adam Sutton [Sat, 2 Nov 2013 20:13:53 +0000 (20:13 +0000)] 
api webui: remove all references to the old satconf grid

11 years agolinuxdvb: add support for advanced satconfs back in
Adam Sutton [Sat, 2 Nov 2013 20:10:47 +0000 (20:10 +0000)] 
linuxdvb: add support for advanced satconfs back in

11 years agolinuxdvb: fix typo 303/head
Carlo Landmeter [Thu, 31 Oct 2013 16:44:23 +0000 (16:44 +0000)] 
linuxdvb: fix typo

11 years agolinuxdvb: fix stupid ptr indirection mistakes in satconf_ele
Adam Sutton [Sun, 27 Oct 2013 23:41:16 +0000 (23:41 +0000)] 
linuxdvb: fix stupid ptr indirection mistakes in satconf_ele

11 years agolinuxdvb: fix configuration processing
Adam Sutton [Sun, 27 Oct 2013 21:29:05 +0000 (21:29 +0000)] 
linuxdvb: fix configuration processing

11 years agolinuxdvb: WIP - comitting before I lose it!
Adam Sutton [Sun, 27 Oct 2013 21:00:33 +0000 (21:00 +0000)] 
linuxdvb: WIP - comitting before I lose it!

11 years agolinuxdvb: started updating to the new hardware API
Adam Sutton [Thu, 17 Oct 2013 20:39:44 +0000 (21:39 +0100)] 
linuxdvb: started updating to the new hardware API

I actually had this basically working, but then barrelled on with changing
satconf further, without committing anything (got back into old SVN bad habits)
so what's here is a bit of a half finsihed mess

11 years agostarted work on better setup for input/hardware etc...
Adam Sutton [Thu, 17 Oct 2013 20:38:47 +0000 (21:38 +0100)] 
started work on better setup for input/hardware etc...

11 years agoidnode: temporary workaround for the static string comparison issue
Adam Sutton [Tue, 15 Oct 2013 21:18:25 +0000 (22:18 +0100)] 
idnode: temporary workaround for the static string comparison issue

11 years ago* do red-black tree search for language code lookups 299/head
gokl [Thu, 24 Oct 2013 14:29:57 +0000 (16:29 +0200)] 
* do red-black tree search for language code lookups

11 years agoEnsure PCR PID is passed to the passthrough muxer when it is not the same as a conten...
Dave Chapman [Wed, 23 Oct 2013 07:13:04 +0000 (08:13 +0100)] 
Ensure PCR PID is passed to the passthrough muxer when it is not the same as a content PID

11 years agompegts: fix processing errors when <188 bytes is received
Adam Sutton [Mon, 21 Oct 2013 12:33:02 +0000 (13:33 +0100)] 
mpegts: fix processing errors when <188 bytes is received

Also fix raw streaming where data is not %188, previously the code would have
sent duplicate bytes which would have caused (unecessary) errors downstream.

11 years agotsfile: fix bug in packet reception spotted by _Dweller.
Adam Sutton [Sun, 20 Oct 2013 09:00:46 +0000 (10:00 +0100)] 
tsfile: fix bug in packet reception spotted by _Dweller.

11 years agompegts: add ability to override the charset used with the PSI code
Adam Sutton [Mon, 14 Oct 2013 08:31:46 +0000 (09:31 +0100)] 
mpegts: add ability to override the charset used with the PSI code

This is now possible at 4 levels:

1. The global defaults (for known bad muxes)
2. The network
3. The mux
4. The service

Such that 4 overrides 3, overrides 2, etc...

11 years agowebui: stop multi select combo selecting the wrong thing
Adam Sutton [Sat, 12 Oct 2013 11:26:22 +0000 (12:26 +0100)] 
webui: stop multi select combo selecting the wrong thing

this was because it reverted to using the display string and doing
a reverse mapping. Which is clearly the wrong way to do things when you
can have multiple display fields for the same key value.

11 years agosubscription: change some hardcoded to prioties to defines
Adam Sutton [Fri, 11 Oct 2013 21:10:11 +0000 (22:10 +0100)] 
subscription: change some hardcoded to prioties to defines

11 years agohtsp: add delayed unsubscription in response to HTSP request
Adam Sutton [Fri, 11 Oct 2013 20:50:30 +0000 (21:50 +0100)] 
htsp: add delayed unsubscription in response to HTSP request

The reason for this is there isn't a command for "changing" channel, this may
be changed in the future. So to simulate it the subscription weight is change
to a minimum level and then a new one can be created, thus reducing the need
to stop the tuner (especially for in mux zaps).

11 years agosubscription: fix possible NULL ptr access when clearing service status on fail
Adam Sutton [Fri, 11 Oct 2013 20:46:40 +0000 (21:46 +0100)] 
subscription: fix possible NULL ptr access when clearing service status on fail

11 years agotvhpoll: various fixes for tvhpoll on FreeBSD
User Decke [Mon, 3 Jun 2013 09:36:47 +0000 (11:36 +0200)] 
tvhpoll: various fixes for tvhpoll on FreeBSD

- kqueue filters are not bitmasks so we need to treat them a bit different
- Properly check timeout because default value is -1
- Use correct variable kevent.filter to detect which event was triggered
- Fix building on FreeBSD i386

11 years agodvr: fix processing of autorec weekdays field
Adam Sutton [Fri, 11 Oct 2013 17:44:28 +0000 (18:44 +0100)] 
dvr: fix processing of autorec weekdays field

11 years agodvr: fix some problems surrounding channel configuration
Adam Sutton [Fri, 11 Oct 2013 15:47:59 +0000 (16:47 +0100)] 
dvr: fix some problems surrounding channel configuration

This was caused by change to using UUID as key etc.. and this not being
properly updated both within the UI and in at least one place in the code.

11 years agochannel: make channel number like name
Adam Sutton [Fri, 11 Oct 2013 15:20:05 +0000 (16:20 +0100)] 
channel: make channel number like name

This allows user configuration which in the event of no setting will fallback
to information automatically determined from the services.

I have also updated the name stuff and simplified it a bit (with one minor
change to idnode to support).

11 years agoservice_mapper: fix lots of problems in the service mapper
Adam Sutton [Fri, 11 Oct 2013 14:51:01 +0000 (15:51 +0100)] 
service_mapper: fix lots of problems in the service mapper

11 years agomisc: Remove memory leaks and other anomalies
Adam Sutton [Fri, 11 Oct 2013 12:41:46 +0000 (13:41 +0100)] 
misc: Remove memory leaks and other anomalies

Many of these are somewhat redundant now, as I've suppressed many of the
warnings as they're false positives. However the changes, such as added
a detach flag to tvhthread_create(), have been kept anyway.