Commit graph

3301 commits

Author SHA1 Message Date
Adam Sutton
88578c22a6 csa: fix some silly mistakes in TS processing
I have now managed to get a cwc decryption to work on my system.
2013-06-17 16:40:59 +01:00
Adam Sutton
9e5d3ae933 csa: forgot to add the new CSA wrapper 2013-06-17 14:07:04 +01:00
Adam Sutton
5e03ad3b4e csa: add back in CAT/CA processing 2013-06-17 13:13:49 +01:00
Adam Sutton
d76c1e19f0 csa: added back in SCT_CA processing
This is a bit of a hack really, since its now the only SI data that's
handled as an elementary stream. However I think it has to be that way
else it'll get messy.
2013-06-17 12:54:36 +01:00
Adam Sutton
a686fe34d2 csa: started to rework the descrambling support 2013-06-17 12:38:36 +01:00
Adam Sutton
cf7518d4a7 mpegts: add properties to network/mux for list of children 2013-06-16 22:57:03 +01:00
Adam Sutton
50f2b7ee9a webui: ensure we pick up read-only props for stuff in the grid. 2013-06-16 22:57:02 +01:00
Adam Sutton
a55b7b9bd0 idnode prop: changed to use generic get/set/list methods for properties
This will allow for addition of other type methods without having to add
lots of callbacks, the real prototype can be infered from the property type
2013-06-16 22:57:02 +01:00
Adam Sutton
e37352fc2d linuxdvb: load/save satconf configuration 2013-06-16 13:34:29 +01:00
Adam Sutton
fce73c118a mpegts: one more dvb-s fix, I'm now able to stream from DVB-S! 2013-06-16 13:08:48 +01:00
Adam Sutton
3ab4e5ae5b mpegts: add flag to indicate whether open_service is first time or not
There is some code that requires a mutex only on the first run, this saves
that lock and potentially stops a deadlock.

Really I probably could have added another callback specifically for this
function, but was worried about explosion of functions for every little
element.
2013-06-16 12:45:21 +01:00
Adam Sutton
e92ee5a660 linxudvb: corrected typo thanks to user comment on github 2013-06-16 12:06:18 +01:00
Adam Sutton
0b088cb4dd mpegts: ensure fe type is set before normal config load
If we don't do this some checks (such as network type on set) will fail
as the fe type may not be set before setting the network.
2013-06-16 11:04:12 +01:00
Adam Sutton
fa8222a573 mpegts: fix issues surrounding service startup on proxied input
I.e. DVB-S where satconf is acting as a proxy for the frontend.
2013-06-16 10:48:29 +01:00
Adam Sutton
f69bc70665 mpegts: ensure all data queues are properly flushed
This ensures that we don't get stale data into the SI table pipelines
which can result in processing of data that doesn't match the expected
mux (and ultimately screws up addressing).
2013-06-15 21:37:54 +01:00
Adam Sutton
af162a3c15 mpegts: correct a couple of stupid mistakes 2013-06-15 21:04:51 +01:00
Adam Sutton
630a4cc7a4 linuxdvb: add initial status output message 2013-06-15 20:33:02 +01:00
Adam Sutton
e20aa94685 linuxdvb: early stage of getting DVB-S to work.
I've added missing config (delsys) to muxes and I've got satconf working
as a full proxy of frontend (may still be a few small issues). Satconf
is not yet doing anything useful, its hardcoded to a universal LNB and
no switch/rotor support.
2013-06-15 14:34:06 +01:00
Adam Sutton
696fcf9751 mpegts: Added some new post start/stop routines to allow flexibility
This is required for DVB-S where the input object is actually acting as a
proxy for the frontend.
2013-06-15 14:07:21 +01:00
Adam Sutton
46f24f67c7 webui: fix issues so that satconf create dialog appears 2013-06-14 23:16:35 +01:00
Adam Sutton
f621b9265e linuxdvb: a bit more work on satconf
I now have initial code for tuning a satconf (LNB only).
2013-06-14 23:15:43 +01:00
Adam Sutton
ca74acd8c3 idnode: add protection against NULL title
This shouldn't really happen (and I need to look at why it is) but also
best to have protection against it anyway.
2013-06-14 23:14:35 +01:00
Adam Sutton
bce864a879 webui: initial UI for satconf config 2013-06-14 17:35:26 +01:00
Adam Sutton
70623879dc linuxdvb: initial satconf structure
This is mostly the initial boiler plate just to get me started it doesn't
actually do anything useful yet.
2013-06-14 17:35:26 +01:00
Adam Sutton
7844445fb6 idnode: add function to check if node is instance of a class 2013-06-14 17:35:26 +01:00
Adam Sutton
7eb0f700ef mpegts: add callback in input for creating instances
This will be necessary for DVB-S where we will have a slightly
strange arragement as the satconf will be the primary input and will
be backed by multiple frontends.
2013-06-14 17:35:26 +01:00
Adam Sutton
39766d4570 webui: use the same editor field constructor for the grid view
This includes enumerated combo boxes as required for channel selection.
2013-06-12 12:08:26 +01:00
Adam Sutton
5a4416bbb6 mpegts: ensure mpegts_service has service as parent class
This allows for the channel mapping field to be made available in UI
2013-06-12 12:08:26 +01:00
Adam Sutton
c42b79960d idnode mpegts: minor corrections to previous refactoring 2013-06-12 12:08:26 +01:00
Adam Sutton
5f2de3a8a9 idnode: Updated all objects to new idnode/prop API 2013-06-11 20:29:02 +01:00
Adam Sutton
ac41437712 idnode: massive cleanup
I've cleaned up all the methods to make things a bit more consistent and
removed stuff that wasn't being used.
2013-06-11 20:18:04 +01:00
Adam Sutton
ddcb8d1ca9 webui: idnode saving now works (though needs reworking) 2013-06-11 14:00:05 +01:00
Adam Sutton
a2e1c153b1 mpegts: update to new idnode_load function and fix some config issues 2013-06-11 13:59:37 +01:00
Adam Sutton
c5e6bf6517 idnode: added saving on update of properties
This needs some serious tidying up
2013-06-11 13:53:48 +01:00
Adam Sutton
ff35e6efab webui: move idnode tree to idnode.js and update to handle 2 types of enum 2013-06-10 21:54:53 +01:00
Adam Sutton
e770b416b3 linuxdvb: started to make it possible to set network on tuner from UI 2013-06-10 21:54:25 +01:00
Adam Sutton
f1b1ba12e4 mpegts: only update the network name if its blank
This is becuase this will mostly be set by users now
2013-06-10 21:53:19 +01:00
Adam Sutton
aca6be2ce9 linuxdvb: ensure we don't crash if device ID goes missing 2013-06-10 21:52:24 +01:00
Adam Sutton
e925c7d527 idnode: add a find by class feature and second enum for dynamic output 2013-06-10 21:48:03 +01:00
Adam Sutton
226a3600f9 mpegts: fixed some issues with input init 2013-06-10 17:28:45 +01:00
Adam Sutton
44d5fc6671 webui: some fixes to allow proper creation of networks and muxes 2013-06-10 15:24:52 +01:00
Adam Sutton
a52df09d74 webui: can now create new muxes from the UI
This needs testing and I'm sure some data validation would be useful!
2013-06-10 14:53:27 +01:00
Adam Sutton
6dc3b71ce7 mpegts: start adding routines for creation of muxes from UI
This includes a new routine that operates using a full htsmsg_t config
rather than dvb_mux_conf (used for auto-detection).
2013-06-10 14:52:41 +01:00
Adam Sutton
2abe546e32 webui: added support for enumerated types in the editor panel 2013-06-10 13:44:36 +01:00
Adam Sutton
181e925313 mpegts: add full DVB mux configuration support
I have still not added ATSC (lazy) but C/T/S are all added. There is no
attempt to base the options on the hardware support, user is expected
to know anyway. The AUTO options could possibly be checked, but my guess
is that these days most tuners support AUTO modes anyway.
2013-06-10 13:43:14 +01:00
Adam Sutton
691b249776 idnode prop: added support for str_enum
This allows classes to define enumerated types, such as required for the
DVB FE configuration.
2013-06-10 13:42:28 +01:00
Adam Sutton
587400971b webui: started work on new idnode editor panel 2013-06-10 10:00:46 +01:00
Adam Sutton
45d9c9dd21 webui: added full famfam icon set to vendor and linked required
this has added one new icon, and replaced 4, some icons do not exist
in famfam and so have been left in place.
2013-06-10 09:59:35 +01:00
Adam Sutton
f76ee7659a service: don't use service instance if its in error state
This is almost certainly wrong. but it does avoid the livelock problems
I was having and will do until I can get Andreas to take a look.
2013-06-09 12:45:28 +01:00
Adam Sutton
957796d77f linuxdvb: stop deadlock on dvr thread start/stop 2013-06-09 12:44:35 +01:00