Commit graph

3736 commits

Author SHA1 Message Date
Adam Sutton
95a9c3bbf1 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.
2013-11-18 09:21:35 +00:00
Adam Sutton
974d5f4cb0 mpegts: remove stray \n from debug message 2013-11-17 20:58:00 +00:00
Adam Sutton
7d8360eddd 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.
2013-11-17 20:55:40 +00:00
Adam Sutton
b510e60272 mpegts: ensure ONID/TSID are updated from NIT 2013-11-17 20:51:47 +00:00
Adam Sutton
8acf93a61e Merge remote-tracking branch 'origin/pr/290' 2013-11-16 12:00:04 +00:00
Adam Sutton
6d0a1d08b7 Merge remote-tracking branch 'origin/pr/296' 2013-11-16 11:58:04 +00:00
Adam Sutton
0f01bd7fe8 Merge remote-tracking branch 'origin/pr/297' 2013-11-16 11:55:31 +00:00
Adam Sutton
9e6564bd09 Merge remote-tracking branch 'origin/pr/299' 2013-11-16 11:54:10 +00:00
Adam Sutton
5990951e64 migrate: Some updates to the migration script and minor correction to DVR conf 2013-11-16 11:43:26 +00:00
Adam Sutton
1d51982955 epggrab: stop code bombing out with old config 2013-11-16 10:47:02 +00:00
Adam Sutton
d5451be03a input: minor correction, redefined struct typedef, breaks on Lucid 2013-11-16 10:46:42 +00:00
Adam Sutton
288adcc3bd Merge branch 'master' into feature/dvb-rewrite
Conflicts:
	src/input/mpegts/tsdemux.c
2013-11-15 14:00:12 +00:00
Adam Sutton
098b7def4b build: remove oneiric and add saucy support 2013-11-15 12:47:37 +00:00
Adam Sutton
afc48f99b9 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.
2013-11-15 12:32:15 +00:00
Adam Sutton
c08b6e5c7f support: updated the configuration migration script 2013-11-14 12:59:20 +00:00
Adam Sutton
d8e1858fe7 Revert "htsp: add delayed unsubscription in response to HTSP request"
This reverts commit 2c612051f8.

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.
2013-11-13 09:41:24 +00:00
John Törnblom
d600a40d71 transcoder: fixed memory leak of pkt headers 2013-11-12 19:45:11 +01:00
Adam Sutton
173b0af80d epggrab: hide OTA channels from epggrab config
These are clearly intended to all be automatic, users should not be able
to change these.
2013-11-12 12:15:20 +00:00
Adam Sutton
b5c6b7a6e8 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.
2013-11-11 17:48:11 +00:00
Adam Sutton
05efbc402f 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.
2013-11-11 17:41:05 +00:00
Adam Sutton
73c6bc9f48 status: some additional status information about connections
also re-jigged UI layout (I'm sure people will moan) and some code
re-layout too.
2013-11-11 17:11:41 +00:00
Adam Sutton
1b22e08ab9 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.
2013-11-11 09:52:29 +00:00
Adam Sutton
509f47e30c webui: fix to previous hack (and fix from linuxstb for jsonstore.find) 2013-11-10 22:23:14 +00:00
Adam Sutton
695e706f77 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.
2013-11-10 21:53:18 +00:00
Adam Sutton
01fc249fb5 xmltv: fix XMLTV channel configuration 2013-11-10 20:14:14 +00:00
Adam Sutton
8dac141576 atsc: started adding back in VCT processing 2013-11-10 00:05:02 +00:00
Adam Sutton
9de5cc4c98 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).
2013-11-09 13:15:21 +00:00
Adam Sutton
9749c294e7 capmt: correct stupid mistake added during satconf re-arrangement 2013-11-07 15:33:50 +00:00
Adam Sutton
0a20d2d25b mpegts: fix printing bug and change potentially confusing var name. 2013-11-07 12:32:45 +00:00
Adam Sutton
d8a084d14c 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!
2013-11-04 08:47:57 +00:00
Adam Sutton
4d745774f3 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)!
2013-11-02 21:05:09 +00:00
Adam Sutton
a18cda8e06 api webui: remove all references to the old satconf grid 2013-11-02 20:13:53 +00:00
Adam Sutton
a54da81314 linuxdvb: add support for advanced satconfs back in 2013-11-02 20:10:47 +00:00
Carlo Landmeter
3be49c09ee linuxdvb: fix typo 2013-10-31 16:44:23 +00:00
Adam Sutton
cc9ff8d9b0 linuxdvb: fix stupid ptr indirection mistakes in satconf_ele 2013-10-27 23:41:16 +00:00
Adam Sutton
dded4e1b9d linuxdvb: fix configuration processing 2013-10-27 23:19:02 +00:00
Adam Sutton
a622f4fffa linuxdvb: WIP - comitting before I lose it! 2013-10-27 23:19:02 +00:00
Adam Sutton
61a96da207 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
2013-10-27 23:19:02 +00:00
Adam Sutton
a1592da5e1 started work on better setup for input/hardware etc... 2013-10-27 23:19:02 +00:00
Adam Sutton
ce48eeb9d4 idnode: temporary workaround for the static string comparison issue 2013-10-27 23:18:02 +00:00
gokl
486f576c83 * do red-black tree search for language code lookups 2013-10-26 17:41:34 +02:00
Dave Chapman
6c9bff1179 Ensure PCR PID is passed to the passthrough muxer when it is not the same as a content PID 2013-10-23 08:13:04 +01:00
Adam Sutton
7d116966c8 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.
2013-10-21 13:33:02 +01:00
Adam Sutton
a88c9dc425 tsfile: fix bug in packet reception spotted by _Dweller. 2013-10-20 10:00:46 +01:00
Adam Sutton
06b042e0b3 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...
2013-10-14 14:18:14 +01:00
Adam Sutton
febd529cf7 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.
2013-10-12 12:29:17 +01:00
Adam Sutton
d160e7425a subscription: change some hardcoded to prioties to defines 2013-10-12 12:29:17 +01:00
Adam Sutton
2c612051f8 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).
2013-10-12 12:29:16 +01:00
Adam Sutton
93de822646 subscription: fix possible NULL ptr access when clearing service status on fail 2013-10-11 21:46:40 +01:00
User Decke
f5c5ffd779 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
2013-10-11 21:38:12 +01:00