Commit graph

3705 commits

Author SHA1 Message Date
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
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
Adam Sutton
7bf4b17bce dvr: fix processing of autorec weekdays field 2013-10-11 18:44:28 +01:00
Adam Sutton
cc478b3ba4 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.
2013-10-11 16:47:59 +01:00
Adam Sutton
8ffd24c727 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).
2013-10-11 16:20:05 +01:00
Adam Sutton
822b70928e service_mapper: fix lots of problems in the service mapper 2013-10-11 15:51:01 +01:00
Adam Sutton
8901334cc0 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.
2013-10-11 13:41:46 +01:00
Adam Sutton
cdd09ff8b9 htsp: another useful debug message 2013-10-10 22:09:56 +01:00
Adam Sutton
db1656314f channel: remove direct usage of ch_name
This is because the field can now be NULL and there were places where this
was not properly checked. So now a function call channel_get_name() should
be used instead and is garaunteed to return non-NULL.

In addition to this there is a nice added benefit. You can NOT set the name,
and it will automatically pull the name from the first available service. This
will not be persistent (part of config) unless you change that name and save
from the UI. This means if the service name changes, so will the channel name.

However on that last point there will not be, currently, any message sent to
the clients (HTSP) to inform them of such a change. So there might be some lag
in getting the update.
2013-10-10 11:12:37 +01:00
Adam Sutton
a79dd7b7d8 htsp: some additional debug I added to help time channel zapping 2013-10-09 20:35:01 +01:00
Adam Sutton
3f702cf2a4 mpegts: try to make debug about failed tuning a bit more helpful. 2013-10-09 20:25:22 +01:00
Adam Sutton
ea64db66d8 htsp: ensure service type is output to allow XBMC to detect Radio services 2013-10-09 20:13:53 +01:00
Adam Sutton
49212a2ead mpegts: add new pilot option and fix defaults for DVB-S
I have kept the AUTO options, but have magically translated them for DVB-S
under the hood.
2013-10-08 17:27:28 +01:00
Adam Sutton
daf27654b4 mpegts: remove stray printf 2013-10-08 17:04:12 +01:00
Adam Sutton
fe5f548fac support: update for some changes in configuration 2013-10-08 16:39:44 +01:00
Adam Sutton
2242abbd90 service channel: fix confusion in svc/chn mapping links 2013-10-08 16:39:44 +01:00
Adam Sutton
9abe8e0c48 linuxdvb: fix broken PID installation in satconf (was not passing to lfe) 2013-10-03 16:22:27 +01:00
Adam Sutton
de2c8e5b08 mpegts: add input prioritisation
I've also changed some function names for consistency.
2013-09-27 21:13:14 +01:00
Adam Sutton
10ed792a4e mpegts: put muxes not yet scanned to front of Q and those that have to the back 2013-09-27 20:40:54 +01:00
Adam Sutton
9ab64b7f47 subscription: fix full mux sub hook
I'd added this so that ALL mux subs tried to use fullmux reception. This was
clearly not what was intended as the only time this is needed (at present)
is when subscribing for muxdump from the webui.
2013-09-27 20:34:18 +01:00
Adam Sutton
dba191e82b mpegts: correct close on -1 spotted by btwe 2013-09-27 20:25:29 +01:00
Adam Sutton
de0124db01 misc: remove redundant code 2013-09-26 23:13:28 +01:00
Adam Sutton
0bd9a949a1 mpegts: allow service stop to be called on inactive services 2013-09-26 23:12:41 +01:00
Adam Sutton
fe9bd60192 service: service listing was broken
I think it was quite possible for two services on the same multiplex not
to share the same tuner. Also I wasn't convinced about how it kicked running
services.
2013-09-26 23:12:04 +01:00
Adam Sutton
3fec2653ff service: some additional fields as per user request 2013-09-26 23:09:38 +01:00
Adam Sutton
1d6562332e mpegts: actually fix the PID closing crash bug! 2013-09-25 22:11:58 +01:00
Adam Sutton
796de8245c wrappers: remove use of pthread_setname_np
This is not supported by ulibc, however since prctl is part of standard
Linux kernel since 2.6.9, I've added a thin wrapper around thread startup
to call that method from within the thread.
2013-09-25 21:55:59 +01:00
Adam Sutton
7707693d37 linuxdvb: ensure that inversion is set to AUTO 2013-09-25 21:54:33 +01:00
Adam Sutton
d21f99ec66 mpegts: fix redundant and potentially fatal call to mux stop 2013-09-25 21:50:03 +01:00
Adam Sutton
fd9d1f7511 mpegts: some extra debug 2013-09-25 21:22:44 +01:00