]>
git.ipfire.org Git - thirdparty/tvheadend.git/log
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
Jaroslav Kysela [Thu, 7 Dec 2017 14:28:33 +0000 (15:28 +0100)]
dvbpsi: add sanity checks to psi_desc_ca()
E.Smith [Thu, 7 Dec 2017 13:30:49 +0000 (13:30 +0000)]
avahi: avahi_strdup should be freed with avahi_free. (#4773).
Issue: #4773.
E.Smith [Wed, 6 Dec 2017 21:51:39 +0000 (21:51 +0000)]
xmltv/core: Fix several memory leaks/make more const correct. (#4773)
Issue: #4773.
Jaroslav Kysela [Sun, 3 Dec 2017 11:38:08 +0000 (12:38 +0100)]
IPTV auto network: fix uninitalized variable
Jaroslav Kysela [Sun, 3 Dec 2017 09:07:37 +0000 (10:07 +0100)]
channel icons: fix the compilation issue
Jaroslav Kysela [Sat, 2 Dec 2017 17:59:36 +0000 (18:59 +0100)]
url: fix urlcopy()
Jaroslav Kysela [Sun, 3 Dec 2017 08:47:44 +0000 (09:47 +0100)]
channel icons: add '%U' to pass UTF-8 filenames, fixes #4755
Jaroslav Kysela [Thu, 16 Nov 2017 13:09:01 +0000 (14:09 +0100)]
profile: set 'Switch to another service' to on as default
Sam Nazarko [Thu, 16 Nov 2017 05:03:29 +0000 (05:03 +0000)]
configure: Fix libsystemd dependency for Stretch and later
Signed-off-by: Sam Nazarko <email@samnazarko.co.uk>
Jaroslav Kysela [Wed, 15 Nov 2017 18:38:53 +0000 (19:38 +0100)]
htsp server: don't use static char array for channelIcon
Jaroslav Kysela [Wed, 15 Nov 2017 11:17:33 +0000 (12:17 +0100)]
service: handle better preferred video types for the service selection
- use free inputs when preferred inputs are busy
- add UHD->HD fallback and SD->HD fallback
Jaroslav Kysela [Mon, 13 Nov 2017 12:57:24 +0000 (13:57 +0100)]
configure: print iconv selection explanation
Jaroslav Kysela [Mon, 13 Nov 2017 09:03:37 +0000 (10:03 +0100)]
capmt_ca: missing typedef
Jaroslav Kysela [Mon, 13 Nov 2017 07:33:12 +0000 (08:33 +0100)]
capmt_ca: fix compilation (does anyone use this?)
Jaroslav Kysela [Mon, 13 Nov 2017 07:15:37 +0000 (08:15 +0100)]
profile: fix typo (and remember to recompile things after each changes -perexg), issue #4721
Jaroslav Kysela [Sun, 12 Nov 2017 17:40:40 +0000 (18:40 +0100)]
profile: print an error when the profile is problematic, issue #4721
Jaroslav Kysela [Mon, 9 Oct 2017 14:45:30 +0000 (16:45 +0200)]
htsp server: try to play correctly with older htsp clients (DVR prio NOTSET), fixes #4720
Jaroslav Kysela [Thu, 9 Nov 2017 14:41:52 +0000 (15:41 +0100)]
dvrvfs: change the fsid logic (use st_dev for NFS), fixes #4713
Daniel Becker [Thu, 21 Sep 2017 04:42:39 +0000 (21:42 -0700)]
fix storage space calculation
The f_bfree and f_bavail members in struct statvfs are expressed in
units of f_frsize, not f_bsize (see the statvfs(2) manpage, e.g. here:
<https://linux.die.net/man/2/statvfs>). The two can differ quite
substantially, e.g. on ZFS.
Jaroslav Kysela [Thu, 9 Nov 2017 07:32:20 +0000 (08:32 +0100)]
muxer libav: fix compilation for ffmpeg < 3.4, fixes #4712
Jaroslav Kysela [Wed, 8 Nov 2017 08:22:18 +0000 (09:22 +0100)]
libav muxer: fix the close sequence for live file descriptors, issue #4704, fixes #4712
Jaroslav Kysela [Sat, 4 Nov 2017 16:29:16 +0000 (17:29 +0100)]
libav muxer: fix the missing file descriptor close, fixes #4704
Jaroslav Kysela [Fri, 3 Nov 2017 19:13:39 +0000 (20:13 +0100)]
fix htsbuf_append_and_escape_url() - don't escape more allowed characters, fixes #3721
Jaroslav Kysela [Wed, 1 Nov 2017 15:31:57 +0000 (16:31 +0100)]
epggrab: channel mapper - handle better empty IDs, fixes #4699