Commit graph

68 commits

Author SHA1 Message Date
Jaroslav Kysela
d47354a171 separate capmt and cwc config 2014-06-10 14:02:35 +02:00
Damjan Marion
9b0388c844 osx: introduce bonjour support 2014-06-01 16:21:25 +02:00
Damjan Marion
a46a6d0dd3 build: download dvbscan files even if linuxdvb is disabled 2014-05-29 00:44:12 +02:00
Jaroslav Kysela
5b75ff7e55 Try to autodetect the libiconv 2014-05-27 15:36:44 +02:00
Damjan Marion
5a8b5e7fe2 osx: initial support for OS X 2014-05-26 17:59:33 +02:00
Adam Sutton
3d5666787c mpegts: fix some compilation issues with various configure options 2014-05-16 21:20:58 +01:00
Jaroslav Kysela
28bd7e10e7 SAT>IP define the recvmmsg syscall for some libc implementations 2014-05-05 22:00:36 +02:00
Jaroslav Kysela
d9afa09b26 Rewrite imagecache to use build-in http client (remove curl)
- add the basic SSL peer certificate verification
2014-05-05 22:00:35 +02:00
Jaroslav Kysela
8583936c71 Add SAT>IP support (remote network tuners) 2014-05-05 22:00:35 +02:00
Jaroslav Kysela
1fb89b9487 http client fixes (curl based)
- check the private u64 value rather than fd (gdb problems)
- move the run call outside the connect routine (locking issues)
- try to fix more leaks (PR_Cleanup)
2014-05-05 22:00:35 +02:00
Jaroslav Kysela
23d330de12 Move the linuxdvb network code to the shared mpegts network code
... introduce $CFG/input/dvb/networks/... structure
2014-04-01 17:45:51 +02:00
Natanael Copa
215789651c build: check for qsort_r independent of platform
Rather than check for specific glibc version on PLATFORM_LINUX, check
the existance of qsort_r.

This fixes the following compile error with musl libc:

CC              src/main.o
In file included from src/main.c:39:0:
src/tvheadend.h:608:20: error: missing binary operator before token "("
 #if !__GLIBC_PREREQ(2,8)
                    ^
2014-03-04 12:01:26 +00:00
Adam Sutton
6c3aca2880 support: add ccache support to configure script 2013-12-12 22:28:45 +00:00
Adam Sutton
e26a202034 support iptv: updated the configure script and Makefile for iptv code 2013-11-24 20:34:39 +00:00
Adam Sutton
cf97cbafa7 util iptv: add support for using liburiparser
This is more flexible (it supports IPv6) and almost certainly more robust!
2013-11-24 20:34:39 +00:00
Adam Sutton
d91c02d520 Merge branch 'feature/dvb-rewrite'
Conflicts:
	Makefile
	configure
	src/dvb/diseqc.h
	src/dvb/dvb.h
	src/dvb/dvb_adapter.c
	src/dvb/dvb_fe.c
	src/dvb/dvb_input_filtered.c
	src/dvb/dvb_tables.c
	src/input/mpegts/dvb_psi.c
	src/input/mpegts/iptv/iptv_mux.c
	src/iptv_input.c
	src/service_mapper.h
	src/webui/static/app/tvadapters.js
	src/webui/webui.c
2013-08-28 17:08:39 +01:00
Adam Sutton
0d74894f33 debug: added a proper pthread_mutex ownership check in lock_assert()
this is conditional based on a test run from the configure script, as this
type of test is certainly not 100% cross platform compatible.

However its very useful to have a true check of lock ownership rather than
the rather arbitary check that "someone" holds the lock.
2013-08-06 19:57:07 +01:00
Adam Sutton
f3dc932258 v4l: disable V4L for now
I need to actually add the new code!
2013-06-17 17:31:29 +01:00
Bernhard Froehlich
5691e131a9 Sync with tvheadend/master and merge in changes. 2013-05-24 19:03:40 +02:00
Adam Sutton
474e1b71dc linuxdvb: started to work on linuxdvb code.
Lots of in progress stuff but its been sat uncommitted for a few weeks
due to inactivity and I don't want to lose it due to stupidity!
2013-05-21 20:06:30 +01:00
John Törblom
60bdb16c9d Added initial support for transcoding. 2013-05-12 14:47:05 +02:00
Adam Sutton
1fe5c7ac0e mpegts tsfile: lots of reworking to get psi processing working 2013-05-09 16:33:53 +01:00
Bernhard Froehlich
8d814e9b51 Enable SSL per default on FreeBSD because libssl is in base so it's always available. 2013-05-04 13:57:34 +02:00
Bernhard Froehlich
7fe66a47ef Add kqueue option and allow to disable epoll. 2013-05-04 13:56:24 +02:00
Adam Sutton
378b3a6b63 Lots more reworking and organisation
Heading towards the start of a tsfile based system that will be
both a useful debugging tool and also a useful starting point for
the generic mpegts framework
2013-04-26 15:10:07 +01:00
Adam Sutton
de16f083e5 Major reworking of the input system
This is very much WIP, stuff at this stage is completely broken and
will only compile with all optional components disabled.
2013-04-25 18:48:48 +01:00
Adam Sutton
bd592fb913 debug: added new tvhtrace logging routine
Note: this can be compile switch disabled (./configure --disable-trace)

Note: to enable subsystem output use --trace X,Y,Z etc... (--trace all
will enable the lot).

Note: the only way to know what subsystems are valie is to read the code!

Note: --trace implies -d
2013-04-07 13:38:00 +01:00
Andrew C. Martin
9b385a78c5 allow build path spaces in support scripts
- allow build path spaces in configure & support scripts
- use the same die function for all scripts
2013-03-07 20:44:55 -07:00
Adam Sutton
0fab063340 build: update build system to fix some odd use cases 2013-02-21 11:58:48 +00:00
Adam Sutton
8f49909e9e Fix #1608 - atomic: add workaround for missing intrinsic atomic ops. 2013-02-15 10:24:41 +00:00
Adam Sutton
7a52ff434c support: re-instate getmuxlist script to ensure pbuilder script works 2013-01-31 12:16:04 +00:00
John Törnblom
5ba4b66116 libav: detect versions that are to old for libav muxing 2013-01-12 15:50:32 +01:00
Adam Sutton
a1461fb58a build: correction to ensure old data is removed. 2013-01-11 22:09:27 +00:00
Adam Sutton
7227c128eb build: remove use of submodule for dvb-scan data
Revert back to manually fetching, though now its a git report its somewhat
simpler and we'll avoid using a separate script.
2013-01-11 22:04:39 +00:00
Adam Sutton
1de1b68c7e build: ensure git submodule with dvb-scan data is updated. 2013-01-11 20:57:06 +00:00
Adam Sutton
d85e922e84 dvbscan: switch to using the new linuxtv scan git repo. 2013-01-11 11:13:29 +00:00
Adam Sutton
accc01db56 Fix #1083 - add inotify monitoring of recordings.
Should a recording be moved (within same dir) the DVR DB will be
updated.

Should it be moved (out of directory) or deleted entirely, it will
simply be marked as missing.

The parent directories are also monitored should they be moved
or deleted.
2013-01-11 11:13:29 +00:00
John Törnblom
c5d889f692 libav: link with libavcodec 2013-01-10 09:41:36 +01:00
Adam Sutton
11576caf97 timeshift: enable timeshift by default in the build. 2013-01-09 21:26:52 +00:00
Adam Sutton
9180546fc6 timeshift: early prototype of the new timeshift feature.
Currently this supports pause/resume, and speed control. FF up to 4x uses
full frame output, faster than that or reverse uses i-frame only output.
This causes problems with some players and needs work.

Also buffers are done at the subscription level which means the disk space
is not shared even if it holds the same content. And more importantly
this means you cannot yet record the timeshift buffer like on a standard
PVR.
2013-01-09 21:26:51 +00:00
John Törnblom
d18bd91845 dvr: added initial support for libavformat muxing 2013-01-07 19:52:48 +01:00
Adam Sutton
93fe784960 [PR-174] - Replaced user submitted icon cache with more generic image cache.
This allows file:// paths to be specified for channel icons even if image
cache support is disabled.

The image cache functionality is compile time optional (for those without
curl support) and also run-time configurable for those that don't want it.

All images, including EPG ones should be cached.
2013-01-01 09:30:28 +00:00
Adam Sutton
592a38f9f2 [PR-54] updated code from the PR to be optional.
I have decided to include this as there is some suggestion the performance
will be better on ARM (non-x86) processors where we currently have no
optimised code.
2012-11-28 11:32:15 +00:00
Adam Sutton
91d7e220bf Ensure that bzip2 binary is checked if we are fetching scan files. Some embedded dev systems may not have bzip2 by default. 2012-10-08 21:22:44 +01:00
Richard Kunze
ee35bff867 Fix compile error on systems without loadavg() (e.g. uClibc) 2012-09-13 12:10:20 +01:00
Adam Sutton
4f5f23a6d7 Change getmuxlist back to bash script and make python soft dep. Also some minor improvements to bundle code. 2012-09-03 11:35:46 +01:00
Adam Sutton
d0efe2998a Some minor fixes to earlier python checks. 2012-08-29 21:02:11 +01:00
Adam Sutton
36849d83d5 Translated getmuxlist into python script and did some general updates to configure script. Fixes #1166. 2012-08-29 16:26:37 +01:00
Adam Sutton
a259025d31 Some corrections to filebundling/zlib support. 2012-08-17 10:37:55 +01:00
Adam Sutton
711ce27baf Corrections to the configure script, location of tvheadend datadir and pkg-config failure handling.
Also added some more output.
2012-08-17 10:31:13 +01:00