Commit graph

3687 commits

Author SHA1 Message Date
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
Adam Sutton
c3bf2577da webui: fix display issue for boolean values 2013-09-25 21:16:06 +01:00
Adam Sutton
9d6a56a0d3 mpegts: fix possible list corruption when unsubscribing from mux 2013-09-25 20:49:05 +01:00
Adam Sutton
1b41478028 subscription: fix handling of service subscriptions on failed services 2013-09-25 17:33:52 +01:00
Adam Sutton
1403fd09e2 webui: slightly horrible hack to get dialog to disappear on save 2013-09-25 09:40:40 +01:00
Adam Sutton
378791e387 Merge remote-tracking branch 'origin/pr/295' into feature/dvb-rewrite 2013-09-25 09:32:56 +01:00
Adam Sutton
0b1e11bfaa mpegts: minor mod to debug to make it less confusing. 2013-09-24 17:34:50 +01:00
Stefan Saraev
981108523a mkbundle: follow symlinks 2013-09-24 19:28:34 +03:00
Adam Sutton
82af300091 mpegts: ensure that full mux subscription works as expected. 2013-09-24 16:37:10 +01:00
Adam Sutton
859f08aa5d mpegts: rework of the PID handling code
This should overcome the current issues with EPG grabbers stealing data
but also, IMO, is a better approach.

However it did require some reworking of lock semantics.
2013-09-24 15:52:11 +01:00
Adam Sutton
67e221300c epggrab: remove out of date otamux config files 2013-09-24 15:33:30 +01:00
Adam Sutton
0a54408035 linuxdvb: fix adapter number passing to capmt 2013-09-24 15:28:45 +01:00
Adam Sutton
26db1c3d00 webui: fix stupid javascript typo. 2013-09-24 10:30:37 +01:00
Adam Sutton
89191980b7 tsfile: fix double insert of mmi into mi_mux_active. Created infinite loop. 2013-09-22 22:09:01 +01:00
Adam Sutton
c0d2afe9b5 webui: add support for hidemode in grids. Also tidied a few things up. 2013-09-22 14:31:16 +01:00
Adam Sutton
9ecaf8f01c webui: minor clean up of toolbar (in services panel) 2013-09-22 13:30:36 +01:00
Adam Sutton
ba4c233daa webui: minor improvement to service mapping button 2013-09-22 13:28:49 +01:00
Adam Sutton
af07b24df2 api: make it possible to hide disabled services in the mux/service grids
This can be done in 3 ways:

none: don't hide anything
all: hide all disabled elements (you can't re-enable in this state)
default: hide those elements whose parents are disabled
2013-09-22 13:15:16 +01:00
Adam Sutton
2f01030063 epggrab: ensure opentv gets registered during init scan. 2013-09-21 22:44:57 +01:00