]>
git.ipfire.org Git - thirdparty/tvheadend.git/log
mw@hesotech.de [Fri, 7 Sep 2018 07:17:36 +0000 (09:17 +0200)]
BugFix: SATIP_SETUP_SPECINV0 and SATIP_SETUP_SPECINV1 has the same definition
Jaroslav Kysela [Tue, 4 Sep 2018 11:06:59 +0000 (13:06 +0200)]
satip client: fix type for specinv, fixes #5190
Jaroslav Kysela [Mon, 3 Sep 2018 14:02:33 +0000 (16:02 +0200)]
satip client: make specinv parameter tri-state (allows specinv=1)
MartiMcFly [Fri, 3 Aug 2018 02:12:08 +0000 (04:12 +0200)]
sf_pass_weight can't be used with netstream 4c
Martina Pietruschka [Mon, 30 Jul 2018 13:02:50 +0000 (15:02 +0200)]
implement netsream 4c
Conflicts:
src/input/mpegts/satip/satip_private.h
E.Smith [Fri, 17 Aug 2018 22:05:40 +0000 (23:05 +0100)]
FreeBSD: Fix recv problem if no data received.
If using satip then we would frequently fail to read the data and
then disconnect with errno 0.
So, we now make the FreeBSD socket read consistent with the Linux
version and return EIO on non-error.
Jaroslav Kysela [Mon, 3 Sep 2018 13:32:39 +0000 (15:32 +0200)]
dvr inotify: fixes for the previous IN_MOVED_TO change
joeuser [Sun, 2 Sep 2018 20:26:00 +0000 (22:26 +0200)]
dvr inotify: fix case where IN_MOVED_TO comes in subsequent read after read contaning IN_MOVED_FROM
Jaroslav Kysela [Fri, 20 Apr 2018 10:26:21 +0000 (12:26 +0200)]
dvr_inotify: gcc8 fix
Jaroslav Kysela [Wed, 8 Nov 2017 16:59:28 +0000 (17:59 +0100)]
dvr inotify: fix my last change, fixes #4702
Jaroslav Kysela [Wed, 8 Nov 2017 16:54:16 +0000 (17:54 +0100)]
dvr inotify: reuse variables, fixes #4702
E.Smith [Fri, 3 Nov 2017 19:32:21 +0000 (19:32 +0000)]
dvr: Move declarations to top of function. (#4702)
Issue: #4702.
E.Smith [Fri, 13 Oct 2017 00:02:52 +0000 (01:02 +0100)]
dvr: Handle symlinks for inotify. (#4702)
The filenames stored in the dvr/log are not realpath but can
be based on symlinks.
So, we might record in to /media/Videos/user1/show1 but
user1 could be a symlink to /media/Videos-drive2 (rather than
a bind mount).
Since inotify returns realpaths, if means that when we attempt
to update the dvr/log the filenames do not match.
So we now monitor the realpath for the directories and convert
filenames to realpath when doing the compare.
We do not store realpath in the dvr/log since users do not
want symlinks replaced with real paths.
Issue: #4702.
E.Smith [Thu, 12 Oct 2017 13:35:54 +0000 (14:35 +0100)]
dvr: Handle inotify moving file to different directory. (#4702)
Previously if we moved a file from one directory we are
monitoring to another directory we are monitoring then the
path would not be updated correctly since we did not lookup
the 'to_fd'.
Issue: #4702.
mpmc [Wed, 25 Jul 2018 21:59:56 +0000 (22:59 +0100)]
debian: always use gzip compression for deb files (bintray issue) - fixes #5091
Bernd Kuhls [Sat, 23 Jun 2018 18:47:26 +0000 (20:47 +0200)]
configure: check for strlcat & strlcpy
Building tvheadend with uclibc and musl fails:
src/tvh_string.h:50:22: error: static declaration of 'strlcpy' follows non-static declaration
static inline size_t strlcpy(char *dst, const char *src, size_t size)
src/tvh_string.h:61:22: error: static declaration of 'strlcat' follows non-static declaration
static inline size_t strlcat(char *dst, const char *src, size_t count)
because they provide strlcat & strlcpy:
https://sourceware.org/glibc/wiki/strlcpy
This patch adds configure checks and makes the implementation in
tvh_string.h optional, the configure log looks like this:
glibc
checking for cc strlcat ... fail
checking for cc strlcpy ... fail
musl
checking for cc strlcat ... ok
checking for cc strlcpy ... ok
uclibc
checking for cc strlcat ... ok
checking for cc strlcpy ... ok
Jaroslav Kysela [Wed, 20 Jun 2018 13:08:03 +0000 (15:08 +0200)]
mpegts input: do not join non-existent threads
Jaroslav Kysela [Wed, 20 Jun 2018 13:11:23 +0000 (15:11 +0200)]
add missing tvh_string.h header file
Jaroslav Kysela [Wed, 20 Jun 2018 12:23:43 +0000 (14:23 +0200)]
introduce strlcpy() and strlcat() functions and use them
irgendsontyp [Sat, 16 Jun 2018 15:57:37 +0000 (17:57 +0200)]
Fix cloning an entry in UIs where you select a type and save the clone manually
Jaroslav Kysela [Fri, 19 Jan 2018 09:20:17 +0000 (10:20 +0100)]
Makefile: Add CFLAGS for timestamp and bundle objects, fixes #4870
Jaroslav Kysela [Fri, 22 Jun 2018 08:26:22 +0000 (10:26 +0200)]
htsmsg xml parser: fix NULL oops, fixes #5135
mpmc [Thu, 24 May 2018 17:54:06 +0000 (18:54 +0100)]
doozer: workaround for makedev issues on bionic and add bionic i386
Jaroslav Kysela [Fri, 20 Apr 2018 13:26:19 +0000 (15:26 +0200)]
add bionic-amd64.sh to Autobuild
Jaroslav Kysela [Fri, 20 Apr 2018 13:12:10 +0000 (15:12 +0200)]
doozer: use docker, add bionic-amd64, fedora27, fedora28 targets, remove fedora24 target
Jaroslav Kysela [Fri, 20 Apr 2018 13:08:07 +0000 (15:08 +0200)]
rpm: spec cleanups
Jaroslav Kysela [Fri, 20 Apr 2018 12:28:13 +0000 (14:28 +0200)]
ffmpeg 3.5 fixes
Jaroslav Kysela [Fri, 20 Apr 2018 10:20:32 +0000 (12:20 +0200)]
gcc8 fixes
Jongsung Kim [Mon, 16 Apr 2018 04:01:41 +0000 (13:01 +0900)]
tcp: fix tcp_socket_dead() for FreeBSD
The FreeBSD port of tvheadend couldn't stream Live TV, and debug
log shows webui judged the peer socket closed immediately after
starting streaming:
2018-04-15 06:30:04.996 [ DEBUG]:webui: Start streaming /stream/mux/
c4bc67bdaa13457e33740ca883cc4d75 ?ticket=
7D1B56AD0E434C5F7EBFA4677A7FBE4C94097974
2018-04-15 06:30:04.996 [ DEBUG]:webui: Stop streaming /stream/mux/
c4bc67bdaa13457e33740ca883cc4d75 ?ticket=
7D1B56AD0E434C5F7EBFA4677A7FBE4C94097974 , client hung up
It looks because tcp_socket_dead() misunderstood the zero-return
from recv(). For the FreeBSD, recv() might return zero for alive
sockets which have nothing to read.
Patch tested with the latest FreeBSD port of tvheadend-4.2.6.
Jaroslav Kysela [Thu, 1 Feb 2018 16:01:36 +0000 (17:01 +0100)]
webui: epg - add duration to store/dataIndex - fix sorting, fixes #4909
Jaroslav Kysela [Sun, 25 Mar 2018 17:37:05 +0000 (19:37 +0200)]
DVR: fix for the previous commit
pablozg [Sun, 25 Mar 2018 16:14:04 +0000 (18:14 +0200)]
Cosmetic fix for dvr entry info (webui)
Alex Mekkering [Wed, 21 Mar 2018 12:08:35 +0000 (13:08 +0100)]
Upgrade to libhdhomerun_20171221
Jaroslav Kysela [Sun, 25 Mar 2018 16:30:49 +0000 (18:30 +0200)]
SAT>IP server: don't serve XML description when not enabled, fixes #5029
Jaroslav Kysela [Wed, 21 Mar 2018 18:40:08 +0000 (19:40 +0100)]
hts_strtab: make all functions inline
Jaroslav Kysela [Wed, 21 Mar 2018 09:45:26 +0000 (10:45 +0100)]
imagecache: id is 'int' type, correct the overflow, fixes #5016
Jaroslav Kysela [Tue, 20 Mar 2018 10:24:56 +0000 (11:24 +0100)]
dvb psi: fix the 'improve section parser' commit, fixes #5005
root [Wed, 7 Mar 2018 17:37:23 +0000 (18:37 +0100)]
epggrab: giveup epg grabbing on SM_CODE_TUNING_FAILED (fixes loop)
Jaroslav Kysela [Wed, 7 Mar 2018 09:27:42 +0000 (10:27 +0100)]
DVR: return back dvr_entry_create_by_event() - wrong merge
Jaroslav Kysela [Wed, 7 Mar 2018 09:07:34 +0000 (10:07 +0100)]
DVR: improve the segmented event logic for EITp/f, issue #4989
Jaroslav Kysela [Tue, 6 Mar 2018 09:21:36 +0000 (10:21 +0100)]
dvb psi: improve section parser, fixes #4987
Jaroslav Kysela [Mon, 5 Mar 2018 13:47:37 +0000 (14:47 +0100)]
FIX inverted condition: DVR: do not merge multi-segmented files when EITp/f is enabled, fixes #4926, fixes #4988
Jaroslav Kysela [Tue, 27 Feb 2018 09:11:51 +0000 (10:11 +0100)]
parsers: remove debug printf
Jaroslav Kysela [Tue, 27 Feb 2018 09:05:20 +0000 (10:05 +0100)]
parsers: merge AC3/EAC3 code, add autodetect the real stream even if the PMT hints is false, fixes #4910, fixes #4971
Jaroslav Kysela [Mon, 26 Feb 2018 13:50:10 +0000 (14:50 +0100)]
parsers: change ac3/eac3 parsers to new parse_mpga123 scheme
Jaroslav Kysela [Sat, 24 Feb 2018 18:35:40 +0000 (19:35 +0100)]
DVR: compilation fix
Jaroslav Kysela [Sat, 24 Feb 2018 18:25:51 +0000 (19:25 +0100)]
DVR: try to fix the late running flag update, issue #4958
Jaroslav Kysela [Thu, 15 Feb 2018 18:45:32 +0000 (19:45 +0100)]
dvr: fix NULL pointer dereference in dvr_entry_get_epg_running, fixes #4943, fixes #4967
Jaroslav Kysela [Fri, 23 Feb 2018 19:40:43 +0000 (20:40 +0100)]
dvb psi lib: don't reset table when stuffing section is received
Jaroslav Kysela [Fri, 23 Feb 2018 07:00:54 +0000 (08:00 +0100)]
httpc: fix compilation error
Jaroslav Kysela [Thu, 22 Feb 2018 22:04:12 +0000 (23:04 +0100)]
httpc: fix the improper http_client_finish() call for RTP data state, fixes #4964
mpmc [Thu, 22 Feb 2018 15:54:15 +0000 (15:54 +0000)]
doozer: use git to pull in dvb-scan-tables
Jaroslav Kysela [Thu, 22 Feb 2018 14:20:14 +0000 (15:20 +0100)]
mpegts pid: fix mpegts_pid_weighted() for duplicate PIDs with different weight
Jaroslav Kysela [Tue, 20 Feb 2018 08:43:23 +0000 (09:43 +0100)]
dvr: add source reconfigured trace
Jaroslav Kysela [Thu, 14 Dec 2017 10:51:45 +0000 (11:51 +0100)]
DVR: rec - add more logging (running and muxing state)
Jaroslav Kysela [Tue, 13 Feb 2018 10:32:56 +0000 (11:32 +0100)]
DVR: do not merge multi-segmented files when EITp/f is enabled, fixes #4926
Jaroslav Kysela [Tue, 13 Feb 2018 10:00:30 +0000 (11:00 +0100)]
Makefile: fix --disable-dvbscan
Jaroslav Kysela [Sun, 11 Feb 2018 16:45:48 +0000 (17:45 +0100)]
dvb psi: parse first table bugfix2
Jaroslav Kysela [Sun, 11 Feb 2018 16:34:56 +0000 (17:34 +0100)]
dvb psi: parse first table bugfix
Jaroslav Kysela [Sat, 10 Feb 2018 07:19:03 +0000 (08:19 +0100)]
parser: parse_mpa - fix the end segment check, fixes #4882
Jaroslav Kysela [Mon, 19 Jun 2017 07:29:19 +0000 (09:29 +0200)]
linuxdvb: use MPEGTS_FULLMUX_PID (8192) when the PID filter overflows, fixes #4442
Jaroslav Kysela [Fri, 9 Feb 2018 09:57:12 +0000 (10:57 +0100)]
xmltv export: use summary for <desc/> tag when description is empty
Jaroslav Kysela [Fri, 9 Feb 2018 09:53:11 +0000 (10:53 +0100)]
parsers: improve parse_mpa123, fixes #4882
- the Layer III was misdetected
- add more robust code checks
- improve latency for the last frame
Jaroslav Kysela [Thu, 8 Feb 2018 17:13:19 +0000 (18:13 +0100)]
http: fix http_get_header_value() - digest auth
Jaroslav Kysela [Thu, 8 Feb 2018 15:17:36 +0000 (16:17 +0100)]
DVR: increase warm time limit to 600 seconds, fixes #4927
Jaroslav Kysela [Tue, 30 Jan 2018 18:19:36 +0000 (19:19 +0100)]
dvb psi: remove mpegts_psi_table_state_skel (atomicity problem)
Jaroslav Kysela [Mon, 29 Jan 2018 14:50:05 +0000 (15:50 +0100)]
linuxdvb: fix the pid management (full mux to pid filter transition), fixes #4895
Jaroslav Kysela [Thu, 25 Jan 2018 14:39:21 +0000 (15:39 +0100)]
DVR: show a proper error if the DVR directory is not accessible, fixes #4757
Jaroslav Kysela [Sat, 20 Jan 2018 16:29:19 +0000 (17:29 +0100)]
otamux: set the retry time for all muxes from the temporary failed network, issue #4875
Jaroslav Kysela [Wed, 17 Jan 2018 16:41:28 +0000 (17:41 +0100)]
tcp: tvhpoll_wait does forward errno
Jaroslav Kysela [Fri, 12 Jan 2018 07:27:35 +0000 (08:27 +0100)]
trap: show also dli_fbase
Jaroslav Kysela [Thu, 11 Jan 2018 20:10:45 +0000 (21:10 +0100)]
descrambler: add missing stream mutex lock to descrambler_service_stop()
Jaroslav Kysela [Wed, 10 Jan 2018 16:20:12 +0000 (17:20 +0100)]
ota epg grabber: handle better the error conditions (do not retry before one minute)
Jaroslav Kysela [Tue, 9 Jan 2018 07:11:26 +0000 (08:11 +0100)]
epgdb: fix memory leak
Jaroslav Kysela [Mon, 8 Jan 2018 07:38:16 +0000 (08:38 +0100)]
htsmsg binary: the str data are inalloced
Kai Sommerfeld [Wed, 3 Jan 2018 13:57:24 +0000 (14:57 +0100)]
HTSP: Expose recording files' start and stop time.
Jaroslav Kysela [Thu, 4 Jan 2018 20:09:30 +0000 (21:09 +0100)]
webui: fix the oops in the dvrfile (uninitialized variables), fixes #4827
Jaroslav Kysela [Thu, 4 Jan 2018 19:44:33 +0000 (20:44 +0100)]
lovcombo: add Ext.ux.form.ComboAny
Jaroslav Kysela [Thu, 4 Jan 2018 19:43:05 +0000 (20:43 +0100)]
extensions.js: remove lovcombo code (already in lovcombo-all.js)
Jaroslav Kysela [Wed, 3 Jan 2018 14:49:13 +0000 (15:49 +0100)]
emm reassembly: fix double free (typo)
Jaroslav Kysela [Sun, 31 Dec 2017 18:24:17 +0000 (19:24 +0100)]
tvhpoll: kqueue fixes
Jaroslav Kysela [Wed, 27 Dec 2017 08:46:19 +0000 (09:46 +0100)]
access: fix the ticket create for one ticket
Jaroslav Kysela [Tue, 26 Dec 2017 10:04:15 +0000 (11:04 +0100)]
cwc: call caid2name() with full caid
Jaroslav Kysela [Sat, 23 Dec 2017 15:21:24 +0000 (16:21 +0100)]
SAT>IP client: always use pids=0 for SETUP, issue #4809
Jaroslav Kysela [Thu, 21 Dec 2017 19:08:02 +0000 (20:08 +0100)]
spawn: parse args - accept quotes also inside argument like bash
Jaroslav Kysela [Tue, 19 Dec 2017 14:06:22 +0000 (15:06 +0100)]
capmt: the enigma2-like descriptors have limit for 8 adapters, use pc-type descriptors for adapters 8+, issue #4793
Jaroslav Kysela [Thu, 14 Dec 2017 20:28:22 +0000 (21:28 +0100)]
descrambler: capmt - follow enigma2 way to build the capmt descriptor, issue #4793
Jaroslav Kysela [Thu, 14 Dec 2017 13:58:57 +0000 (14:58 +0100)]
descrambler: capmt - try to handle PAT pid (zero) more correctly, issue #4794
Jaroslav Kysela [Sun, 10 Dec 2017 15:38:21 +0000 (16:38 +0100)]
Revert "tvhpoll: return correct fd in tvhpoll_wait() for linux's epoll"
This reverts commit
c7ca59a1ff591fec1c31430ed2daab04bfe5fb81 .
macrule [Wed, 29 Nov 2017 17:18:53 +0000 (18:18 +0100)]
Fixed linking errors when bonjour was enabled.
SRCS-yes was reset when bonjour sources should have been added, and all previously added sources didn't get linked.
macrule [Wed, 29 Nov 2017 17:18:53 +0000 (18:18 +0100)]
Fixed const correctness in bonjour code.
macrule [Wed, 29 Nov 2017 17:18:53 +0000 (18:18 +0100)]
On FreeBSD bswap_*() macros are now correctly mapped to the BSD bswap*() calls.
macrule [Wed, 29 Nov 2017 17:18:53 +0000 (18:18 +0100)]
http: The MSG_MORE flag is not available on FreeBSD or Darwin.
Added a compatibility definition in compat.h.
macrule [Wed, 29 Nov 2017 17:18:53 +0000 (18:18 +0100)]
intlconv: The iconv() function signature isn't different on current FreeBSD.
Casting to const char ** is not only unnecessary, but also triggers a warning by the compiler.
macrule [Wed, 29 Nov 2017 17:18:53 +0000 (18:18 +0100)]
vfs: The sys/sysmacros.h include is not available or needed on FreeBSD and Darwin.
Had to rearrange include order to have access to the PLATFORM_* macros.
macrule [Wed, 29 Nov 2017 17:18:53 +0000 (18:18 +0100)]
tcp: Fixed includes for FreeBSD.
sys/socket.h is required.
Switched include order for netinet/in.h and netinet/ip.h to avoid compiler errors on FreeBSD.
macrule [Wed, 29 Nov 2017 17:18:53 +0000 (18:18 +0100)]
webui: Fixed sendfile() call on Darwin.
Order of call arguments was wrong.
macrule [Wed, 29 Nov 2017 17:18:53 +0000 (18:18 +0100)]
wrappers: Implemented correctly for Darwin.
pthread_cond_timedwait() is not usable on Darwin, because it cannot be configured to use the monotonic clock. So instead the relative pthread_cond_timedwait_relative_np() is used with a relative time to wait for.
Only tvhthread_renice() is missing, but there seems to be currently no way on Darwin or FreeBSD to implement per-thread prioritization. The #warning is good, but it breaks with the default -Werror compile flag.
macrule [Wed, 29 Nov 2017 17:18:53 +0000 (18:18 +0100)]
tvhpoll: Fixed tvhpoll_add kqueue implementation.
The semantics of tvhpoll_add() in the epoll implementation is to set exactly the specified filters, and not add to any previously added ones. The kqueue implementation only added filters, and never removed those that were not set anymore.
This caused busy-polling in satip_frontend on FreeBSD and Darwin, because tvhpoll_wait() always returned immediately. This happened because the receiving socket was always ready to accept data for writing. The following recv() call was called repeatedly without any delay and caused high CPU utilization.
Jaroslav Kysela [Sun, 10 Dec 2017 14:55:14 +0000 (15:55 +0100)]
tvhpoll: return correct fd in tvhpoll_wait() for linux's epoll