]>
git.ipfire.org Git - thirdparty/tvheadend.git/log
Jaroslav Kysela [Sun, 24 Sep 2017 07:04:44 +0000 (09:04 +0200)]
cwc: increase CWS_NETMSGSIZE to 1024 (like oscam)
Jaroslav Kysela [Sun, 24 Sep 2017 07:01:34 +0000 (09:01 +0200)]
DVR: reconfigure muxer when streams changes, fixes #4538
Jaroslav Kysela [Wed, 20 Sep 2017 07:51:56 +0000 (09:51 +0200)]
DVR: Add forced flag to allow to move 'data errors' to the finished recordings, fixes #4603
Jaroslav Kysela [Wed, 20 Sep 2017 07:42:08 +0000 (09:42 +0200)]
Revert "DVR: handle SM_CODE_USER_REQUEST as a successful case, fixes #4603"
This reverts commit
519a783747e8075714b4c95a7e216edb53f2e77b .
Jaroslav Kysela [Tue, 19 Sep 2017 06:24:37 +0000 (08:24 +0200)]
DVR: fix for 'handle SM_CODE_USER_REQUEST as a successful case', fixes #4609
Jaroslav Kysela [Mon, 18 Sep 2017 18:19:15 +0000 (20:19 +0200)]
epg: try to fix epg_episode_number_cmp() for text episode version
Jaroslav Kysela [Mon, 18 Sep 2017 19:03:20 +0000 (21:03 +0200)]
satip server: fixed the RTP TCP size initialization, fixes #4517
Jaroslav Kysela [Mon, 18 Sep 2017 14:13:04 +0000 (16:13 +0200)]
DVR: handle SM_CODE_USER_REQUEST as a successful case, fixes #4603
Jaroslav Kysela [Mon, 18 Sep 2017 13:58:35 +0000 (15:58 +0200)]
doozer: remove precise targets
Jaroslav Kysela [Wed, 23 Aug 2017 10:27:56 +0000 (12:27 +0200)]
Makefile.ffmpeg: add some demuxers for latest IPTV libav input
Mark Clarkstone [Tue, 5 Sep 2017 16:16:06 +0000 (17:16 +0100)]
configure: only enable nvenc if asked, not by default, fixes #4572
Jaroslav Kysela [Mon, 18 Sep 2017 13:27:34 +0000 (15:27 +0200)]
configure: latest ffmpeg has own code
Jaroslav Kysela [Mon, 18 Sep 2017 12:31:52 +0000 (14:31 +0200)]
satip server: add possibility to export DVB-C and DVB-S2 muxes for IPTV input, fixes #4243
From: Mono Polimorph
Jaroslav Kysela [Sat, 16 Sep 2017 11:54:56 +0000 (13:54 +0200)]
http: extra data - add may_discard flag for RTP data, issue #4598
Jaroslav Kysela [Thu, 14 Sep 2017 10:06:25 +0000 (12:06 +0200)]
satip server: allow to configure TCP RTP payload size for limited clients, fixes #4517
Jaroslav Kysela [Tue, 8 Aug 2017 14:39:01 +0000 (16:39 +0200)]
satip server: configure TCP socket send buffer size for TCP data mode
Jaroslav Kysela [Thu, 14 Sep 2017 09:45:33 +0000 (11:45 +0200)]
satip server: the data must for satip_rtp_tcp_data() must be allocated, fixes #4573
Jaroslav Kysela [Wed, 13 Sep 2017 12:05:03 +0000 (14:05 +0200)]
satip server: rtsp - fix playing session flag, issue #4499
Jaroslav Kysela [Wed, 13 Sep 2017 12:02:22 +0000 (14:02 +0200)]
satip server: rtsp - replace oldstate with playing session flag, issue #4499
Jaroslav Kysela [Tue, 12 Sep 2017 18:16:49 +0000 (20:16 +0200)]
satip server: try to change state and mux handling logic, issue #4499
Jaroslav Kysela [Tue, 12 Sep 2017 12:11:27 +0000 (14:11 +0200)]
satip server: don't bind more times to the UDP ports
Jaroslav Kysela [Tue, 12 Sep 2017 11:29:32 +0000 (13:29 +0200)]
tcp: tcp_connect - initialize bindip variable correctly, issue #4499
Jaroslav Kysela [Tue, 12 Sep 2017 11:29:25 +0000 (13:29 +0200)]
satip client: fix the error path, issue #4499
Jaroslav Kysela [Tue, 12 Sep 2017 06:30:55 +0000 (08:30 +0200)]
http: fix extra data (for SAT>IP TCP data mode), issue #4573
Jaroslav Kysela [Mon, 11 Sep 2017 12:20:53 +0000 (14:20 +0200)]
htsp: add subscription entry also for DVR files, fixes #3854
E.Smith [Sun, 3 Sep 2017 11:35:05 +0000 (12:35 +0100)]
DVR: Prefer autorec rule name if comment field is empty (#4500)
Currently the Upcoming recordings tab has a comment field that says
"Auto recording" or "Auto recording: <comment from autorec rule>".
This helps to identify why a recording is scheduled.
This patch ensures we continue to use the autorec comment field if
it is non-empty (keeping existing behaviour), but fallback to using
the recording rule name. If both are empty then we keep the
existing behaviour of fallback to an empty string.
This avoids the user having to duplicate the rule name in to
the comment string for manually created autorec rules.
So, in the above case it would be "Auto recording: <comment>",
"Auto recording: <rule name>", otherwise "Auto recording".
Fixes: #4500.
Jaroslav Kysela [Fri, 8 Sep 2017 06:29:24 +0000 (08:29 +0200)]
http: fix http_extra_flush return value
E.Smith [Sat, 19 Aug 2017 09:26:44 +0000 (10:26 +0100)]
DVR: Record segmented programmes identified by EIT.
A broadcaster can split a programme in to multiple segments. These
are identified by the segments having a CRID containing an IMI
(a hash character followed by an ID). Segments have identical
values for this CRID and IMI and the segments start within three
hours of the end of the previous segment.
These rules are documented in this spec in section 7.1.7:
http://www.freeviewnz.tv/media/1055/freeview_dtt_transmission_rules_2_1.pdf
This document is based on the UK transmission specification.
For example, a movie may be broadcast as:
21:00--22:00 movie segment 1
22:00--22:05 five minute news
22:05--23:30 movie segment 2
The xmltv guides typically merges this segments in to one
programme such as:
21:00--23:30 movie (including news)
In theory, a programme can be split in to numerous segments.
In practice I have only seen a programme split in to two
segments as shown above.
To simplify recording these programmes, we identify segmented
programmes and extend the stop time. So, in the above case,
if the user records the 9pm showing then we will automatically
extend the stop time to be 23:30 instead of 22:00.
This patch explicitly disables "epg running state" for stopping
the recording. This is because the recording is tied to the first
showing and we don't want the recording to stop at 22:00 in the
above example.
We cache the calculated stop time to avoid any overheads, but
explicitly recalculate it at the start of the programme. This ensures
we detect any recent changes.
No modification is done of the actual EPG data to attempt to
merge the programme segments.
The consequence of this is that the EPG will only show a "recording"
marker against the first segment of the programme and not against
the second segment, which is unfortunate, however it is consistent
with recordings which have an extra stop time. The upcoming
recordings tab correctly shows the end time.
The duration of the finished recording is currently incorrectly
reported due to #3706. So the movie above would be reported as
60 minutes instead of 2h30.
Although the CRID processing is believed to be a global standard,
if other countries do not follow the UK/NZ specification then
the dvr_entry_get_segment_stop_extra could be updated to check a
(bitmask) config variable to enable/disable specific CRID processing.
I believe the overhead of the strcmp for the CRID check is minimal,
even on low-spec machines. If necessary we could cache to indicate
the CRID check has failed.
Issue: #1303
Jaroslav Kysela [Thu, 10 Aug 2017 13:56:42 +0000 (15:56 +0200)]
http/satip server: change RTP/TCP data queuing to avoid dead-locks, fixes #4226
Jaroslav Kysela [Sat, 26 Aug 2017 14:53:40 +0000 (16:53 +0200)]
spawn: parse arguments - accept arguments inside '' or like does shell
Jaroslav Kysela [Tue, 22 Aug 2017 07:09:14 +0000 (09:09 +0200)]
main: cleanup fix for recent openssl library
Andreas Smas [Fri, 18 Aug 2017 16:34:52 +0000 (09:34 -0700)]
Doozer: Add builds for stretch
Jaroslav Kysela [Tue, 15 Aug 2017 19:05:09 +0000 (21:05 +0200)]
satip server: fix the delivery system init, fixes #4526
Jaroslav Kysela [Mon, 7 Aug 2017 12:28:10 +0000 (14:28 +0200)]
satip server: rtp - show the correct TCP port number in debug msg for streaming close, fixes #4226
Jaroslav Kysela [Mon, 7 Aug 2017 12:21:22 +0000 (14:21 +0200)]
satip server: try to shutdown the socket before RTP thread is called on RTSP timeout, fixes #4226
Jaroslav Kysela [Thu, 3 Aug 2017 07:00:48 +0000 (09:00 +0200)]
satip server: RTP handle more TCP errors, fixes #4226
From: Mono Polimorph
Jaroslav Kysela [Wed, 2 Aug 2017 14:29:11 +0000 (16:29 +0200)]
satip server: add shutdown before rtsp_flush_requests() in rtsp_serve(), fixes #4226
Jaroslav Kysela [Wed, 2 Aug 2017 08:00:13 +0000 (10:00 +0200)]
satip server: allow to disable RTP/AVP/TCP transfer mode, fixes #4505
From: Mono Polimorph
Jaroslav Kysela [Wed, 2 Aug 2017 07:42:45 +0000 (09:42 +0200)]
satip server: handle TCP socket return code, destroy session for RTP/TCP on close, fixes #4226
Jaroslav Kysela [Thu, 27 Jul 2017 15:00:45 +0000 (17:00 +0200)]
satip server: signalize pernament 'no data' state to rtsp layer, fixes #4499
Jaroslav Kysela [Thu, 27 Jul 2017 14:37:41 +0000 (16:37 +0200)]
satip server: simplify and correct the state changes in rtsp_start()
Jaroslav Kysela [Thu, 27 Jul 2017 14:32:50 +0000 (16:32 +0200)]
satip server: remove the rtp/id layer
Jaroslav Kysela [Thu, 27 Jul 2017 09:47:17 +0000 (11:47 +0200)]
satip server: move state to SETUP when session with TCP data closes the connection
Jaroslav Kysela [Tue, 25 Jul 2017 16:22:56 +0000 (18:22 +0200)]
satip server: try to fix the stream/session mismatch, fixes #4499
Jaroslav Kysela [Tue, 25 Jul 2017 14:55:41 +0000 (16:55 +0200)]
satip server: add short DESCRIBE, fix incorrect delivery system, fix frontend and source in DESCRIBE, fixes #4499
Jaroslav Kysela [Fri, 7 Jul 2017 14:26:00 +0000 (16:26 +0200)]
satip server: fix the PLAY/SETUP state machine, filter stream in DESCRIBE, fixes #4474
Mark Clarkstone [Sun, 2 Jul 2017 06:22:40 +0000 (07:22 +0100)]
Correct the line breaks in README.md
Use a list * instead of >
Jaroslav Kysela [Tue, 4 Jul 2017 16:40:32 +0000 (18:40 +0200)]
Makefile.ffmpeg: force --libdir for OpenSuSE
Jaroslav Kysela [Sun, 20 Aug 2017 14:14:13 +0000 (16:14 +0200)]
linuxdvb ca: small optimizations - do not arm timer when not enabled
Jaroslav Kysela [Mon, 21 Aug 2017 09:49:18 +0000 (11:49 +0200)]
profile: remove unused get_mc functions
Jaroslav Kysela [Mon, 21 Aug 2017 11:43:15 +0000 (13:43 +0200)]
muxers: call muxer_cache_update only for seekable file descriptors
Jaroslav Kysela [Sun, 27 Aug 2017 17:48:11 +0000 (19:48 +0200)]
tcp: rewrite tcp_connect to try more IP addresses, cleanups, fixes #4552
Jaroslav Kysela [Sat, 26 Aug 2017 14:23:52 +0000 (16:23 +0200)]
bintray.py: add tidy command
Jaroslav Kysela [Fri, 25 Aug 2017 14:50:06 +0000 (16:50 +0200)]
satip client: issue discovery packets 1,10,30,3600+ seconds after boot, fixes #4553
Andreas Smas [Fri, 18 Aug 2017 16:34:52 +0000 (09:34 -0700)]
Doozer: Add builds for stretch
Mark Clarkstone [Thu, 17 Aug 2017 09:36:51 +0000 (10:36 +0100)]
Autobuild: add raspbian stretch target ready for doozer.
Jaroslav Kysela [Tue, 22 Aug 2017 08:13:31 +0000 (10:13 +0200)]
epg channel mapper: fix the wrong channel list save, fixes #4539
Jaroslav Kysela [Sun, 13 Aug 2017 11:44:52 +0000 (13:44 +0200)]
channels: get_icon - chicon - join the behaviour for slash and backslash
Jaroslav Kysela [Sun, 13 Aug 2017 09:09:32 +0000 (11:09 +0200)]
support/pkg-config.ffmpeg: fix --version handling (fedora 26)
Jaroslav Kysela [Mon, 7 Aug 2017 12:08:31 +0000 (14:08 +0200)]
apply missing ntohs() for IP_PORT() return values, fixes #4520
Mark Clarkstone [Sun, 30 Jul 2017 01:13:14 +0000 (02:13 +0100)]
Travis-ci: correctly detect version Changelog: add last 5 commits to changelog output Autobuild: add raspbianjessie to libpcre2-dev/libpcre3-dev check
ProfYaffle [Wed, 26 Jul 2017 12:27:04 +0000 (13:27 +0100)]
WebUI: add return to sort-by-date when toggling back to 'All' from 'Now'
ObvB [Thu, 13 Jul 2017 22:43:05 +0000 (18:43 -0400)]
Update xmltv.c
ObvB [Thu, 13 Jul 2017 22:36:03 +0000 (18:36 -0400)]
epggrab xmltv: support grabbing "summary" field
"summary" field should be supported by XMLTV EPG grabber (https://tvheadend.org/projects/tvheadend/wiki/Epgdb)
This fix adds support that according to documentation should have already been there.
Lubos Dolezel [Mon, 17 Jul 2017 21:44:53 +0000 (23:44 +0200)]
Add a button to quickly play a channel in EPG view (#3926)
Lubos Dolezel [Mon, 17 Jul 2017 20:04:49 +0000 (22:04 +0200)]
Add "Now" view mode in EPG (#3411)
Jaroslav Kysela [Tue, 25 Jul 2017 12:25:51 +0000 (14:25 +0200)]
dvr: fix the wrong idnode class usage (memory access), fixes #4480
Jaroslav Kysela [Thu, 3 Aug 2017 13:23:24 +0000 (15:23 +0200)]
dvb psi: fix the start indicator for mpegts_psi_section_reassemble0 plus cosmetic, fixes #4515
Jaroslav Kysela [Thu, 6 Jul 2017 13:34:17 +0000 (15:34 +0200)]
satip server: fix the cherry pick error (cmd)
Jaroslav Kysela [Wed, 28 Jun 2017 06:23:47 +0000 (08:23 +0200)]
satip server: 2nd fix the problem introduced in 'satip server: pass cmd to rtsp_start() to make core more readable'
Jaroslav Kysela [Wed, 28 Jun 2017 06:13:26 +0000 (08:13 +0200)]
satip server: fix the problem introduced in 'satip server: pass cmd to rtsp_start() to make core more readable'
Jaroslav Kysela [Tue, 20 Jun 2017 12:41:26 +0000 (14:41 +0200)]
satip server: pass cmd to rtsp_start() to make core more readable, fixes #4449
Jaroslav Kysela [Tue, 20 Jun 2017 12:50:54 +0000 (14:50 +0200)]
satip server: show the stream status for DESCRIBE in SETUP state, fixes #4449
Jaroslav Kysela [Thu, 6 Jul 2017 13:14:55 +0000 (15:14 +0200)]
satip server: improve sig_lock updating, fixes #4474
Jaroslav Kysela [Tue, 20 Jun 2017 12:36:36 +0000 (14:36 +0200)]
satip server: start streaming directly after SETUP, but RTCP only, fixes #4449
Jaroslav Kysela [Tue, 20 Jun 2017 15:25:38 +0000 (17:25 +0200)]
satip server: add 'Force signal level', fixes #4444
Jaroslav Kysela [Tue, 20 Jun 2017 15:46:02 +0000 (17:46 +0200)]
satip server: add 'Anonymize' configuration option, fixes #4227
Jaroslav Kysela [Tue, 20 Jun 2017 08:48:04 +0000 (10:48 +0200)]
satip server: allow to configure the signal level for IPTV streams, fixes #4448
Jaroslav Kysela [Thu, 6 Jul 2017 06:52:35 +0000 (08:52 +0200)]
satip server: don't close session on PLAY, fixes #4471
Jaroslav Kysela [Thu, 6 Jul 2017 06:49:51 +0000 (08:49 +0200)]
dvb psi: fix the wrong data pass to mpegts_table_dispatch, fixes #4472
Jaroslav Kysela [Wed, 5 Jul 2017 15:50:02 +0000 (17:50 +0200)]
satip server: close session on SETUP error, fixes #4471
Jaroslav Kysela [Tue, 4 Jul 2017 06:27:59 +0000 (08:27 +0200)]
http: fix the proxy protocol code, fixes #4469
Jaroslav Kysela [Sat, 1 Jul 2017 14:01:31 +0000 (16:01 +0200)]
psi lib: fix edit typo
Mark Clarkstone [Sat, 1 Jul 2017 13:15:47 +0000 (14:15 +0100)]
Update README.md
Bernhard M. Wiedemann [Sat, 1 Jul 2017 09:07:19 +0000 (11:07 +0200)]
Allow to override build date
to enable reproducible builds
See https://reproducible-builds.org/ for why this is good
and https://reproducible-builds.org/specs/source-date-epoch/
for the definition of this variable.
The date calls are designed to work with both GNU date and BSD date
Bernhard M. Wiedemann [Sat, 1 Jul 2017 09:00:08 +0000 (11:00 +0200)]
sort file lists
to generate docs_inc.c reproducibly
See https://reproducible-builds.org/ for why this matters
Jaroslav Kysela [Sat, 1 Jul 2017 13:47:10 +0000 (15:47 +0200)]
psi lib: do filtering more early
Jaroslav Kysela [Sat, 1 Jul 2017 07:22:23 +0000 (09:22 +0200)]
httpc: fix the hc_efd inconsistency, fixes #4464
Bernhard Froehlich [Wed, 21 Jun 2017 13:51:00 +0000 (13:51 +0000)]
Add missing include for kill(2)
src/spawn.c:306:7: warning: implicit declaration of function 'kill' is invalid in C99 [-Wimplicit-function-declaration]
kill(-(s->pid), SIGKILL);
^
src/spawn.c:306:23: error: use of undeclared identifier 'SIGKILL'
kill(-(s->pid), SIGKILL);
^
src/spawn.c:655:3: warning: implicit declaration of function 'pthread_kill' is invalid in C99
[-Wimplicit-function-declaration]
pthread_kill(spawn_pipe_tid, SIGTERM);
^
src/spawn.c:655:32: error: use of undeclared identifier 'SIGTERM'
pthread_kill(spawn_pipe_tid, SIGTERM);
Mark Clarkstone [Tue, 27 Jun 2017 18:05:25 +0000 (19:05 +0100)]
travis-ci: fix build issue.
Bernhard Froehlich [Wed, 21 Jun 2017 13:49:57 +0000 (13:49 +0000)]
Make build_timestamp generation less platform specific. This also slightly changes the format of the timezone offset.
$ date -Iseconds
2017-06-21T13:33:15+02:00
$ date +%Y-%m-%dT%H:%M:%S%z
2017-06-21T13:33:24+0200
m4tt075 [Tue, 20 Jun 2017 18:41:06 +0000 (20:41 +0200)]
Compatibility fix for undefined _SC_IOV_MAX
Jaroslav Kysela [Thu, 4 May 2017 11:29:57 +0000 (13:29 +0200)]
config: always add dvr[failed] in migration, fixes #4355
Jaroslav Kysela [Sat, 24 Jun 2017 08:07:09 +0000 (10:07 +0200)]
url: fix for the previuos patch, fixes #4457
Jaroslav Kysela [Sat, 24 Jun 2017 07:54:59 +0000 (09:54 +0200)]
url: fix possible static buffer overflow for liburiparser, fixes #4457
Daniel Scheller [Fri, 23 Jun 2017 20:08:16 +0000 (22:08 +0200)]
linuxdvb: snr_scale -> signal_scale
Daniel Scheller [Fri, 23 Jun 2017 16:50:34 +0000 (18:50 +0200)]
linuxdvb: catch FE_SCALE_NOT_AVAILABLE in DVBv5 signal strength
Jiri Kastner [Thu, 22 Jun 2017 07:22:20 +0000 (09:22 +0200)]
rpm: makefile - extend cleaning
i realized, that after few builds rpm folder had 3GB,
because it keeped useless content in BUILD and SOURCES
also keeping generated tvheadend.spec results in not building
of current HEAD.
Signed-off-by: Jiri Kastner <cz172638@gmail.com>
Jaroslav Kysela [Wed, 21 Jun 2017 10:08:52 +0000 (12:08 +0200)]
DVR: small optimization
Jaroslav Kysela [Tue, 20 Jun 2017 15:30:28 +0000 (17:30 +0200)]
satip server: don't print RTCP connection refused errors for broken (or non-capable) clients, fixes #4184