Commit graph

3878 commits

Author SHA1 Message Date
Adam Sutton
07ad772e70 Merge remote-tracking branch 'origin/pr/318'
Conflicts:
	src/input/mpegts/linuxdvb/linuxdvb_satconf.c
2014-01-11 00:48:06 +00:00
Adam Sutton
9addc4e82b linuxdvb: ensure satconf memory is cleaned up properly 2014-01-11 00:43:59 +00:00
Adam Sutton
7517af8eb7 Merge remote-tracking branch 'origin/pr/317' 2014-01-11 00:29:16 +00:00
Adam Sutton
85376b622c linuxdvb: minor tweak to adapter UUID generation
This overcomes issues with multi-frontend tuners that change the
tuner name based on the selected frontend. We simply force the selection
of the first available frontend, which should keep things constant.
2014-01-11 00:27:01 +00:00
Adam Sutton
96b4b22312 linuxdvb: added dynamic and combi DVB tuner support
I have also simplified the hardware tree. Though I still need to
resolve some minor issues related to adapter ID'ing.
2014-01-11 00:27:00 +00:00
Adam Sutton
517af478ab fsmonitor: general purpose wrapper for inotify for monitoring files/dirs
pretty basic, but enough to get me started on the things I want to do for
dynamic dvb adapters, now I've given up on using udev (for various reasons).

Will probably want to migrate DVR inotify stuff onto this framework eventually.
2014-01-11 00:27:00 +00:00
Adam Sutton
c0c2a39fd6 tcp: correct typo in debug message 2014-01-11 00:27:00 +00:00
Bernhard Froehlich
226ae844bc build: declare environ explicitly on FreeBSD
src/trap.c:107: error: 'environ' undeclared (first use in this function)
2014-01-10 20:51:26 +00:00
Bernhard Froehlich
9fd07c65a4 build: Add missing include for Dl_info on FreeBSD which is only used
when execinfo is enabled.

src/trap.c:144: error: 'Dl_info' undeclared (first use in this function)
src/trap.c:144: error: expected ';' before 'dli'
cc1: warnings being treated as errors
src/trap.c:187: warning: implicit declaration of function 'dladdr'
src/trap.c:187: error: 'dli' undeclared (first use in this function)
2014-01-10 20:49:23 +00:00
Bernhard Froehlich
0370fb3e41 pthread: Add missing include for pthread_set_name_np(3) 2014-01-10 20:40:31 +00:00
John Törnblom
0554302f77 iptv: fixed crash when iptv url is null 2014-01-10 14:45:07 +01:00
Sascha Kuehndel (InuSasha)
88f0dbba2e EN50494: merge mutex_unlocks after for-loop 2014-01-09 20:01:51 +01:00
Sascha Kuehndel (InuSasha)
35a2216eb8 EN50494: basic collision control
- add DiSEqC repeats to en50494 tune, with random delay
- avoid parallel tuning on en50494
2014-01-09 19:23:33 +01:00
Sascha Kuehndel (InuSasha)
00e9adc310 EN50494: better pin drop down 2014-01-08 22:17:02 +01:00
Sascha InuSasha Kuehndel
96e3f7b0a4 EN50494: convert fields for id and pin to a drop down box, on gui 2014-01-08 21:31:01 +01:00
Bernhard Froehlich
4559e36dc1 pthread: Set name of thread for easier debugging on FreeBSD 2014-01-08 14:39:26 +00:00
Bernhard Froehlich
727357e1bd Revert "freebsd: Assume all devices on FreeBSD are USB 2.0 per default because"
This reverts commit fd75ad6d3d71429f9e82339bd5abdb391725923b.
2014-01-08 14:32:52 +00:00
InuSasha
5b163273d2 EN50494: small fixes 2014-01-06 22:22:28 +01:00
InuSasha
8792c5cb42 EN50494: add gui interface for configuration
- EN50494 configuration
- revert drop off compiler optimation
2014-01-06 19:05:26 +01:00
InuSasha
1673b4a2cd EN50494: configuration storage
- add save configuration
- set default values
- raise variable length to 16bit (needed by configuration save)
2014-01-06 17:29:19 +01:00
Sascha
4a4d7f166e EN50494: fix copy'n'paste misstake 2014-01-06 13:58:04 +01:00
InuSasha
b67b98b7b6 EN50494: fix subelement creation for multi-port switches 2014-01-05 23:47:12 +01:00
Bernhard Froehlich
c21d42e4ce misc: Add ifdefs for linux specific prctl(2) 2014-01-05 22:13:12 +01:00
Bernhard Froehlich
ffff0b34c4 freebsd: Assume all devices on FreeBSD are USB 2.0 per default because
FreeBSD does not have sysfs to read the device speed and type properly.
The good thing is that there are no PCI devices that support V4L right
now so all supported devices are from webcamd which only supports USB
devices so that default is always correct.
2014-01-05 22:02:18 +01:00
Bernhard Froehlich
7bf3a13d67 build: Fix clang compiler warning 2014-01-05 21:59:29 +01:00
Bernhard Froehlich
d2e4af6529 build: Hide glibc workarounds in PLATFORM_LINUX because it does only make sense on Linux. 2014-01-05 21:53:28 +01:00
Bernhard Froehlich
8093e67b55 install: Properly install manpages in mandir/man1 which also fixes Bug#1064. 2014-01-05 21:47:25 +01:00
InuSasha
229ef2f48e EN50494: replace hardcoded en50494 tune-freq with calculated one 2014-01-05 18:47:55 +01:00
InuSasha
66c6d85f39 EN50494: first commit
- works with same hardcoded values (needs to setup)
- setup via gui is missing
2014-01-05 17:54:49 +01:00
User Decke
9f9f816a34 build: Fix compiler warning and properly cast return value of pthread_self() to long 2014-01-04 22:23:46 +00:00
User Decke
b9344a0f3b build: Fix compile warning with clang 3.3
src/descrambler/cwc.c:493:11: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
  if (len < 0) return -1;
      ~~~ ^ ~
2014-01-04 22:16:58 +00:00
User Decke
5b45773014 misc: Consistently use hts_strdupa() instead of libc strdupa() which is Linux specific. 2014-01-04 22:08:43 +00:00
Adam Sutton
1707402a97 service_mapper: store config to ensure options are processed
At the moment the configuration is global so starting another mapping will
override existing config.
2014-01-04 21:09:30 +00:00
Adam Sutton
2d1bd1a254 mpegts: fix broken input handling for inputs with >1 active services..
This affects IPTV where there is only 1 input, if 2 services have the same PIDs
then both services were receiving each others packets and causing a mess!

I think later on I should really remove the transport list from the input and
have it on the mux? I think I did it this way to keep some things simpler, but
it's caused confusion here.

This should fix #1875.
2014-01-02 21:31:37 +00:00
Adam Sutton
af15bb2f1c Merge pull request #316 from bluzee/master
linuxdvb: fix typo in diseqc toneburst switch setting.  Fixes #1856
2014-01-02 11:10:09 -08:00
bluzee
fe073a14d1 linuxdvb: Typo. Fixes #1856 2014-01-02 09:45:54 -07:00
Adam Sutton
4d5c8a9ae2 zlib: fix error on partial compression of files. Fixes #1902.
This occurs where compressing small, already compressd files, typically images.

I could avoid compression of very small (or already compressed) files. But its
simple to keep things uniform and fixing this makes sense anyway!
2014-01-01 12:48:39 +00:00
Adam Sutton
688e0bef1f vendor: add historic DVB API headers
This is useful for validating new code against older versions (and newer).
2013-12-31 15:56:20 +00:00
Adam Sutton
b28e060415 webui: make EPG grid stateful. Fixes #1025. 2013-12-30 23:14:53 +00:00
Adam Sutton
fa6265d182 webui: add checkbox selector to all idnode grids. Fixes #1473. 2013-12-30 22:45:13 +00:00
Adam Sutton
2dbebfd81c support: fix IPTV configuration migration for disabled/unmapped channels 2013-12-30 14:43:56 +00:00
Adam Sutton
f75037aee7 http htsp: fix status handling. Race condition caused NULL ptr exception. Fixes #1898. 2013-12-30 09:19:14 +00:00
Adam Sutton
aea03049a0 mpegts: ensure init scan completes properly
I was not properly checking completion on table completion and CAT processing
was not marking that table as complete (ever).
2013-12-29 23:38:31 +00:00
Adam Sutton
403f2af9b9 mepgts: correct invalid interpretation of service type in VCT. Fixes #1857. 2013-12-29 23:04:51 +00:00
Adam Sutton
50f0dc7f9c main: provide option to make daemon dumpable 2013-12-27 23:39:37 +00:00
Adam Sutton
88e06607b0 mpegts: ensure that PCR (and PMT) are properly opened by service and recorded.
Fixes #1884.
2013-12-24 23:49:39 +00:00
Adam Sutton
821a854d90 support: updated some random helper scripts 2013-12-24 23:48:02 +00:00
Adam Sutton
a0f2bebcc5 iptv: allow non-multicast IPTV (useful for testing)
I don't actually check for valid MC group address, I simply try and add group
and just warn if it fails (but carry on anyway).
2013-12-23 23:56:10 +00:00
Adam Sutton
4226ea5e31 iptv: ensure startup will not block installation of PID filters 2013-12-23 23:55:57 +00:00
Adam Sutton
8438dfd7a6 epggrab: reduce spam in the logs, fixes #1839. 2013-12-23 23:01:52 +00:00