]> git.ipfire.org Git - thirdparty/tvheadend.git/log
thirdparty/tvheadend.git
2 days agoAdd 'sudo make install' to the Linux build notes. master
DeltaMikeCharlie [Sat, 5 Jul 2025 07:47:40 +0000 (17:47 +1000)] 
Add 'sudo make install' to the Linux build notes.

4 days agoCloudsmith supports fedora 42 now
Flole [Thu, 3 Jul 2025 12:34:11 +0000 (14:34 +0200)] 
Cloudsmith supports fedora 42 now

10 days agoUpdate coverity secret check to new ENV file
Flole [Thu, 26 Jun 2025 23:41:22 +0000 (01:41 +0200)] 
Update coverity secret check to new ENV file

2 weeks agoUpdate online help text
dave-p [Sat, 21 Jun 2025 06:18:40 +0000 (07:18 +0100)] 
Update online help text

Format Strings used in DVR Profiles cannot be used when creating Autorecs. See Forum issue 9160.

3 weeks agofix memory leak 3 - transcoding
Ukn Unknown [Mon, 2 Jun 2025 20:48:48 +0000 (13:48 -0700)] 
fix memory leak 3 - transcoding

- fix memory leak 3 - transcoding

3 weeks agoremove coded_width and coded_height from encoding
Ukn Unknown [Fri, 6 Jun 2025 17:43:20 +0000 (10:43 -0700)] 
remove coded_width and coded_height from encoding

according to AVCodecContext documentation this is only used for decoding, oavctx is used for encoding

3 weeks agoUser's DVR Configuration profile not used when scheduling recordings via HTSP
DeltaMikeCharlie [Mon, 9 Jun 2025 23:43:49 +0000 (09:43 +1000)] 
User's DVR Configuration profile not used when scheduling recordings via HTSP

3 weeks agoRecognize checkbox for feature proposals properly
Flole [Tue, 10 Jun 2025 00:16:12 +0000 (02:16 +0200)] 
Recognize checkbox for feature proposals properly

4 weeks agoAdd missing coverity env
Flole [Mon, 9 Jun 2025 16:18:43 +0000 (16:18 +0000)] 
Add missing coverity env

4 weeks agoFix coverity builds
Flole [Mon, 9 Jun 2025 15:19:47 +0000 (15:19 +0000)] 
Fix coverity builds

4 weeks agoci: disable coverity on forks
Christian Hewitt [Fri, 6 Jun 2025 11:28:01 +0000 (11:28 +0000)] 
ci: disable coverity on forks

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
4 weeks agorepo: cleanup CONTRIBUTING.md
Christian Hewitt [Fri, 6 Jun 2025 08:15:02 +0000 (08:15 +0000)] 
repo: cleanup CONTRIBUTING.md

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
4 weeks agorepo: cleanup README.md
Christian Hewitt [Fri, 6 Jun 2025 07:10:58 +0000 (07:10 +0000)] 
repo: cleanup README.md

4 weeks agointl: js: change freenode to Libera.Chat
Christian Hewitt [Fri, 6 Jun 2025 06:21:13 +0000 (06:21 +0000)] 
intl: js: change freenode to Libera.Chat

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
4 weeks agointl: docs: change freenode to Libera.Chat
Christian Hewitt [Fri, 6 Jun 2025 06:05:08 +0000 (06:05 +0000)] 
intl: docs: change freenode to Libera.Chat

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
4 weeks agoHTSP: Expose is_new flag in EPG event data
James Hutchinson [Wed, 4 Jun 2025 10:46:01 +0000 (11:46 +0100)] 
HTSP: Expose is_new flag in EPG event data

This commit adds the is_new flag to the EPG event data sent to HTSP clients.
By including this property, clients such as Kodi (with the pvr.hts addon)
can now detect whether a broadcast is marked as new and set corresponding
flags (e.g. EPG_TAG_FLAG_IS_NEW in Kodi).

This enhances the metadata available to clients and supports improved EPG
event handling and display.

A corresponding pull request will also be submitted to the pvr.hts project
to make use of this flag when obtaining EPG event guide data from Tvheadend.

4 weeks agoCoverity CID 552897
DeltaMikeCharlie [Tue, 3 Jun 2025 21:21:08 +0000 (07:21 +1000)] 
Coverity CID 552897

5 weeks agotranscode: gracefully handle common hardware decoder errors
James Hutchinson [Sat, 3 May 2025 11:02:58 +0000 (12:02 +0100)] 
transcode: gracefully handle common hardware decoder errors

When using VAAPI hardware decoding, certain malformed or corrupt frames at the
start of the stream may cause the ffmpeg h/w decoder to emit `AVERROR(EIO)` or
`AVERROR(EINVAL)` early in the picture decoding phase.

In these cases, libav will log errors such as:

  [ ERROR]:libav: AVCodecContext: Failed to upload decode parameters: 18 (invalid parameter).
  [ ERROR]:libav: AVCodecContext: Failed to end picture decode after error: 18 (invalid parameter).
  [ ERROR]:libav: AVCodecContext: hardware accelerator failed to decode picture

Currently, Tvheadend treats these errors as fatal, resulting in the transcoder
stream being torn down via `tvh_stream_stop()` and interrupting client playback,
typically leaving only audio and a black screen.

While this behavior is somewhat tolerable during live TV viewing—where the user
can manually resolve the issue by changing channels—it is significantly more
disruptive in recording scenarios, as it results in recordings containing only
audio and no video.

However, when the same streams are run directly through FFmpeg’s CLI, FFmpeg
**does not abort** on these errors — it logs them and continues transcoding.
This makes FFmpeg's failure handling more robust than Tvheadend's.

To identify which errors should be considered recoverable, the transcoder was
instrumented to log the exact `AVERROR` codes encountered during decoding failures.
A stress test was then run using a channel-hopping script that switched channels
every 5 seconds over several hours. The failure rate was approximately 1%, and
in **all** cases, the decoding failures were either `AVERROR(EIO)` or
`AVERROR(EINVAL)`. Allowing the stream to continue after these specific errors
proved effective — playback resumed, and only a minor picture glitch was visible
at the affected frame, with no need to tear down the video stream.

This patch updates `tvh_context_decode()` to include `AVERROR(EIO)` and
`AVERROR(EINVAL)` in the list of tolerated decode errors, aligning Tvheadend's
behavior with FFmpeg’s more forgiving approach.

FFmpeg’s internal decoder logic in `vaapi_h264.c` and `decode.c` supports this
tolerance model. For example, in `decode_simple_internal()` and `submit_frame()`,
errors like `EIO` may occur during `av_hwframe_transfer_data()` or `vaEndPicture()`,
but are **not considered fatal**. Instead, FFmpeg logs the issue and decoding
continues on the next frame.

5 weeks agotranscode: improve logging of packet transcode errors
James Hutchinson [Fri, 16 May 2025 15:09:11 +0000 (16:09 +0100)] 
transcode: improve logging of packet transcode errors

Improve visibility of decoding failures during transcoding by logging
the error code, a human-readable description, and the packet PTS when
the hardware decoder fails to process a packet.

Previously, these errors would silently trigger `tvh_stream_stop()` on
the affected stream, with minimal context about the underlying cause.
This made it difficult to diagnose issues such as hardware acceleration
glitches or codec-specific decode failures.

With this change, such errors are logged at warning level, and full
packet details are included if trace logging is enabled. This provides
valuable diagnostic information when investigating stream interruptions
or video dropout.

This commit does not alter transcoder behavior; errors are still
filtered or handled by other components as before. It simply makes
decoder error conditions more transparent for debugging purposes.

5 weeks agofix for video stream detection
Ukn Unknown [Mon, 2 Jun 2025 02:09:46 +0000 (19:09 -0700)] 
fix for video stream detection

PR https://github.com/tvheadend/tvheadend/pull/1772 is not covering all video streams. The proper implementation is to use the macro SCT_ISVIDEO()

5 weeks agoAdd API call 'status/activity'.
DeltaMikeCharlie [Sun, 1 Jun 2025 22:27:58 +0000 (08:27 +1000)] 
Add API call 'status/activity'.

5 weeks agofix memory leak 2 - transcoding
Ukn Unknown [Tue, 27 May 2025 00:12:06 +0000 (17:12 -0700)] 
fix memory leak 2 - transcoding

fix memory leak 2 - transcoding

5 weeks agofix dead error condition
Ukn Unknown [Tue, 27 May 2025 03:36:34 +0000 (20:36 -0700)] 
fix dead error condition

Fixes coverity scan issues: 462150

6 weeks agoadd mpegts parameters from input stream
Ukn Unknown [Mon, 14 Apr 2025 04:09:12 +0000 (21:09 -0700)] 
add mpegts parameters from input stream

- add service_name, service_provider, mpegts_transport_id, mpegts_service_type, mpegts_pmt_start_pid, mpegts_start_pid, mpegts_service_id, mpegts_original_service_id
- allow user to select mpeg ts sid (same like pass profile)

6 weeks agofix memory leak - transcoding
Ukn Unknown [Fri, 23 May 2025 21:44:11 +0000 (14:44 -0700)] 
fix memory leak - transcoding

Fixes coverity scan issues: 551230, 551229, 507422 and 507421

6 weeks agoFix recording thread freeze when unable to create unique file name.
DeltaMikeCharlie [Sat, 24 May 2025 23:26:33 +0000 (09:26 +1000)] 
Fix recording thread freeze when unable to create unique file name.

6 weeks agoMKV Tags - Change rating label. Add Sub-title and Comment.
DeltaMikeCharlie [Tue, 20 May 2025 23:31:45 +0000 (09:31 +1000)] 
MKV Tags - Change rating label.  Add Sub-title and Comment.

6 weeks agofix memory leak
Ukn Unknown [Tue, 20 May 2025 01:07:18 +0000 (18:07 -0700)] 
fix memory leak

Fixes: https://github.com/tvheadend/tvheadend/issues/1749
6 weeks agovideo hw accel should only be applied for video streams
Ukn Unknown [Mon, 19 May 2025 04:59:29 +0000 (21:59 -0700)] 
video hw accel should only be applied for video streams

Fixes: https://github.com/tvheadend/tvheadend/issues/1827
7 weeks agoAdd Sub-Title Processing Options for DVB OTA EPG
DeltaMikeCharlie [Mon, 19 May 2025 19:45:04 +0000 (05:45 +1000)] 
Add Sub-Title Processing Options for DVB OTA EPG

7 weeks agoUpdate VAAPI transcoding as recommended by ffmpeg 6.1.1/doc/examples/… (#1792)
Ukn Unknown [Mon, 19 May 2025 13:21:52 +0000 (06:21 -0700)] 
Update VAAPI transcoding as recommended by ffmpeg 6.1.1/doc/examples/… (#1792)

Update VAAPI transcoding as recommended by ffmpeg 6.1.1/doc/examples/vaapi_*.c

7 weeks agoupdate audio abuffersink from deprecated channel_layouts to ch_layouts and deprecated...
uknunknown [Sun, 6 Oct 2024 23:42:55 +0000 (16:42 -0700)] 
update audio abuffersink from deprecated channel_layouts to ch_layouts and deprecated FF_PROFILE_* --> AV_PROFILE_*

update audio abuffersink from deprecated channel_layouts to ch_layouts and deprecated FF_PROFILE_* --> AV_PROFILE_*

7 weeks agoiptv: handle relative key URL
Enrico Lorenzoni [Mon, 26 Aug 2024 08:44:25 +0000 (09:44 +0100)] 
iptv: handle relative key URL

7 weeks ago[Docker]: Tag alpine master as latest
Flole [Thu, 15 May 2025 13:19:04 +0000 (15:19 +0200)] 
[Docker]: Tag alpine master as latest

7 weeks agofix read/write of PT_DYN_INT
Ukn Unknown [Mon, 10 Mar 2025 04:29:58 +0000 (21:29 -0700)] 
fix read/write of PT_DYN_INT

PT_DYN_INT should be read and write as int (32 bits)

7 weeks agoallow NVENC, VAAPI and MMAL to coexist in the same build
Ukn Unknown [Tue, 11 Feb 2025 00:39:02 +0000 (16:39 -0800)] 
allow NVENC, VAAPI and MMAL to coexist in the same build

- allow NVENC, VAAPI and MMAL to coexist in the same build.
- give the user the capability for prioritize hw decoder or to match the hw decoder with hw encoder
- refactor source code: remove duplicate source code in codec.js

7 weeks agoShow recording file name
DeltaMikeCharlie [Wed, 12 Feb 2025 02:59:19 +0000 (13:59 +1100)] 
Show recording file name

7 weeks agowizard: increase buffer size to silence -Wformat-truncation on GCC 15
James Hutchinson [Wed, 7 May 2025 09:20:52 +0000 (10:20 +0100)] 
wizard: increase buffer size to silence -Wformat-truncation on GCC 15

GCC 15.1 introduces stricter checks around `snprintf`-like functions
under `-Wformat-truncation`, even when the format string itself is
under developer control. This triggers a false positive in
`hello_changed()` when building with `-Werror=format-truncation`:

  error: ‘__builtin___snprintf_chk’ output may be truncated before the
  last format character [-Werror=format-truncation=]

  note: output between 1 and 33 bytes into a destination of size 32

This warning is triggered due to a theoretical edge case in
`tvh_strlcatf()` where combining strings like `"en,fr,de"` could
approach the buffer limit of 32 bytes. While truncation is unlikely in
practice, the warning is still emitted aggressively by the new FORTIFY
logic.

Increase the buffer from 32 to 64 bytes to silence the warning and
ensure headroom. This avoids having to disable the diagnostic, while
still keeping the logic and usage intact. This is a defensive fix with
no behavioral change, and aligns with similar mitigations used in other
projects facing the same issue with GCC >= 13 and especially 15+.

Tested with GCC 15.1.1, built cleanly.

Refs:
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108231
- https://gcc.gnu.org/onlinedocs/gcc-15.1.0/gcc/Warning-Options.html#index-Wformat-truncation

7 weeks agoFix crash when updating 'disp_summary'
DeltaMikeCharlie [Thu, 20 Mar 2025 03:43:50 +0000 (14:43 +1100)] 
Fix crash when updating 'disp_summary'

7 weeks agointl: Translate tvheadend.doc.pot in en_US
transifex-integration[bot] [Sun, 9 Mar 2025 18:04:55 +0000 (18:04 +0000)] 
intl: Translate tvheadend.doc.pot in en_US

100% translated source file: 'tvheadend.doc.pot'
on 'en_US'.

7 weeks agointl: Translate tvheadend.doc.pot in en_GB
transifex-integration[bot] [Sun, 9 Mar 2025 18:04:05 +0000 (18:04 +0000)] 
intl: Translate tvheadend.doc.pot in en_GB

100% translated source file: 'tvheadend.doc.pot'
on 'en_GB'.

7 weeks agointl: Translate intl/tvheadend.pot in pl
transifex-integration[bot] [Tue, 3 Dec 2024 08:00:56 +0000 (08:00 +0000)] 
intl: Translate intl/tvheadend.pot in pl

100% translated source file: 'intl/tvheadend.pot'
on 'pl'.

7 weeks agointl: Translate intl/js/tvheadend.js.pot in pl
transifex-integration[bot] [Tue, 3 Dec 2024 07:59:50 +0000 (07:59 +0000)] 
intl: Translate intl/js/tvheadend.js.pot in pl

100% translated source file: 'intl/js/tvheadend.js.pot'
on 'pl'.

7 weeks agoGlobal setting for 'Items per page'
DeltaMikeCharlie [Sun, 16 Feb 2025 04:28:59 +0000 (15:28 +1100)] 
Global setting for 'Items per page'

7 weeks agoRemove links to old Wiki (#1793)
dave-p [Tue, 13 May 2025 06:38:55 +0000 (07:38 +0100)] 
Remove links to old Wiki (#1793)

* Remove links to old Wiki. Fixes #1660
Also remove references to CIC and CLA, and other content where a more recent version exists on the documentation site.

* Remove more obsolete links.

7 weeks agohttpc.c: Fix HTTPS with OpenSSL 3.5 (#1813)
Michael Marley [Tue, 13 May 2025 05:43:04 +0000 (01:43 -0400)] 
httpc.c: Fix HTTPS with OpenSSL 3.5 (#1813)

The TLS Client Hello message is larger in OpenSSL 3.5 and will not
fit in the previous hc_io_size of 1024 bytes.  This causes the TLS
Client Hello message to be truncated, resulting in HTTPS requests
stalling and eventually timing out.  To fix this, increase
hc_io_size to 2048 bytes.

7 weeks agolovcombo-all.js: Fix autorec create/edit TypeError with Firefox 134 (#1786)
Michael Marley [Tue, 13 May 2025 05:41:47 +0000 (01:41 -0400)] 
lovcombo-all.js: Fix autorec create/edit TypeError with Firefox 134 (#1786)

Firefox 134 added the RegExp.escape() method
(https://tc39.es/proposal-regex-escaping/#sec-regexp.escape) with a
standards-compliant implementation that throws TypeError if
any value other than a String is passed in.  This differs from the
existing polyfill that simply returns the argument unmodified if it
isn't a String.  In TVHeadend, the day-of-the-week selector (as
used in the Autorec and Timer configuration) uses Integers as keys
for options, causing an Integer to get passed to RegExp.escape() on
line 300 of lovcombo-all.js.  Because of the non-standards-
compliant permissive behavior of the polyfill, this previously
didn't cause an issue.  However, with Firefox 134 (and an upcoming
version of Safari), the added standards-compliant method causes a
TypeError to be thrown on every attempt to create or edit a timer
or autorec, causing the edit window to not be shown.  To solve the
issue, pass the response from r.get(this.valueField) through the
String() constructor to ensure anything that gets passed in is a
String.  This has been tested with Firefox and Chrome with both
Integer and String keys.

7 weeks agoFix Cloudsmith uploads
Flole [Mon, 12 May 2025 23:16:26 +0000 (01:16 +0200)] 
Fix Cloudsmith uploads

8 weeks agoFix CI Builds 2/2
Christian [Sun, 11 May 2025 08:10:42 +0000 (10:10 +0200)] 
Fix CI Builds 2/2

fix: allow x265 build on CMake <3.2

feat(build): only use armv9 when supported

chore(build): remove x265 from unsupported platforms

8 weeks agoFix CI Builds 1/2
Flole [Sun, 2 Feb 2025 16:28:43 +0000 (16:28 +0000)] 
Fix CI Builds 1/2

Update run-on-arch to v3

This should finally fix the segfaults

Fix x265 builds

Fix cloudsmith uploads for Fedora

Ensure new x265 flags are used

Fix native builds

Update libx265

7 months agoCheck for hidden fields before reading them. Fixes #1782.
dave-p [Mon, 11 Nov 2024 12:56:12 +0000 (12:56 +0000)] 
Check for hidden fields before reading them. Fixes #1782.

8 months agointl: Translate intl/tvheadend.pot in en_US
transifex-integration[bot] [Tue, 24 Sep 2024 22:50:35 +0000 (22:50 +0000)] 
intl: Translate intl/tvheadend.pot in en_US

100% translated source file: 'intl/tvheadend.pot'
on 'en_US'.

8 months agointl: Translate intl/tvheadend.pot in en_GB
transifex-integration[bot] [Tue, 24 Sep 2024 22:49:50 +0000 (22:49 +0000)] 
intl: Translate intl/tvheadend.pot in en_GB

100% translated source file: 'intl/tvheadend.pot'
on 'en_GB'.

8 months agoiptv: allow to limit UDP ports for unicast inputs
Arno DUBOIS [Thu, 26 Sep 2024 23:28:08 +0000 (01:28 +0200)] 
iptv: allow to limit UDP ports for unicast inputs

9 months agoupdate libvpx v.1.14.1
uknunknown [Sat, 5 Oct 2024 00:32:49 +0000 (17:32 -0700)] 
update libvpx v.1.14.1

update libvpx v.1.14.1
remove previous patch (from 1.14.0)

9 months agoFix - Audio transcoding not working #1663
uknunknown [Fri, 13 Sep 2024 04:38:47 +0000 (21:38 -0700)] 
Fix - Audio transcoding not working #1663

src/transcoding/transcode/helpers.c  : pktbuf_len(self->input_gh)) will be 0 (empty) so will return error -11 (AVERROR(EAGAIN) for audio streams.

9 months agoAdd start timeout to streaming profile
Leonardo Brondani Schenkel [Thu, 1 Aug 2024 18:14:57 +0000 (20:14 +0200)] 
Add start timeout to streaming profile

This allows overriding the hardcoded grace period of 20 seconds.
It should address the problems described in [1][2].

In addition, timeout code has been slightly refactored for readability
and more debug logging.

[1] https://tvheadend.org/d/8330-increase-timeout-when-tuning-iptv-mux/2
[2] https://tvheadend.org/d/8158-several-problems-questions-about-using-tvheadend-starting-with-not-waiting-long-enoough-for-stream-to-begin

9 months agoRemove HTSP client version test for rating labels and string UUIDs
DeltaMikeCharlie [Fri, 20 Sep 2024 03:51:41 +0000 (13:51 +1000)] 
Remove HTSP client version test for rating labels and string UUIDs

9 months agofixes #1733
ast261 [Tue, 16 Jul 2024 18:28:30 +0000 (20:28 +0200)] 
fixes #1733

9 months agobouquet: fix overzealous channel removals in merged multi-network setup
James Hutchinson [Wed, 4 Sep 2024 10:44:54 +0000 (11:44 +0100)] 
bouquet: fix overzealous channel removals in merged multi-network setup

10 months agoFixup updating comment in _dvr_entry_update. Only overwrite existing title if comment...
ksooo [Fri, 6 Sep 2024 14:30:55 +0000 (16:30 +0200)] 
Fixup updating comment in _dvr_entry_update. Only overwrite existing title if comment is not NULL. Follows the same logic now as other updates done in this function.

10 months agoHTSP: deliver 'comment' with autorecEntry(Add|Update), timerecEntry(Add|Update)....
ksooo [Fri, 6 Sep 2024 05:59:50 +0000 (07:59 +0200)] 
HTSP: deliver 'comment' with autorecEntry(Add|Update), timerecEntry(Add|Update). Allow setting 'comment' with 'updateDvrEntry'.

10 months agoAdd country and authority to HTPS messages containing rating labels.
DeltaMikeCharlie [Mon, 2 Sep 2024 05:02:52 +0000 (15:02 +1000)] 
Add country and authority to HTPS messages containing rating labels.

10 months agoAdd full UUID to channel, chTag and dvrEntry.
DeltaMikeCharlie [Mon, 2 Sep 2024 05:01:37 +0000 (15:01 +1000)] 
Add full UUID to channel, chTag and dvrEntry.

10 months agoHTSP: Expose DVR configuration id in 'dvrEntryAdd', 'dvrEntryUpdate', 'autorecEntryAd...
ksooo [Wed, 28 Aug 2024 12:46:42 +0000 (14:46 +0200)] 
HTSP: Expose DVR configuration id in 'dvrEntryAdd', 'dvrEntryUpdate', 'autorecEntryAdd', 'autorecEntryUpdate', 'timerecEntryAdd', 'timerecEntryUpdate'.

10 months agoFix mapping HTSP field 'broadcastType' to internal field. Must be 'btype'.
ksooo [Sun, 25 Aug 2024 17:02:23 +0000 (19:02 +0200)] 
Fix mapping HTSP field 'broadcastType' to internal field. Must be 'btype'.

10 months agoHTSP: Expose broadcast type in 'autorecEntryAdd' and 'autorecEntryUpdate'. Handle...
ksooo [Sun, 25 Aug 2024 09:09:28 +0000 (11:09 +0200)] 
HTSP: Expose broadcast type in 'autorecEntryAdd' and 'autorecEntryUpdate'. Handle broadcast type in 'addAutorecEntry' and 'updateAutorecEntry'.

10 months agoFix FTBFS introduced by 76d8fc8bc5455322558c764c84755ebbba254ad5
Michael Marley [Fri, 23 Aug 2024 22:13:31 +0000 (18:13 -0400)] 
Fix FTBFS introduced by 76d8fc8bc5455322558c764c84755ebbba254ad5

Older versions of GCC don't like declaring a variable in the middle
of a switch/case and will fail with "error: a label can only be
part of a statement and a declaration is not a statement".

10 months agofix bug in AAC channel layout configuration tab
uknunknown [Fri, 16 Aug 2024 17:27:58 +0000 (10:27 -0700)] 
fix bug in AAC channel layout configuration tab

fix bug in AAC channel layout configuration tab
There are few issues:
1. first entry in combo should be AUTO (with value 0) - in original code was set to 1 (and overwritten later)
2. l->nb_channel is not the best way to cycle though layouts available. At the end I think is accessing some region outside of the struct (because I see is lopped also after 7.1). The way I knew how to fix was to add the filter (l->nb_channels < 32). Maybe changing the while to for will be a better option.
3. av_channel_layout() is returning the length of the string ... we should use l_buf only when retuned value > 0 ... when is < 0 l_buf was not updated.

10 months agoHTSP: Expose service provider name with channel information.
ksooo [Thu, 22 Aug 2024 14:29:28 +0000 (16:29 +0200)] 
HTSP: Expose service provider name with channel information.

10 months agoUpdate Fedora versions for cloudsmith uploads
Flole [Thu, 22 Aug 2024 16:55:40 +0000 (18:55 +0200)] 
Update Fedora versions for cloudsmith uploads

10 months agoUpdate linuxdvb_satconf.c - lnb poweroff requires power save
Michael Jahn [Fri, 9 Aug 2024 16:31:26 +0000 (18:31 +0200)] 
Update linuxdvb_satconf.c - lnb poweroff requires power save

Extend description to make it clear that lnb_poweroff also requires "power save" setting.

10 months agoupdate vaapi - vainfo
uknunknown [Tue, 23 May 2023 02:48:04 +0000 (19:48 -0700)] 
update vaapi - vainfo

- add enable vainfo detection checkbox in config
- defined PT_DYN_INT to load integer field from function
- PT_DYN_INT must be paired with dyn_i
- show only VAAPI codecs advertised by vainfo
- defined two invisible fields: ui and uilp used for UI enable/disable features
- check if bitrate is greater than max_bitrate (fix to avoid tvh crash)
- vp8, vp9 separate Global Quality from Quality
- load quality and max B frames filters from vainfo
- UI has several constrains or warnings implemented using vainfo
- separated 'b_depth' from 'bf'

10 months agoEnforce issue templates on GitHub
Flole [Sat, 10 Aug 2024 16:19:02 +0000 (16:19 +0000)] 
Enforce issue templates on GitHub

11 months agoReplace deprecated channels/channel_layout
André Apitzsch [Sun, 23 Jun 2024 14:50:50 +0000 (16:50 +0200)] 
Replace deprecated channels/channel_layout

11 months agoFix function passed to avio_alloc_context() (ffmpeg 7)
André Apitzsch [Sun, 23 Jun 2024 14:41:28 +0000 (16:41 +0200)] 
Fix function passed to avio_alloc_context() (ffmpeg 7)

11 months agointl: Translate intl/js/tvheadend.js.pot in en_US
transifex-integration[bot] [Thu, 4 Jul 2024 00:03:34 +0000 (00:03 +0000)] 
intl: Translate intl/js/tvheadend.js.pot in en_US

100% translated source file: 'intl/js/tvheadend.js.pot'
on 'en_US'.

11 months agointl: Translate intl/js/tvheadend.js.pot in en_GB
transifex-integration[bot] [Thu, 4 Jul 2024 00:03:25 +0000 (00:03 +0000)] 
intl: Translate intl/js/tvheadend.js.pot in en_GB

100% translated source file: 'intl/js/tvheadend.js.pot'
on 'en_GB'.

11 months agoRework fullscreen request method detection
Daniel Kamil Kozar [Fri, 5 Jul 2024 23:08:16 +0000 (01:08 +0200)] 
Rework fullscreen request method detection

11 months agoAdd dependency for recent Fedora versions
Flole [Fri, 12 Jul 2024 22:34:24 +0000 (22:34 +0000)] 
Add dependency for recent Fedora versions

11 months agoAllow node16 for GitHub Actions
Flole [Thu, 11 Jul 2024 18:06:14 +0000 (18:06 +0000)] 
Allow node16 for GitHub Actions

12 months agoRemove tvheadend user on purge
dave-p [Wed, 26 Jun 2024 06:24:26 +0000 (07:24 +0100)] 
Remove tvheadend user on purge

This fixes #1722 on my test system.

12 months agoRefactor null value handling.
DeltaMikeCharlie [Thu, 27 Jun 2024 07:15:26 +0000 (17:15 +1000)] 
Refactor null value handling.

12 months agoReplace deprecated interlaced_frame, top_field_first and key_frame
André Apitzsch [Sun, 23 Jun 2024 14:47:51 +0000 (16:47 +0200)] 
Replace deprecated interlaced_frame, top_field_first and key_frame

12 months agoReplace deprecated av_init_packet()
André Apitzsch [Sun, 23 Jun 2024 14:42:50 +0000 (16:42 +0200)] 
Replace deprecated av_init_packet()

12 months agoRemove useless NULL-check in ratinglabels.c
Flole [Sat, 22 Jun 2024 20:21:10 +0000 (22:21 +0200)] 
Remove useless NULL-check in ratinglabels.c

Found by coverity

12 months agoFix potential null-pointer dereference in muxer_mkv.c
Flole [Sat, 22 Jun 2024 20:26:45 +0000 (22:26 +0200)] 
Fix potential null-pointer dereference in muxer_mkv.c

12 months agoRemove useless NULL-assignment in http.c
Flole [Sat, 22 Jun 2024 20:05:48 +0000 (22:05 +0200)] 
Remove useless NULL-assignment in http.c

Found by coverity

12 months agoUse safer htsmsg_add_str2 when copying de->de_directory
Brett T. Warden [Mon, 17 Jun 2024 20:56:11 +0000 (13:56 -0700)] 
Use safer htsmsg_add_str2 when copying de->de_directory

de->de_directory may be null. htsmsg_add_str passes str unchecked to underlying strlen function. __strlen_avx2 will segfault if str is null.

htsmsg_add_str2 checks the value of args before passing them to htsmsg_add_str, which should prevent this.

Fixes #1712

12 months agoXMLTV: Rating Labels: Use 'NONE' when 'system' attribute is missing
DeltaMikeCharlie [Fri, 14 Jun 2024 19:25:53 +0000 (05:25 +1000)] 
XMLTV: Rating Labels: Use 'NONE' when 'system' attribute is missing

13 months agoAllow setting a custom grace period for LinuxDVB adapters
Daniel Kamil Kozar [Sun, 2 Jun 2024 15:45:13 +0000 (17:45 +0200)] 
Allow setting a custom grace period for LinuxDVB adapters

When using Astrometa to tune to DVB-T2 muxes in Poland, the scans are reported
as complete but the found services have zero elementary services due to the scan
period being too short in order to fetch PMTs.

This change allows overriding the default grace period of 5 seconds with a
custom value. I successfully scanned all services with this setting changed to
15 for this particular adapter/mux combination.

13 months agoAlways compile x265 as PIC
Flole998 [Sat, 1 Jun 2024 14:37:35 +0000 (14:37 +0000)] 
Always compile x265 as PIC

13 months agoUpdate libogg and libfdkaac
Flole998 [Sun, 12 May 2024 18:44:11 +0000 (18:44 +0000)] 
Update libogg and libfdkaac

13 months agoUpdate libx264
Flole998 [Sun, 12 May 2024 18:38:23 +0000 (18:38 +0000)] 
Update libx264

13 months agoUpdate nasm
Flole998 [Sun, 12 May 2024 18:33:43 +0000 (18:33 +0000)] 
Update nasm

13 months agoAdd current pcloud cert
Flole998 [Sun, 12 May 2024 18:33:25 +0000 (18:33 +0000)] 
Add current pcloud cert

13 months agoUpdate x265 to 3.6
Flole998 [Sun, 12 May 2024 14:57:30 +0000 (14:57 +0000)] 
Update x265 to 3.6

13 months agoMake builds parallel and add bookworm and ubuntu 24.04 builds
Flole998 [Fri, 10 May 2024 21:17:34 +0000 (21:17 +0000)] 
Make builds parallel and add bookworm and ubuntu 24.04 builds

13 months ago Extend CORS origin help/hover message
Claudio [Thu, 23 May 2024 21:53:01 +0000 (23:53 +0200)] 
 Extend CORS origin help/hover message

Clarify that the value should be a URL, prefixed with http:// or https://, and not "bare" domains, which currently silently fail to save. Fixes (partially) #1700.

13 months agodvr: Added missing directory to rerecord-entry
malex_14 [Mon, 3 Jun 2024 13:21:58 +0000 (15:21 +0200)] 
dvr: Added missing directory to rerecord-entry

Previously if you had a directory set on a recording and this recording
needed to be rerecorded, the directory was not kept in the new entry.