]>
git.ipfire.org Git - thirdparty/tvheadend.git/log
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
Jaroslav Kysela [Mon, 30 Oct 2017 11:12:23 +0000 (12:12 +0100)]
httpc: fix the wrong receive buffer overflow check, fixes #4353
Jaroslav Kysela [Mon, 30 Oct 2017 11:45:47 +0000 (12:45 +0100)]
httpc: introduce http_client_rbuf_cut(), try to fix wrong rbuf update for RTP data, issue #4353
Jaroslav Kysela [Wed, 25 Oct 2017 12:28:12 +0000 (14:28 +0200)]
epg api: fix the eventId check in api_epg_alternative/api_epg_related functions, fixes #4688
TheTroll [Tue, 24 Oct 2017 22:29:43 +0000 (00:29 +0200)]
Fix Nagra's Provids detection
Jaroslav Kysela [Fri, 20 Oct 2017 14:23:55 +0000 (16:23 +0200)]
tsfix: code cleanups, set time references from backlog, too, issue #4662
Jaroslav Kysela [Mon, 16 Oct 2017 06:53:47 +0000 (08:53 +0200)]
parsers: implement PTS clock recovery for ugly encoder, issue #4662
Jaroslav Kysela [Mon, 16 Oct 2017 18:44:42 +0000 (20:44 +0200)]
Makefile: fix typo
Michael Marley [Fri, 13 Oct 2017 21:25:03 +0000 (17:25 -0400)]
Makefile.hdhomerun: Update to
20170930
This adds support for the newly-released HDHR5 models.
Jaroslav Kysela [Mon, 16 Oct 2017 15:39:16 +0000 (17:39 +0200)]
Makefile.ffmpeg: update ffmpeg to 3.4
Jaroslav Kysela [Wed, 18 Oct 2017 13:11:52 +0000 (15:11 +0200)]
mpegts network: create mux - handle correctly ATSC C/T changes, fixes #4673
Jaroslav Kysela [Wed, 18 Oct 2017 09:18:29 +0000 (11:18 +0200)]
DVR: correct logic in dvr_thread_rec_start()
Jaroslav Kysela [Wed, 18 Oct 2017 09:08:53 +0000 (11:08 +0200)]
DVR: fix 'reconfigure muxer when streams changes', issue #4538, fixes #4672
Jaroslav Kysela [Wed, 11 Oct 2017 05:59:42 +0000 (07:59 +0200)]
Makefile.ffmpeg: update to ffmpeg 3.3.4
Jaroslav Kysela [Mon, 9 Oct 2017 13:56:07 +0000 (15:56 +0200)]
Revert "satip server: close session on SETUP error, fixes #4471"
This reverts commit
3a10ba27f0f1440a7f2cce01a85031aa81f27904 .
Jaroslav Kysela [Tue, 12 Sep 2017 11:48:18 +0000 (13:48 +0200)]
satip server: add one more no_data check, issue #4499
Jaroslav Kysela [Mon, 7 Aug 2017 12:12:37 +0000 (14:12 +0200)]
satip server: rearm the session timeout timer in TCP data mode
From: Mono Polimorph
Jaroslav Kysela [Mon, 9 Oct 2017 13:18:11 +0000 (15:18 +0200)]
satip server: Drop fe parameter on demand, fixes #4619
From: Mono Polimorph
Jaroslav Kysela [Mon, 9 Oct 2017 13:12:46 +0000 (15:12 +0200)]
satip server: Support different PORT over NAT FORWARDING, fixes #4617
From: Mono Polimorph
Jaroslav Kysela [Mon, 9 Oct 2017 12:56:49 +0000 (14:56 +0200)]
introduce tvh_str_default()
Jaroslav Kysela [Mon, 9 Oct 2017 12:21:28 +0000 (14:21 +0200)]
satip server: rectrict pids=all requests, fixes #4620
From: Mono Polimorph
Jaroslav Kysela [Sat, 7 Oct 2017 20:46:53 +0000 (22:46 +0200)]
dvb psi: add freq list descriptor parsing, cleanups, fix extract_4byte()
Jaroslav Kysela [Wed, 20 Sep 2017 07:10:19 +0000 (09:10 +0200)]
mpegts dvb: distinguish correctly between DVB-C/ANNEX-B and ATSC-C/ANNEX-B networks, fixes #4529
Jaroslav Kysela [Fri, 8 Sep 2017 06:43:21 +0000 (08:43 +0200)]
dvb psi: use correct delivery system in dvb_desc_cable_del(), issue #4529
Jaroslav Kysela [Wed, 14 Jun 2017 07:02:42 +0000 (09:02 +0200)]
dvb psi: cosmetic code reshuffle, translate onid/tsid 0xffff to 55555
Jaroslav Kysela [Wed, 2 Aug 2017 08:08:45 +0000 (10:08 +0200)]
satip server: allow to turn off UPnP discovery, fixes #4482
Jaroslav Kysela [Mon, 9 Oct 2017 08:21:14 +0000 (10:21 +0200)]
idnode: partially revert the previous code in idnode_cmp_sort()
Jaroslav Kysela [Mon, 9 Oct 2017 08:17:22 +0000 (10:17 +0200)]
idnode: fix sorting (slist_rend, idnode_get_display)
Jaroslav Kysela [Mon, 9 Oct 2017 07:24:56 +0000 (09:24 +0200)]
htsbuf: remove double ;; in htsbuf_append_and_escape_url()
Jaroslav Kysela [Mon, 9 Oct 2017 07:59:04 +0000 (09:59 +0200)]
iptv: auto - fix the url query filter, fixes #4658
Jaroslav Kysela [Mon, 9 Oct 2017 06:41:06 +0000 (08:41 +0200)]
http: xmltv export - escape icon URL, fixes #4659
Jaroslav Kysela [Mon, 2 Oct 2017 07:08:39 +0000 (09:08 +0200)]
htsp: fix the global_lock in htsp_file_destroy, fixes #4622
Jaroslav Kysela [Mon, 2 Oct 2017 06:49:58 +0000 (08:49 +0200)]
mpegts: mux - move stop PID timer call to appropriate place, fixes #4643
Jaroslav Kysela [Fri, 29 Sep 2017 12:11:47 +0000 (14:11 +0200)]
epggrab: do not re-enable opentv grabber when user not enabled it, fixes #4633
Jaroslav Kysela [Thu, 28 Sep 2017 16:55:34 +0000 (18:55 +0200)]
epggrab: remove all channels links when not enabled, fixes #4633
Jaroslav Kysela [Fri, 29 Sep 2017 11:52:11 +0000 (13:52 +0200)]
prop: fix prop_str -> prop_ptr
Jaroslav Kysela [Fri, 29 Sep 2017 07:40:50 +0000 (09:40 +0200)]
idnode: compilation fix for last prop change
Jaroslav Kysela [Fri, 29 Sep 2017 07:31:52 +0000 (09:31 +0200)]
prop: prop_sbuf / prop_ptr cleanups
The prop get string callbacks should use static buffers. This
patch is trying to fix the problematic parts (mostly in dvr_db.c)
and also introduces prop_ptr to not allocate static pointer
in each string get callback.
The problems in dvb_db.c were serious, so tvh could crash or
invalid data are written to the config files.
Issue: #4636
Jaroslav Kysela [Mon, 25 Sep 2017 06:30:13 +0000 (08:30 +0200)]
htsp: move open syscall outside global_lock, issue #4624
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