Commit graph

81 commits

Author SHA1 Message Date
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
a2e1c153b1 mpegts: update to new idnode_load function and fix some config issues 2013-06-11 13:59:37 +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
226a3600f9 mpegts: fixed some issues with input init 2013-06-10 17:28:45 +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
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
957796d77f linuxdvb: stop deadlock on dvr thread start/stop 2013-06-09 12:44:35 +01:00
Adam Sutton
486789a11f linuxdvb: some useful debug 2013-06-09 12:01:25 +01:00
Adam Sutton
57f49a2ad2 mpegts: ensure that init scan timer is stopped when cancelling.
THis happens when a sub kicks the mux out and caused an assert() on
bad scan status (at timeout).
2013-06-08 13:07:44 +01:00
Adam Sutton
9ba1b55db4 mpegts: sorted some mistakes in mux tuning and also service enumeration
Added automatic mpegts_input instance numbering as required for service
enumeration.
2013-06-08 12:53:10 +01:00
Adam Sutton
406b15afa6 mpegts: sort out tuning of muxes from multiple points
There is now a common routine for starting a mux instance, it is assumed
that certain checks have already been performed before calling this
routine. However it does perform a double check that this mux is not
already tuned on another instance. If it is it updates the passed ptr
with that instance.
2013-06-08 12:24:35 +01:00
Adam Sutton
a2cca011b5 mpegts: remove crazy unbounbed mux arbitration 2013-06-07 22:31:14 +01:00
Adam Sutton
5ecf521584 mpegts: remove deprecated file 2013-06-07 22:12:17 +01:00
Adam Sutton
07a677ecba mpegts: added support for creating a network from an input
This won't actually link it, which might need to change.
2013-06-04 16:56:21 +01:00
Adam Sutton
38d4ffec95 mpegts: added some additional routines for network setup 2013-06-04 15:20:35 +01:00
Adam Sutton
4af016fbb7 webui: a VERY hacked list of networks, muxes and services 2013-06-03 11:23:42 +01:00
Adam Sutton
414a4b2d58 mpegts: do not set NID from PSI, this is used to limit NIT scanning 2013-06-03 09:47:19 +01:00
Adam Sutton
2181313793 mpegts: ensure that we check stuff is emabled
Otherwise starting on a debug system sends TVH into a tailspin. Though
this is another indication that some bounding of mm_start_mux is required!
2013-06-02 21:45:36 +01:00
Adam Sutton
f77c934b76 mpegts: minor debug formatting correction 2013-06-01 23:58:39 +01:00
Adam Sutton
75458bf606 linuxdvb: fix some mistakes in frontend tuning 2013-06-01 23:27:17 +01:00
Adam Sutton
f26ee05092 linuxdvb: updated tuning/pid filtering code
All services/tables should now be opened using PES filters if the
tuner is not in full mux mode.
2013-06-01 23:03:17 +01:00
Adam Sutton
ead0b1b5ff linuxdvb: add complete (ish) v3 and S2 tuning calls
This still doesn't include any code to handle DVB-S, that needs further
thought on how best to configure.
2013-06-01 21:43:18 +01:00
Adam Sutton
f1eb285c8f mpegts: starting to tidy up input class 2013-06-01 20:51:10 +01:00
Adam Sutton
8e6d14b635 linuxdvb: fix service configuration loading
This is what was causing the duplicate service entries, it was
simply not loading the old configuration properly and thus creating
new entries.
2013-06-01 17:24:20 +01:00
Adam Sutton
fbd34be472 mpegts: fix scanning issue and lfe display name
Still have a problem with dup services being created when scanning
with multiple adapters.
2013-06-01 14:32:40 +01:00
Adam Sutton
ff3bc4c35a mpegts: fix display name bug and looks like mux arbitration is currently still broken 2013-06-01 14:07:01 +01:00
Adam Sutton
37f64806d7 mpegts: correct some types now I have added PT_U16 2013-06-01 13:46:01 +01:00
Adam Sutton
400e8c61ea mpegts linuxdvb: loads of tidying up of network/mux code 2013-06-01 13:40:29 +01:00
Adam Sutton
896345228c dvbpsi: tidied up some of the debug 2013-06-01 12:33:58 +01:00
Adam Sutton
3c00057b42 linuxdvb: new service file 2013-06-01 11:58:18 +01:00
Adam Sutton
2489e44492 mpegts: fixed some problems with service discovery 2013-05-31 23:55:43 +01:00
Adam Sutton
afd6d085d9 service: fix some mistakes in service saving 2013-05-31 21:48:59 +01:00
Adam Sutton
c412f6e28c service: trying to sort the service saving 2013-05-31 21:45:29 +01:00
Adam Sutton
cfbba3891d linuxdvb: stop the correct mux! 2013-05-31 20:18:49 +01:00
Adam Sutton
d5a86bf8e9 linuxdvb: started to add service saving (very rough) 2013-05-30 22:30:16 +01:00
Adam Sutton
0d82be3664 linuxdvb: mux scanning is now working and I will not re-run unless reqd 2013-05-30 21:47:42 +01:00
Adam Sutton
7465423cb6 mpegts linuxdvb: starting to get more complete config load/save 2013-05-30 20:55:11 +01:00
Adam Sutton
578c3fc545 mpegts linuxdvb: starting to get working scanning on DVB-T
Moved DVB mux config into dvb_support
Updated table processing to include proper section tracking
Fixed some problem in the MPEG-TS core
Updates to get scanning working in LinuxDVB
2013-05-30 16:09:47 +01:00
Adam Sutton
51eeb9af0d linuxdvb: starting to see data input working
there are a lot of hacks in at the moment, need to go through and tidy
everything up.
2013-05-29 14:22:22 +01:00
Adam Sutton
3cb6be346f mpegts linuxdvb: add routine to create mmi's on the fly 2013-05-28 16:27:09 +01:00
Adam Sutton
e0c4695239 linuxdvb: starting to add network/input connection
Still just early stages, but should be able to start thinking about
getting something tuning soon.
2013-05-26 21:02:17 +01:00
Adam Sutton
0fbdb43ac2 linuxdvb: starting to get config load/save for device tree
I think eventually I will re-work this to one file per entry similar
to the other trees (like network). But this will do for now.
2013-05-25 21:46:37 +01:00
Adam Sutton
5c420b613a linuxdvb: starting to add network/mux information 2013-05-24 21:20:56 +01:00
Adam Sutton
3bc769589f linuxdvb: split the adapter source into 3 files. 2013-05-24 15:23:34 +01:00
Adam Sutton
7b7652619f prop: Added the concept of a RD-only property
Made use of the rd-only property for display only fields in the DVB
hardware tree.
2013-05-24 14:58:03 +01:00
Adam Sutton
8b82a82901 linuxdvb: starting to build up the DVB hardware tree
Still do not have anything working, just trying to get some groundwork done.
2013-05-24 13:59:19 +01:00