]> git.ipfire.org Git - thirdparty/tvheadend.git/log
thirdparty/tvheadend.git
11 years agolinuxdvb: fix typo 303/head
Carlo Landmeter [Thu, 31 Oct 2013 16:44:23 +0000 (16:44 +0000)] 
linuxdvb: fix typo

11 years agolinuxdvb: fix stupid ptr indirection mistakes in satconf_ele
Adam Sutton [Sun, 27 Oct 2013 23:41:16 +0000 (23:41 +0000)] 
linuxdvb: fix stupid ptr indirection mistakes in satconf_ele

11 years agolinuxdvb: fix configuration processing
Adam Sutton [Sun, 27 Oct 2013 21:29:05 +0000 (21:29 +0000)] 
linuxdvb: fix configuration processing

11 years agolinuxdvb: WIP - comitting before I lose it!
Adam Sutton [Sun, 27 Oct 2013 21:00:33 +0000 (21:00 +0000)] 
linuxdvb: WIP - comitting before I lose it!

11 years agolinuxdvb: started updating to the new hardware API
Adam Sutton [Thu, 17 Oct 2013 20:39:44 +0000 (21:39 +0100)] 
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

11 years agostarted work on better setup for input/hardware etc...
Adam Sutton [Thu, 17 Oct 2013 20:38:47 +0000 (21:38 +0100)] 
started work on better setup for input/hardware etc...

11 years agoidnode: temporary workaround for the static string comparison issue
Adam Sutton [Tue, 15 Oct 2013 21:18:25 +0000 (22:18 +0100)] 
idnode: temporary workaround for the static string comparison issue

11 years agompegts: fix processing errors when <188 bytes is received
Adam Sutton [Mon, 21 Oct 2013 12:33:02 +0000 (13:33 +0100)] 
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.

11 years agotsfile: fix bug in packet reception spotted by _Dweller.
Adam Sutton [Sun, 20 Oct 2013 09:00:46 +0000 (10:00 +0100)] 
tsfile: fix bug in packet reception spotted by _Dweller.

11 years agompegts: add ability to override the charset used with the PSI code
Adam Sutton [Mon, 14 Oct 2013 08:31:46 +0000 (09:31 +0100)] 
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...

11 years agowebui: stop multi select combo selecting the wrong thing
Adam Sutton [Sat, 12 Oct 2013 11:26:22 +0000 (12:26 +0100)] 
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.

11 years agosubscription: change some hardcoded to prioties to defines
Adam Sutton [Fri, 11 Oct 2013 21:10:11 +0000 (22:10 +0100)] 
subscription: change some hardcoded to prioties to defines

11 years agohtsp: add delayed unsubscription in response to HTSP request
Adam Sutton [Fri, 11 Oct 2013 20:50:30 +0000 (21:50 +0100)] 
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).

11 years agosubscription: fix possible NULL ptr access when clearing service status on fail
Adam Sutton [Fri, 11 Oct 2013 20:46:40 +0000 (21:46 +0100)] 
subscription: fix possible NULL ptr access when clearing service status on fail

11 years agodvr: fix processing of autorec weekdays field
Adam Sutton [Fri, 11 Oct 2013 17:44:28 +0000 (18:44 +0100)] 
dvr: fix processing of autorec weekdays field

11 years agodvr: fix some problems surrounding channel configuration
Adam Sutton [Fri, 11 Oct 2013 15:47:59 +0000 (16:47 +0100)] 
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.

11 years agochannel: make channel number like name
Adam Sutton [Fri, 11 Oct 2013 15:20:05 +0000 (16:20 +0100)] 
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).

11 years agoservice_mapper: fix lots of problems in the service mapper
Adam Sutton [Fri, 11 Oct 2013 14:51:01 +0000 (15:51 +0100)] 
service_mapper: fix lots of problems in the service mapper

11 years agomisc: Remove memory leaks and other anomalies
Adam Sutton [Fri, 11 Oct 2013 12:41:46 +0000 (13:41 +0100)] 
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.

11 years agohtsp: another useful debug message
Adam Sutton [Wed, 9 Oct 2013 19:45:28 +0000 (20:45 +0100)] 
htsp: another useful debug message

11 years agochannel: remove direct usage of ch_name
Adam Sutton [Thu, 10 Oct 2013 09:59:42 +0000 (10:59 +0100)] 
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.

11 years agohtsp: some additional debug I added to help time channel zapping
Adam Sutton [Wed, 9 Oct 2013 19:35:01 +0000 (20:35 +0100)] 
htsp: some additional debug I added to help time channel zapping

11 years agompegts: try to make debug about failed tuning a bit more helpful.
Adam Sutton [Wed, 9 Oct 2013 19:25:22 +0000 (20:25 +0100)] 
mpegts: try to make debug about failed tuning a bit more helpful.

11 years agohtsp: ensure service type is output to allow XBMC to detect Radio services
Adam Sutton [Wed, 9 Oct 2013 19:13:53 +0000 (20:13 +0100)] 
htsp: ensure service type is output to allow XBMC to detect Radio services

11 years agompegts: add new pilot option and fix defaults for DVB-S
Adam Sutton [Tue, 8 Oct 2013 16:27:28 +0000 (17:27 +0100)] 
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.

11 years agompegts: remove stray printf
Adam Sutton [Tue, 8 Oct 2013 16:04:12 +0000 (17:04 +0100)] 
mpegts: remove stray printf

11 years agosupport: update for some changes in configuration
Adam Sutton [Sun, 6 Oct 2013 19:51:03 +0000 (20:51 +0100)] 
support: update for some changes in configuration

11 years agoservice channel: fix confusion in svc/chn mapping links
Adam Sutton [Sun, 6 Oct 2013 19:39:20 +0000 (20:39 +0100)] 
service channel: fix confusion in svc/chn mapping links

11 years agolinuxdvb: fix broken PID installation in satconf (was not passing to lfe)
Adam Sutton [Thu, 3 Oct 2013 15:22:27 +0000 (16:22 +0100)] 
linuxdvb: fix broken PID installation in satconf (was not passing to lfe)

11 years agompegts: add input prioritisation
Adam Sutton [Fri, 27 Sep 2013 20:13:14 +0000 (21:13 +0100)] 
mpegts: add input prioritisation

I've also changed some function names for consistency.

11 years agompegts: put muxes not yet scanned to front of Q and those that have to the back
Adam Sutton [Fri, 27 Sep 2013 19:40:54 +0000 (20:40 +0100)] 
mpegts: put muxes not yet scanned to front of Q and those that have to the back

11 years agosubscription: fix full mux sub hook
Adam Sutton [Fri, 27 Sep 2013 19:34:18 +0000 (20:34 +0100)] 
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.

11 years agompegts: correct close on -1 spotted by btwe
Adam Sutton [Fri, 27 Sep 2013 19:25:29 +0000 (20:25 +0100)] 
mpegts: correct close on -1 spotted by btwe

11 years agomisc: remove redundant code
Adam Sutton [Thu, 26 Sep 2013 22:13:28 +0000 (23:13 +0100)] 
misc: remove redundant code

11 years agompegts: allow service stop to be called on inactive services
Adam Sutton [Thu, 26 Sep 2013 22:12:41 +0000 (23:12 +0100)] 
mpegts: allow service stop to be called on inactive services

11 years agoservice: service listing was broken
Adam Sutton [Thu, 26 Sep 2013 22:12:04 +0000 (23:12 +0100)] 
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.

11 years agoservice: some additional fields as per user request
Adam Sutton [Thu, 26 Sep 2013 22:09:38 +0000 (23:09 +0100)] 
service: some additional fields as per user request

11 years agompegts: actually fix the PID closing crash bug!
Adam Sutton [Wed, 25 Sep 2013 21:11:58 +0000 (22:11 +0100)] 
mpegts: actually fix the PID closing crash bug!

11 years agowrappers: remove use of pthread_setname_np
Adam Sutton [Wed, 25 Sep 2013 20:55:59 +0000 (21:55 +0100)] 
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.

11 years agolinuxdvb: ensure that inversion is set to AUTO
Adam Sutton [Wed, 25 Sep 2013 20:54:33 +0000 (21:54 +0100)] 
linuxdvb: ensure that inversion is set to AUTO

11 years agompegts: fix redundant and potentially fatal call to mux stop
Adam Sutton [Wed, 25 Sep 2013 20:50:03 +0000 (21:50 +0100)] 
mpegts: fix redundant and potentially fatal call to mux stop

11 years agompegts: some extra debug
Adam Sutton [Wed, 25 Sep 2013 20:22:44 +0000 (21:22 +0100)] 
mpegts: some extra debug

11 years agowebui: fix display issue for boolean values
Adam Sutton [Wed, 25 Sep 2013 20:16:06 +0000 (21:16 +0100)] 
webui: fix display issue for boolean values

11 years agompegts: fix possible list corruption when unsubscribing from mux
Adam Sutton [Wed, 25 Sep 2013 19:49:05 +0000 (20:49 +0100)] 
mpegts: fix possible list corruption when unsubscribing from mux

11 years agosubscription: fix handling of service subscriptions on failed services
Adam Sutton [Wed, 25 Sep 2013 16:33:52 +0000 (17:33 +0100)] 
subscription: fix handling of service subscriptions on failed services

11 years agowebui: slightly horrible hack to get dialog to disappear on save
Adam Sutton [Wed, 25 Sep 2013 08:40:40 +0000 (09:40 +0100)] 
webui: slightly horrible hack to get dialog to disappear on save

11 years agoMerge remote-tracking branch 'origin/pr/295' into feature/dvb-rewrite
Adam Sutton [Wed, 25 Sep 2013 08:32:56 +0000 (09:32 +0100)] 
Merge remote-tracking branch 'origin/pr/295' into feature/dvb-rewrite

11 years agompegts: minor mod to debug to make it less confusing.
Adam Sutton [Tue, 24 Sep 2013 16:34:50 +0000 (17:34 +0100)] 
mpegts: minor mod to debug to make it less confusing.

11 years agomkbundle: follow symlinks 295/head
Stefan Saraev [Tue, 24 Sep 2013 16:28:34 +0000 (19:28 +0300)] 
mkbundle: follow symlinks

11 years agompegts: ensure that full mux subscription works as expected.
Adam Sutton [Tue, 24 Sep 2013 15:37:10 +0000 (16:37 +0100)] 
mpegts: ensure that full mux subscription works as expected.

11 years agompegts: rework of the PID handling code
Adam Sutton [Tue, 24 Sep 2013 12:40:36 +0000 (13:40 +0100)] 
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.

11 years agoepggrab: remove out of date otamux config files
Adam Sutton [Tue, 24 Sep 2013 14:33:30 +0000 (15:33 +0100)] 
epggrab: remove out of date otamux config files

11 years agolinuxdvb: fix adapter number passing to capmt
Adam Sutton [Tue, 24 Sep 2013 14:28:45 +0000 (15:28 +0100)] 
linuxdvb: fix adapter number passing to capmt

11 years agowebui: fix stupid javascript typo.
Adam Sutton [Tue, 24 Sep 2013 09:30:37 +0000 (10:30 +0100)] 
webui: fix stupid javascript typo.

11 years agotsfile: fix double insert of mmi into mi_mux_active. Created infinite loop.
Adam Sutton [Sun, 22 Sep 2013 21:09:01 +0000 (22:09 +0100)] 
tsfile: fix double insert of mmi into mi_mux_active. Created infinite loop.

11 years agowebui: add support for hidemode in grids. Also tidied a few things up.
Adam Sutton [Sun, 22 Sep 2013 13:31:16 +0000 (14:31 +0100)] 
webui: add support for hidemode in grids. Also tidied a few things up.

11 years agowebui: minor clean up of toolbar (in services panel)
Adam Sutton [Sun, 22 Sep 2013 12:30:36 +0000 (13:30 +0100)] 
webui: minor clean up of toolbar (in services panel)

11 years agowebui: minor improvement to service mapping button
Adam Sutton [Sun, 22 Sep 2013 12:28:49 +0000 (13:28 +0100)] 
webui: minor improvement to service mapping button

11 years agoapi: make it possible to hide disabled services in the mux/service grids
Adam Sutton [Sun, 22 Sep 2013 12:15:16 +0000 (13:15 +0100)] 
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

11 years agoepggrab: ensure opentv gets registered during init scan.
Adam Sutton [Sat, 21 Sep 2013 21:43:49 +0000 (22:43 +0100)] 
epggrab: ensure opentv gets registered during init scan.

11 years agowebui: ensure tabs are in the right place!
Adam Sutton [Sat, 21 Sep 2013 21:07:24 +0000 (22:07 +0100)] 
webui: ensure tabs are in the right place!

11 years agowebui: add default options to various structures for better UI
Adam Sutton [Sat, 21 Sep 2013 21:00:07 +0000 (22:00 +0100)] 
webui: add default options to various structures for better UI

11 years agowebui: add some support for the new property fields
Adam Sutton [Sat, 21 Sep 2013 20:43:03 +0000 (21:43 +0100)] 
webui: add some support for the new property fields

11 years agoprop: added some extra options including defaults and advanced.
Adam Sutton [Sat, 21 Sep 2013 19:00:19 +0000 (20:00 +0100)] 
prop: added some extra options including defaults and advanced.

11 years agoepggrab: ensure that grabs that timeout will unsubscribe
Adam Sutton [Sat, 21 Sep 2013 18:45:55 +0000 (19:45 +0100)] 
epggrab: ensure that grabs that timeout will unsubscribe

11 years agolinuxdvb: add satconf delete handler
Adam Sutton [Sat, 21 Sep 2013 10:55:34 +0000 (11:55 +0100)] 
linuxdvb: add satconf delete handler

11 years agocwc: fix logic error in multi card procesing at service startup
amet [Fri, 20 Sep 2013 21:54:30 +0000 (01:54 +0400)] 
cwc: fix logic error in multi card procesing at service startup

11 years agowebui: make it possible to map selected services
Adam Sutton [Fri, 20 Sep 2013 21:39:27 +0000 (22:39 +0100)] 
webui: make it possible to map selected services

I probably need to improve the text on the button.

11 years agolinuxdvb: safety check for possible bad config
Adam Sutton [Fri, 20 Sep 2013 21:33:03 +0000 (22:33 +0100)] 
linuxdvb: safety check for possible bad config

11 years agoservice mapper: make it possible to select services to map
Adam Sutton [Fri, 20 Sep 2013 21:32:17 +0000 (22:32 +0100)] 
service mapper: make it possible to select services to map

Also fixed some bugs that caused the mapping to fail and/or do the wrong
thing.

11 years agowebui: add variable to control number of items per page in idnode grids
Adam Sutton [Fri, 20 Sep 2013 20:14:42 +0000 (21:14 +0100)] 
webui: add variable to control number of items per page in idnode grids

11 years agolinuxdvb: added pre-defined mux configuration file support
Adam Sutton [Thu, 19 Sep 2013 21:17:02 +0000 (22:17 +0100)] 
linuxdvb: added pre-defined mux configuration file support

This had been left out for too long and makes it awkward for novices
to setup the networks. The config is possibly not as nice as before where
it was presented as a tree. But this can be improved later.

11 years agoidnode: allow NOSAVE options to be "loaded".
Adam Sutton [Thu, 19 Sep 2013 21:17:59 +0000 (22:17 +0100)] 
idnode: allow NOSAVE options to be "loaded".

This is needed since this routine is used to also load config on creation.
So if a NOSAVE option is included there it will not load it. If it really
is NOSAVE it shouldn't be in the config files anyway (due to NOSAVE check
on actual save).

11 years agowebui: UI crashed for non store based enumerations
Adam Sutton [Thu, 19 Sep 2013 19:45:25 +0000 (20:45 +0100)] 
webui: UI crashed for non store based enumerations

11 years agolinuxdvb: fix dvb-s config params modulation and rolloff
Adam Sutton [Thu, 19 Sep 2013 10:10:25 +0000 (11:10 +0100)] 
linuxdvb: fix dvb-s config params modulation and rolloff

11 years agompegts: change some config strings to be more user friendly
Adam Sutton [Thu, 19 Sep 2013 10:07:31 +0000 (11:07 +0100)] 
mpegts: change some config strings to be more user friendly

11 years agompegts: remove the wait for NIT in SDT processing
Adam Sutton [Thu, 19 Sep 2013 10:02:52 +0000 (11:02 +0100)] 
mpegts: remove the wait for NIT in SDT processing

This causes initial scans to time out where the SDT is waiting on
mux information from. Given that we'll rescan these muxes anyway
there is little point.

The only downside is the single point of info muxes (like 11778V
in the UK) may not get the opportunity to provide all the info they
could, since we might miss service info until later.

11 years agotvhlog: correct subsys processing, stuff was being incorrectly logged
Adam Sutton [Thu, 19 Sep 2013 10:01:58 +0000 (11:01 +0100)] 
tvhlog: correct subsys processing, stuff was being incorrectly logged

11 years agolinuxdvb: honour the autodiscovery option
Adam Sutton [Wed, 18 Sep 2013 13:09:32 +0000 (14:09 +0100)] 
linuxdvb: honour the autodiscovery option

11 years agocwc: added missing free() to stop memory leak
Adam Sutton [Wed, 18 Sep 2013 12:58:45 +0000 (13:58 +0100)] 
cwc: added missing free() to stop memory leak

11 years agoMerge remote-tracking branch 'amet/feature/dvb-rewrite_mgclient1' into feature/dvb...
Adam Sutton [Wed, 18 Sep 2013 12:58:09 +0000 (13:58 +0100)] 
Merge remote-tracking branch 'amet/feature/dvb-rewrite_mgclient1' into feature/dvb-rewrite

11 years agodescrambler: configure with --enable-dvbcsa flag
amet [Tue, 17 Sep 2013 09:04:46 +0000 (13:04 +0400)] 
descrambler: configure with --enable-dvbcsa flag

11 years agomove detect_card_type to commonly accessible place
amet [Tue, 17 Sep 2013 17:06:31 +0000 (21:06 +0400)] 
move detect_card_type to commonly accessible place

11 years agoextend cwc to act as Mgclient, one port many caids
amet [Sun, 15 Sep 2013 18:49:13 +0000 (22:49 +0400)] 
extend cwc to act as Mgclient, one port many caids

11 years agowebui: started updating the idnode functionality to be cleaner
Adam Sutton [Tue, 17 Sep 2013 08:23:35 +0000 (09:23 +0100)] 
webui: started updating the idnode functionality to be cleaner

It's still a mess, but it mostly does the job

11 years agoui: I have slightly hacked the multi combo to return a list for the form value
Adam Sutton [Tue, 17 Sep 2013 08:23:01 +0000 (09:23 +0100)] 
ui: I have slightly hacked the multi combo to return a list for the form value

11 years agoapi: updated idnode objects to support new rend() method in prop_t
Adam Sutton [Tue, 17 Sep 2013 08:21:50 +0000 (09:21 +0100)] 
api: updated idnode objects to support new rend() method in prop_t

This allows enumerated (ish) types to now be fully sorted and filtered in
the way you'd expect from the UI.

11 years agoidnode: just a few bits of tidying up
Adam Sutton [Tue, 17 Sep 2013 08:21:02 +0000 (09:21 +0100)] 
idnode: just a few bits of tidying up

11 years agoservice_mapper: added extra (probably redundant) list check
Adam Sutton [Mon, 16 Sep 2013 20:46:51 +0000 (21:46 +0100)] 
service_mapper: added extra (probably redundant) list check

11 years agoidnode prop: make it possible to properly sort/filter enum/list types
Adam Sutton [Mon, 16 Sep 2013 20:41:21 +0000 (21:41 +0100)] 
idnode prop: make it possible to properly sort/filter enum/list types

This does require a certain level of extra input from prop_t users where
the type is enumerated. A new routine rend() must be implemented to provide
the rendered value (for lists that are not enum, this is done transparently).

11 years agohtsmsg: add routine to convert a list to a CSV string
Adam Sutton [Mon, 16 Sep 2013 20:39:12 +0000 (21:39 +0100)] 
htsmsg: add routine to convert a list to a CSV string

Note: this will not work with all lists, only lists of basic types.

11 years agosupport: update config migration script for new idnode lists
Adam Sutton [Mon, 16 Sep 2013 14:04:44 +0000 (15:04 +0100)] 
support: update config migration script for new idnode lists

11 years agoservice: update to new idnode API for lists
Adam Sutton [Mon, 16 Sep 2013 14:03:40 +0000 (15:03 +0100)] 
service: update to new idnode API for lists

11 years agochannel: updated to the new idnode/prop API for fields that represent lists
Adam Sutton [Sat, 14 Sep 2013 22:26:36 +0000 (23:26 +0100)] 
channel: updated to the new idnode/prop API for fields that represent lists

11 years agoapi: added channeltag list API call
Adam Sutton [Mon, 16 Sep 2013 13:17:11 +0000 (14:17 +0100)] 
api: added channeltag list API call

11 years agoidnode prop: new API for specifying lists
Adam Sutton [Sat, 14 Sep 2013 22:24:51 +0000 (23:24 +0100)] 
idnode prop: new API for specifying lists

This is to avoid the need for string processing within the C code to combine
and split lists from CSV strings.

11 years agoapi: started to migrate EPG functions to the common API
Adam Sutton [Fri, 13 Sep 2013 21:25:58 +0000 (22:25 +0100)] 
api: started to migrate EPG functions to the common API

11 years agowebui: fix issue that caused UUIDs (not strings) to be displayed on update
Adam Sutton [Fri, 13 Sep 2013 15:52:22 +0000 (16:52 +0100)] 
webui: fix issue that caused UUIDs (not strings) to be displayed on update

11 years agoinput: include missing information about stream info
Adam Sutton [Fri, 13 Sep 2013 15:30:25 +0000 (16:30 +0100)] 
input: include missing information about stream info

11 years agoinput: fix error in BER reporting
Adam Sutton [Fri, 13 Sep 2013 15:19:29 +0000 (16:19 +0100)] 
input: fix error in BER reporting