]> git.ipfire.org Git - thirdparty/tvheadend.git/log
thirdparty/tvheadend.git
11 years agochannel: added support for getting icons from underlying services feature/picons 902/head
Adam Sutton [Fri, 16 May 2014 23:04:03 +0000 (00:04 +0100)] 
channel: added support for getting icons from underlying services

Also added an initial implementation of picon support.

11 years agompegts network_scan: fix problem with active muxes being re-added to scan Q
Adam Sutton [Wed, 11 Jun 2014 00:02:22 +0000 (01:02 +0100)] 
mpegts network_scan: fix problem with active muxes being re-added to scan Q

11 years agotvhcsa_descramble: remove unused elementary_stream parameter
Jaroslav Kysela [Tue, 10 Jun 2014 21:21:11 +0000 (23:21 +0200)] 
tvhcsa_descramble: remove unused elementary_stream parameter

11 years agohttpc: use poll to check for the EINPROGRESS state
Jaroslav Kysela [Tue, 10 Jun 2014 21:09:03 +0000 (23:09 +0200)] 
httpc: use poll to check for the EINPROGRESS state

11 years agompegts network_scan: fix problems with having multiple networks
Adam Sutton [Tue, 10 Jun 2014 19:22:40 +0000 (20:22 +0100)] 
mpegts network_scan: fix problems with having multiple networks

previously as soon as any mux failed it would give up assuming nothing else
could be tuned. However just because no tuner was available that could service
that mux doesn't mean there wasn't one that couldn't service another.

The only real issue I can see with this is if we're idle scanning it's possible
due to bad luck to starve muxes of an attempt. We can either rely on random
chance or put some additional weighting based on time? Though that could be
problematic for other reasons.

11 years agohttpc: add checking for NULL scheme and host
Jaroslav Kysela [Tue, 10 Jun 2014 18:14:43 +0000 (20:14 +0200)] 
httpc: add checking for NULL scheme and host

11 years agocapmt: another 'mode 1' fix
Jaroslav Kysela [Tue, 10 Jun 2014 17:53:51 +0000 (19:53 +0200)] 
capmt: another 'mode 1' fix

11 years agocapmt: adapter index fix for 'mode 1'
Jaroslav Kysela [Tue, 10 Jun 2014 16:37:46 +0000 (18:37 +0200)] 
capmt: adapter index fix for 'mode 1'

11 years agoMakefile: Simplify (and probably fix) the ffdecsa rules
Jaroslav Kysela [Tue, 10 Jun 2014 16:29:38 +0000 (18:29 +0200)] 
Makefile: Simplify (and probably fix) the ffdecsa rules

11 years agoMerge pull request #422 from dmarion/osx
perexg [Tue, 10 Jun 2014 16:19:45 +0000 (18:19 +0200)] 
Merge pull request #422 from dmarion/osx

2 fixes to make it build-able on OS X

11 years agocapmt: fix capmt_pid_remove() by removing extra semicolon 422/head
Damjan Marion [Tue, 10 Jun 2014 16:04:40 +0000 (18:04 +0200)] 
capmt: fix capmt_pid_remove() by removing extra semicolon

Thanks to clang for notifying this.

11 years agofix building on OS X and FreeBSD
Damjan Marion [Tue, 10 Jun 2014 16:03:50 +0000 (18:03 +0200)] 
fix building on OS X and FreeBSD

11 years agohttpc: fix for the previous commit
Jaroslav Kysela [Tue, 10 Jun 2014 13:07:58 +0000 (15:07 +0200)] 
httpc: fix for the previous commit

11 years agohttpc: Add EINPROGRESS workaround for OSX
Jaroslav Kysela [Tue, 10 Jun 2014 13:02:34 +0000 (15:02 +0200)] 
httpc: Add EINPROGRESS workaround for OSX

11 years agocapmt: fix compilation without linuxdvb support
Jaroslav Kysela [Tue, 10 Jun 2014 12:51:14 +0000 (14:51 +0200)] 
capmt: fix compilation without linuxdvb support

11 years agompegts_mux_start: follow weight handling as for service, fix errors
Jaroslav Kysela [Tue, 10 Jun 2014 12:42:11 +0000 (14:42 +0200)] 
mpegts_mux_start: follow weight handling as for service, fix errors

11 years agoservice: find the tuner/source with the lowest weight for the override action
Jaroslav Kysela [Tue, 10 Jun 2014 12:23:18 +0000 (14:23 +0200)] 
service: find the tuner/source with the lowest weight for the override action

11 years agompegts: Add extra weight for inputs with more subscribers
Jaroslav Kysela [Mon, 26 May 2014 12:43:22 +0000 (14:43 +0200)] 
mpegts: Add extra weight for inputs with more subscribers

This simple code assures that the inputs having more subscribers
will be selected after ones with less subscribers.

11 years agorecode mpegts_mux_start() to follow rules as service_find_instance()
Jaroslav Kysela [Mon, 26 May 2014 12:26:11 +0000 (14:26 +0200)] 
recode mpegts_mux_start() to follow rules as service_find_instance()

11 years agoservice: handle input priority better
Jaroslav Kysela [Mon, 26 May 2014 11:09:23 +0000 (13:09 +0200)] 
service: handle input priority better

Ensure, that inputs with higher priorities are preferred.
The decision line is:

1) re-use input if the in-use mux matches
2) use a free input with highest priority
3) cancel the mux/input with smallest weight and use it for new

11 years agocapmt: fix wrong free() call
Jaroslav Kysela [Tue, 10 Jun 2014 11:37:04 +0000 (13:37 +0200)] 
capmt: fix wrong free() call

11 years agodescrambler: move some of the reader logic to the common code
Jaroslav Kysela [Mon, 9 Jun 2014 20:07:20 +0000 (22:07 +0200)] 
descrambler: move some of the reader logic to the common code

11 years agocapmt: fix the mutex deadlock in capmt_destroy()
Jaroslav Kysela [Mon, 9 Jun 2014 17:12:01 +0000 (19:12 +0200)] 
capmt: fix the mutex deadlock in capmt_destroy()

11 years agodescrambler: add time-based check for valid ECM key responses
Jaroslav Kysela [Mon, 9 Jun 2014 17:03:05 +0000 (19:03 +0200)] 
descrambler: add time-based check for valid ECM key responses

11 years agodescrambler: use buffer to make streaming of scrambled streams faster
Jaroslav Kysela [Mon, 9 Jun 2014 13:26:55 +0000 (15:26 +0200)] 
descrambler: use buffer to make streaming of scrambled streams faster

11 years agoservice.h: remove unused variable
Jaroslav Kysela [Mon, 9 Jun 2014 06:33:05 +0000 (08:33 +0200)] 
service.h: remove unused variable

11 years agodescrambler: filter equal ECM/EMM requests
Jaroslav Kysela [Sun, 8 Jun 2014 19:13:09 +0000 (21:13 +0200)] 
descrambler: filter equal ECM/EMM requests

11 years agodescrambler: introduce descrambler_keys()
Jaroslav Kysela [Sun, 8 Jun 2014 19:06:37 +0000 (21:06 +0200)] 
descrambler: introduce descrambler_keys()

11 years agompegts/descrambler: Introduce FAST TABLE for CA ECM processing
Jaroslav Kysela [Sun, 8 Jun 2014 12:47:57 +0000 (14:47 +0200)] 
mpegts/descrambler: Introduce FAST TABLE for CA ECM processing

- also change the capmt locking (get most of job outside global lock)

11 years agompegts: close_service - ignore SCT_CA streams
Jaroslav Kysela [Sat, 7 Jun 2014 09:21:17 +0000 (11:21 +0200)] 
mpegts: close_service - ignore SCT_CA streams

11 years agocwc: remove opaque structures
Jaroslav Kysela [Sat, 7 Jun 2014 09:19:38 +0000 (11:19 +0200)] 
cwc: remove opaque structures

11 years agodescrambler: improve/fix the emm locking
Jaroslav Kysela [Sat, 7 Jun 2014 07:31:32 +0000 (09:31 +0200)] 
descrambler: improve/fix the emm locking

11 years agocapmt/cwc/mpegts: change emm processing
Jaroslav Kysela [Fri, 6 Jun 2014 21:47:40 +0000 (23:47 +0200)] 
capmt/cwc/mpegts: change emm processing

11 years agocapmt/cwc/mpegts: descrambler changes - register CA PIDs on demand
Jaroslav Kysela [Fri, 6 Jun 2014 09:39:30 +0000 (11:39 +0200)] 
capmt/cwc/mpegts: descrambler changes - register CA PIDs on demand

- capmt code was a bit restructured again

11 years agocapmt: recode - use polling and write queue
Jaroslav Kysela [Thu, 5 Jun 2014 13:59:12 +0000 (15:59 +0200)] 
capmt: recode - use polling and write queue

11 years agocapmt: fixes for the adapter index
Jaroslav Kysela [Wed, 4 Jun 2014 10:49:01 +0000 (12:49 +0200)] 
capmt: fixes for the adapter index

11 years agocapmt: small cosmetic optimization
Jaroslav Kysela [Wed, 4 Jun 2014 07:31:22 +0000 (09:31 +0200)] 
capmt: small cosmetic optimization

11 years agocapmt: webui - we know the oscam revision for mode 4
Jaroslav Kysela [Wed, 4 Jun 2014 06:15:36 +0000 (08:15 +0200)] 
capmt: webui - we know the oscam revision for mode 4

11 years agocapmt: Improve docs for updated code
Jaroslav Kysela [Tue, 3 Jun 2014 19:05:20 +0000 (21:05 +0200)] 
capmt: Improve docs for updated code

11 years agocapmt: add support for the one socket mode (oscam)
Jaroslav Kysela [Tue, 3 Jun 2014 11:09:59 +0000 (13:09 +0200)] 
capmt: add support for the one socket mode (oscam)

11 years agoseparate capmt and cwc config
Jaroslav Kysela [Fri, 30 May 2014 11:38:29 +0000 (13:38 +0200)] 
separate capmt and cwc config

11 years agodescrambler: add descrambler_ca_section function
Jaroslav Kysela [Fri, 30 May 2014 11:02:52 +0000 (13:02 +0200)] 
descrambler: add descrambler_ca_section function

11 years agodecrambler: cosmetic (change tabs for spaces)
Jaroslav Kysela [Fri, 30 May 2014 07:45:58 +0000 (09:45 +0200)] 
decrambler: cosmetic (change tabs for spaces)

11 years agocwc: Fix the provider id print
Jaroslav Kysela [Fri, 30 May 2014 07:44:01 +0000 (09:44 +0200)] 
cwc: Fix the provider id print

11 years agodescrambler: add stop fcn and remove the loop from tsdemux
Jaroslav Kysela [Fri, 30 May 2014 07:39:49 +0000 (09:39 +0200)] 
descrambler: add stop fcn and remove the loop from tsdemux

11 years agodescrambler: Merge the common descrambler code - tvhcsa_descramble() calls
Jaroslav Kysela [Thu, 29 May 2014 14:08:02 +0000 (16:08 +0200)] 
descrambler: Merge the common descrambler code - tvhcsa_descramble() calls

11 years agocwc: Allocated cwc_providers member dynamically
Jaroslav Kysela [Thu, 29 May 2014 12:44:03 +0000 (14:44 +0200)] 
cwc: Allocated cwc_providers member dynamically

11 years agoimagecache: fix memory leak (skel)
Jaroslav Kysela [Tue, 10 Jun 2014 11:49:58 +0000 (13:49 +0200)] 
imagecache: fix memory leak (skel)

11 years agompegts_mux: fix the scan shutdown sequence for mux
Jaroslav Kysela [Tue, 10 Jun 2014 11:40:36 +0000 (13:40 +0200)] 
mpegts_mux: fix the scan shutdown sequence for mux

11 years agobuild: disable strict aliasing
Adam Sutton [Tue, 10 Jun 2014 09:57:45 +0000 (10:57 +0100)] 
build: disable strict aliasing

although can create a minor performance penalty it looks like many projects
disable this as strict aliasing can create annoying warnings that are not
always trivial to overcome at the expense of a relatively minor performance
improvement.

11 years agossl: fix cleanup
Adam Sutton [Tue, 10 Jun 2014 09:27:59 +0000 (10:27 +0100)] 
ssl: fix cleanup

11 years agompegts: fix possible recursion, causing strange crashes 417/head
Adam Sutton [Mon, 9 Jun 2014 20:13:22 +0000 (21:13 +0100)] 
mpegts: fix possible recursion, causing strange crashes

I'm not entirely sure what has changed that has made this a problem
where it apparently wasn't before. That being said, its not nice and
would previously have said it might cause undesirable side-effects.
I would have been right!

11 years agompegts: some minor debug changes
Adam Sutton [Mon, 9 Jun 2014 18:58:36 +0000 (19:58 +0100)] 
mpegts: some minor debug changes

11 years agompegts network_scan: fix queue ordering issue
Adam Sutton [Fri, 6 Jun 2014 09:09:38 +0000 (10:09 +0100)] 
mpegts network_scan: fix queue ordering issue

This was causing entries just complete (idle scan) to get re-added to the head!
Which ultimately resulted in only N entries ever getting serviced (where N is
the number of available tuners)

11 years agompegts network_scan: add proper enable/disable of mux and idle scan feature
Adam Sutton [Thu, 5 Jun 2014 21:53:36 +0000 (22:53 +0100)] 
mpegts network_scan: add proper enable/disable of mux and idle scan feature

11 years agompegts: improvements to the reworked network scanner
Adam Sutton [Thu, 5 Jun 2014 21:20:08 +0000 (22:20 +0100)] 
mpegts: improvements to the reworked network scanner

11 years agompegts network_scan: fix for failed tuning
Adam Sutton [Thu, 5 Jun 2014 18:07:22 +0000 (19:07 +0100)] 
mpegts network_scan: fix for failed tuning

11 years agompegts network scan: fix stupid mistake on queue delete
Adam Sutton [Tue, 20 May 2014 21:48:01 +0000 (22:48 +0100)] 
mpegts network scan: fix stupid mistake on queue delete

11 years agompegts scan: some minor corrections so stuff doesn't crash!
Adam Sutton [Sat, 17 May 2014 09:11:36 +0000 (10:11 +0100)] 
mpegts scan: some minor corrections so stuff doesn't crash!

11 years agompegts: first pass of new network scanner code
Adam Sutton [Sun, 27 Apr 2014 19:54:38 +0000 (20:54 +0100)] 
mpegts: first pass of new network scanner code

This doesn't currently include the scheduling of scans, just a centralised
scanning queue and helper functions.

11 years agolinuxdvb: fix bugs in recent satconf/switch changes
Adam Sutton [Mon, 9 Jun 2014 21:07:21 +0000 (22:07 +0100)] 
linuxdvb: fix bugs in recent satconf/switch changes

11 years agoidnode prop: allow sorting via key value on enum's
Adam Sutton [Thu, 5 Jun 2014 21:18:07 +0000 (22:18 +0100)] 
idnode prop: allow sorting via key value on enum's

11 years agoutil: added a reverse insert (sorted) routine to TAILQ
Adam Sutton [Fri, 6 Jun 2014 09:08:08 +0000 (10:08 +0100)] 
util: added a reverse insert (sorted) routine to TAILQ

This changes the way in which equal objects are handled. Previously they'd
be added to the HEAD and with this they add to the TAIL, which is what I
need in network scanning code.

11 years agoutil: allow conversion from strtab to htsmsg (suitable for idnode enum)
Adam Sutton [Thu, 5 Jun 2014 21:18:28 +0000 (22:18 +0100)] 
util: allow conversion from strtab to htsmsg (suitable for idnode enum)

11 years agoprop: fix bug in handling PT_INT which should be signed
Adam Sutton [Mon, 9 Jun 2014 21:06:29 +0000 (22:06 +0100)] 
prop: fix bug in handling PT_INT which should be signed

11 years agolinuxdvb: fix compilation errors from PR
Adam Sutton [Sun, 8 Jun 2014 13:22:03 +0000 (14:22 +0100)] 
linuxdvb: fix compilation errors from PR

11 years agoMerge remote-tracking branch 'origin/pr/374'
Adam Sutton [Sat, 7 Jun 2014 21:54:54 +0000 (22:54 +0100)] 
Merge remote-tracking branch 'origin/pr/374'

11 years agoMerge remote-tracking branch 'origin/pr/367'
Adam Sutton [Sat, 7 Jun 2014 21:54:29 +0000 (22:54 +0100)] 
Merge remote-tracking branch 'origin/pr/367'

11 years agoMerge remote-tracking branch 'origin/pr/301'
Adam Sutton [Sat, 7 Jun 2014 21:53:48 +0000 (22:53 +0100)] 
Merge remote-tracking branch 'origin/pr/301'

Conflicts:
src/dvr/dvr.h
src/dvr/dvr_db.c
src/webui/extjs.c
src/webui/static/app/dvr.js

11 years agoMerge remote-tracking branch 'origin/pr/372'
Adam Sutton [Sat, 7 Jun 2014 21:38:55 +0000 (22:38 +0100)] 
Merge remote-tracking branch 'origin/pr/372'

11 years agowebui: fix missing event title argument Fixes #2125
Adam Sutton [Sat, 7 Jun 2014 20:20:05 +0000 (21:20 +0100)] 
webui: fix missing event title argument Fixes #2125

11 years agohtsbuf: ensure that printf arguments are validated
Adam Sutton [Sat, 7 Jun 2014 20:19:49 +0000 (21:19 +0100)] 
htsbuf: ensure that printf arguments are validated

11 years agoMerge remote-tracking branch 'origin/pr/410'
Adam Sutton [Sat, 7 Jun 2014 19:44:50 +0000 (20:44 +0100)] 
Merge remote-tracking branch 'origin/pr/410'

Fixes #2115

11 years agoMerge pull request #415 from dmarion/osx
perexg [Mon, 2 Jun 2014 17:56:08 +0000 (19:56 +0200)] 
Merge pull request #415 from dmarion/osx

avahi: tvheadend_webroot can be NULL - fix the fix

11 years agoavahi: tvheadend_webroot can be NULL - fix the fix 415/head
Damjan Marion [Mon, 2 Jun 2014 16:06:26 +0000 (18:06 +0200)] 
avahi: tvheadend_webroot can be NULL - fix the fix

11 years agoMerge pull request #414 from dmarion/osx
perexg [Mon, 2 Jun 2014 14:26:40 +0000 (16:26 +0200)] 
Merge pull request #414 from dmarion/osx

tvheadend_webroot can be NULL

11 years agotvheadend_webroot can be NULL 414/head
Damjan Marion [Mon, 2 Jun 2014 14:08:01 +0000 (16:08 +0200)] 
tvheadend_webroot can be NULL

11 years agoMerge pull request #412 from dmarion/osx
perexg [Mon, 2 Jun 2014 13:21:49 +0000 (15:21 +0200)] 
Merge pull request #412 from dmarion/osx

fix static port and webroot in avahi and bonjour, add OSX section in README.md

11 years agoMerge pull request #413 from wooyay/master
perexg [Mon, 2 Jun 2014 13:21:28 +0000 (15:21 +0200)] 
Merge pull request #413 from wooyay/master

RTSP: only skip leading zeros if the next character is also zero

11 years agoavahi: webroot is not fixed 412/head
Damjan Marion [Mon, 2 Jun 2014 07:24:20 +0000 (09:24 +0200)] 
avahi: webroot is not fixed

11 years agobonjour: port numbers and webroot are not fixed
Damjan Marion [Mon, 2 Jun 2014 07:06:40 +0000 (09:06 +0200)] 
bonjour: port numbers and webroot are not fixed

11 years agoosx: update README.md
Damjan Marion [Fri, 30 May 2014 11:31:36 +0000 (13:31 +0200)] 
osx: update README.md

11 years agoRTSP: only skip leading zeros if the next character is also zero (fixes stream ID... 413/head
wooyay [Mon, 2 Jun 2014 10:02:52 +0000 (11:02 +0100)] 
RTSP: only skip leading zeros if the next character is also zero (fixes stream ID of 0)

11 years agohttpc: fix the basic auth
Jaroslav Kysela [Mon, 2 Jun 2014 06:51:08 +0000 (08:51 +0200)] 
httpc: fix the basic auth

11 years agocwc: do not show error on read in the shutdown phase
Jaroslav Kysela [Mon, 2 Jun 2014 06:16:50 +0000 (08:16 +0200)] 
cwc: do not show error on read in the shutdown phase

11 years agotcp: break the timeout loop early when tvheadend is in the shutdown phase
Jaroslav Kysela [Mon, 2 Jun 2014 06:13:12 +0000 (08:13 +0200)] 
tcp: break the timeout loop early when tvheadend is in the shutdown phase

11 years agotcp: rewrite connection timeout using tvhpoll wrapper
Jaroslav Kysela [Sun, 1 Jun 2014 20:23:37 +0000 (22:23 +0200)] 
tcp: rewrite connection timeout using tvhpoll wrapper

11 years agoMerge pull request #411 from dmarion/bonjour
perexg [Sun, 1 Jun 2014 20:08:28 +0000 (22:08 +0200)] 
Merge pull request #411 from dmarion/bonjour

osx: introduce bonjour support

11 years agohttpc: fix the connection-close handling
Jaroslav Kysela [Sun, 1 Jun 2014 20:05:33 +0000 (22:05 +0200)] 
httpc: fix the connection-close handling

11 years agoimagecache: check for null/empty url
Jaroslav Kysela [Sun, 1 Jun 2014 19:37:42 +0000 (21:37 +0200)] 
imagecache: check for null/empty url

11 years agourl: fix the uriparser (password parsing)
Jaroslav Kysela [Sun, 1 Jun 2014 18:57:53 +0000 (20:57 +0200)] 
url: fix the uriparser (password parsing)

11 years agoosx: introduce bonjour support 411/head
Damjan Marion [Fri, 30 May 2014 22:47:17 +0000 (00:47 +0200)] 
osx: introduce bonjour support

11 years agoUpdate dvb_psi.c 410/head
flipit [Sat, 31 May 2014 20:03:15 +0000 (13:03 -0700)] 
Update dvb_psi.c

changed minlength to 5 bytes for providers that don't send descriptor() in cat

11 years agoSAT>IP: Improve DVB-S2 tuning for Triax TSS400 (plts=on)
Jaroslav Kysela [Fri, 30 May 2014 11:09:57 +0000 (13:09 +0200)] 
SAT>IP: Improve DVB-S2 tuning for Triax TSS400 (plts=on)

11 years agoMerge pull request #407 from dmarion/osx
perexg [Fri, 30 May 2014 06:23:46 +0000 (08:23 +0200)] 
Merge pull request #407 from dmarion/osx

osx: fix crash during the tvh_qsort_r()

11 years agoextjs/dvr: Fix the null pointer dereference for dvr_charset
Jaroslav Kysela [Fri, 30 May 2014 06:22:10 +0000 (08:22 +0200)] 
extjs/dvr: Fix the null pointer dereference for dvr_charset

11 years agoosx: fix crash during the tvh_qsort_r() 407/head
Damjan Marion [Thu, 29 May 2014 22:52:06 +0000 (00:52 +0200)] 
osx: fix crash during the tvh_qsort_r()

11 years agoudp: do not get unused ifindex for Darwin & IPv4
Jaroslav Kysela [Thu, 29 May 2014 08:55:15 +0000 (10:55 +0200)] 
udp: do not get unused ifindex for Darwin & IPv4

11 years agoMerge pull request #405 from ProfYaffle/master
perexg [Thu, 29 May 2014 08:46:48 +0000 (10:46 +0200)] 
Merge pull request #405 from ProfYaffle/master

dvr.js: Add 'all' option to paging length to address limitations of only...

11 years agoMerge pull request #403 from dmarion/osx
perexg [Thu, 29 May 2014 08:45:35 +0000 (10:45 +0200)] 
Merge pull request #403 from dmarion/osx

osx: fix interface selection for ipv4 multicast joins