]> git.ipfire.org Git - thirdparty/tvheadend.git/log
thirdparty/tvheadend.git
7 years agoiptv: fix default value for ignore_path
Jaroslav Kysela [Sun, 3 Dec 2017 15:26:18 +0000 (16:26 +0100)] 
iptv: fix default value for ignore_path

7 years agoiptv: fix memory leak introduced by ignore args and url cmpid
Jaroslav Kysela [Sun, 3 Dec 2017 15:19:39 +0000 (16:19 +0100)] 
iptv: fix memory leak introduced by ignore args and url cmpid

7 years agotvhcsa: optimization for DVBCSA code
Jaroslav Kysela [Sun, 3 Dec 2017 11:38:50 +0000 (12:38 +0100)] 
tvhcsa: optimization for DVBCSA code

7 years agoIPTV auto network: fix uninitalized variable
Jaroslav Kysela [Sun, 3 Dec 2017 11:38:08 +0000 (12:38 +0100)] 
IPTV auto network: fix uninitalized variable

7 years agochannel icons: fix the compilation issue
Jaroslav Kysela [Sun, 3 Dec 2017 09:07:37 +0000 (10:07 +0100)] 
channel icons: fix the compilation issue

7 years agodescrambler: fix another crash, issue #4749
Jaroslav Kysela [Sun, 3 Dec 2017 08:54:26 +0000 (09:54 +0100)] 
descrambler: fix another crash, issue #4749

7 years agochannel icons: add '%U' to pass UTF-8 filenames, fixes #4755
Jaroslav Kysela [Sun, 3 Dec 2017 08:47:44 +0000 (09:47 +0100)] 
channel icons: add '%U' to pass UTF-8 filenames, fixes #4755

7 years agomdhelp: add ignore_path property doc
mpmc [Sat, 2 Dec 2017 23:04:20 +0000 (23:04 +0000)] 
mdhelp: add ignore_path property doc

7 years agourl: fix urlrecompose()
Jaroslav Kysela [Sat, 2 Dec 2017 18:52:13 +0000 (19:52 +0100)] 
url: fix urlrecompose()

7 years agoIPTV: auto network - add possibility to ignore arguments or path components, fixes...
Jaroslav Kysela [Sat, 2 Dec 2017 18:45:51 +0000 (19:45 +0100)] 
IPTV: auto network - add possibility to ignore arguments or path components, fixes #4761

7 years agourl: fix urlcopy()
Jaroslav Kysela [Sat, 2 Dec 2017 17:59:36 +0000 (18:59 +0100)] 
url: fix urlcopy()

7 years agohttp: add http_arg_get_query() fcn
Jaroslav Kysela [Sat, 2 Dec 2017 17:55:44 +0000 (18:55 +0100)] 
http: add http_arg_get_query() fcn

7 years agourl: add urlrecompose()
Jaroslav Kysela [Sat, 2 Dec 2017 17:32:28 +0000 (18:32 +0100)] 
url: add urlrecompose()

7 years agocapmt: fix mutex issue (ok timer) and fix capmt_send_stop_descrambling()
Jaroslav Kysela [Sat, 2 Dec 2017 17:02:23 +0000 (18:02 +0100)] 
capmt: fix mutex issue (ok timer) and fix capmt_send_stop_descrambling()

7 years agodescrambler: fix the missing zero pid check for multipid, cleanups for non-scrambled...
Jaroslav Kysela [Fri, 1 Dec 2017 19:15:27 +0000 (20:15 +0100)] 
descrambler: fix the missing zero pid check for multipid, cleanups for non-scrambled packet processing, fixes #4749

7 years agodescrambler: use ts_recv_packet2() for queued data, issue #4749
Jaroslav Kysela [Fri, 1 Dec 2017 08:26:30 +0000 (09:26 +0100)] 
descrambler: use ts_recv_packet2() for queued data, issue #4749

7 years agowrappers: Implemented correctly for Darwin.
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.

7 years agowebui: Fixed sendfile() call on Darwin.
macrule [Wed, 29 Nov 2017 17:18:53 +0000 (18:18 +0100)] 
webui: Fixed sendfile() call on Darwin.

Order of call arguments was wrong.

7 years agotvhpoll: Fixed tvhpoll_add kqueue implementation.
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.

7 years agotcp: Fixed includes for FreeBSD.
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.

7 years agovfs: The sys/sysmacros.h include is not available or needed on FreeBSD and Darwin.
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.

7 years agointlconv: The iconv() function signature isn't different on current FreeBSD.
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.

7 years agohttp: The MSG_MORE flag is not available on FreeBSD or Darwin.
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.

7 years agoOn FreeBSD bswap_*() macros are now correctly mapped to the BSD bswap*() calls.
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.

7 years agoFixed compiler warning about unused function.
macrule [Wed, 29 Nov 2017 17:18:53 +0000 (18:18 +0100)] 
Fixed compiler warning about unused function.

keystr() is only needed when DEBUG2 is defined, so it's now wrapped in #ifdef

7 years agoFixed const correctness in bonjour code.
macrule [Wed, 29 Nov 2017 17:18:53 +0000 (18:18 +0100)] 
Fixed const correctness in bonjour code.

7 years agoFixed linking errors when bonjour was enabled.
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.

7 years agodescrambler: another attempt to fix the inlined non-scrambled data for pvu, issue...
Jaroslav Kysela [Wed, 29 Nov 2017 19:53:19 +0000 (20:53 +0100)] 
descrambler: another attempt to fix the inlined non-scrambled data for pvu, issue #4749

7 years agoavahi/bonjour: fix thinkos and typos
Jaroslav Kysela [Wed, 29 Nov 2017 09:56:46 +0000 (10:56 +0100)] 
avahi/bonjour: fix thinkos and typos

7 years agoSAT>IP server: fix typo in the previous patch
Jaroslav Kysela [Wed, 29 Nov 2017 09:50:47 +0000 (10:50 +0100)] 
SAT>IP server: fix typo in the previous patch

7 years agoSAT>IP server: add configuration to limit maximal count of sessions and user connecti...
Jaroslav Kysela [Wed, 29 Nov 2017 09:48:19 +0000 (10:48 +0100)] 
SAT>IP server: add configuration to limit maximal count of sessions and user connections, fixes #4735

From: Mono Polimorph

7 years agoallow to disable http/htsp servers (set TCP port to zero), fixes #4734
Jaroslav Kysela [Wed, 29 Nov 2017 09:43:03 +0000 (10:43 +0100)] 
allow to disable http/htsp servers (set TCP port to zero), fixes #4734

From: Mono Polimorph

7 years agohttp: Increase maxage for caching for images. (#4594).
E.Smith [Sun, 26 Nov 2017 13:39:19 +0000 (13:39 +0000)] 
http: Increase maxage for caching for images. (#4594).

Images were previously cached for 10 seconds. Since images
rarely change and we now use icons for categories in the epg
grid, it makes sense to cache them at the client for longer.

Issue: #4594.

7 years agoui: Use Google Noto Color Emoji for icons for categories/genres. (#4594).
E.Smith [Sun, 26 Nov 2017 13:24:44 +0000 (13:24 +0000)] 
ui: Use Google Noto Color Emoji for icons for categories/genres. (#4594).

By default, several Linux distributions do not install and use fonts
with the characters we were using for our icons. So we replace them
with pre-rendered png images from Google Noto Color Emoji. We use the
png images (instead of the font) to ensure better compatibility between
different browsers and OSes.

The pre-generated icons are under an Apache 2.0 licence, which is a
different licence to the ttf font (that we don't use) which is a
SIL Open Font licence.

The names of the files are based on the unicode naming convention.

Issue: #4594.

7 years agodescrambler: fix multipid descrambling (non-scrambled TS packets)
Jaroslav Kysela [Wed, 29 Nov 2017 09:29:03 +0000 (10:29 +0100)] 
descrambler: fix multipid descrambling (non-scrambled TS packets)

7 years agoRevert "debian: bump debhelper compat level"
mpmc [Sun, 26 Nov 2017 14:01:54 +0000 (14:01 +0000)] 
Revert "debian: bump debhelper compat level"

This reverts commit 698e74bc7c94ab467bc1e912990af2311a178604.

fixes #4740

7 years agodvbcam: Fix NULL pointer usage
Jasmin Jessich [Sun, 26 Nov 2017 02:42:44 +0000 (03:42 +0100)] 
dvbcam: Fix NULL pointer usage

When there is already a CAM assigned to the service, we jump to
update_pid. In commit 7f81d726af1f92b268d031c08cf5d00f0f77a4c6 a
tvhtrace call which prints the CAM name has been added. The name
is accessed by "ac->ca->lca_name", which requires ac set to a
proper value.
This commit adds the ac setting before it jumps to "update_pid".

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
7 years agoui: Ensure 'new' is checked correctly (#4594).
E.Smith [Sat, 25 Nov 2017 09:38:44 +0000 (09:38 +0000)] 
ui: Ensure 'new' is checked correctly (#4594).

Previously we used rec.new and that appeared to cause problems
in some browsers. So now we check that new is in the record
and that it is non-zero.

Issue: #4594.

7 years agoui: Fallback to genre mapping if category mapping fails. (#4594)
E.Smith [Thu, 23 Nov 2017 14:54:24 +0000 (14:54 +0000)] 
ui: Fallback to genre mapping if category mapping fails. (#4594)

Previously we would map categories or map genres if we had no
categories.

Now we will also map genres if the category mappings fail to generate
any mappings. Current known category mapping always supply 'movie',
'series' or 'sports' so this should not happen.

Issue: #4594.

7 years agocapmt: DVN ECM changes, issue #4728
Jaroslav Kysela [Fri, 24 Nov 2017 08:35:49 +0000 (09:35 +0100)] 
capmt: DVN ECM changes, issue #4728

7 years agodescrambler: caid - add DVN and TONGFANG
Jaroslav Kysela [Fri, 24 Nov 2017 08:00:38 +0000 (09:00 +0100)] 
descrambler: caid - add DVN and TONGFANG

7 years agodvbcam: Fixed saving of a cleared dvbcam caid_list (from WEB UI)
Jasmin Jessich [Thu, 23 Nov 2017 21:53:34 +0000 (22:53 +0100)] 
dvbcam: Fixed saving of a cleared dvbcam caid_list (from WEB UI)

caclient_dvbcam_class_caid_list_set didn't count the existing entries in the
dvbcam caid_list. Thus, it couldn't check if the old and the new list size
differ. This was only a problem when the list was cleared, because the
change flag was not set in this case and the empty list was not saved.

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
7 years agodvbcam: fix the all CAIDs selection (without filter)
Jaroslav Kysela [Thu, 23 Nov 2017 22:25:41 +0000 (23:25 +0100)] 
dvbcam: fix the all CAIDs selection (without filter)

7 years agoui: Don't display subtitle if it is same as summary. (#4594).
E.Smith [Wed, 22 Nov 2017 10:54:03 +0000 (10:54 +0000)] 
ui: Don't display subtitle if it is same as summary. (#4594).

Some OTA don't have a separate sub-title and description/summary
so if they are the same then don't display it as a sub-title since
the description is often long.

Issue: #4594.

7 years agoui: Add category/genre/new icons and more details (#4594).
E.Smith [Sat, 18 Nov 2017 17:14:52 +0000 (17:14 +0000)] 
ui: Add category/genre/new icons and more details (#4594).

We now display a separate column indicating if a programme is
new. This column also contains icons indicating the programme type
based on the category (from xmltv) or genre (from OTA).

This uses characters rather than icons since most modern fonts
supply glyphs that we can use. We avoid using too-modern glyphs
(such as Unicode-9.0, 2016) and try to use older ones that are
likely to be in Windows 7 or later. Unfortunately there is no
easy way to determine if a particular system contains a glyph,
but most systems revert to another font if necessary.

Also added a number of new details to the dialogs for EPG and DVR
to display previously shown time and cast/credit/keyword details
for DVR upcoming.

Additionally we display "Film (yyyy)" instead of "Film" if we
have the details to help the user differentiate remakes.

Issue: #4594.

7 years agoapi: Use same name copyright_year for EPG and DVR. (#4594).
E.Smith [Wed, 22 Nov 2017 13:32:31 +0000 (13:32 +0000)] 
api: Use same name copyright_year for EPG and DVR. (#4594).

Previously the UI EPG used copyrightYear to be consistent with
the htsp naming convention, however since DVR uses the field
name of copyright_year, it makes sense to rename the UI EPG
component name.

Issue: #4594.

7 years agoeit: Add regex scraper for detecting new programmes in OTA. (#4594).
E.Smith [Wed, 22 Nov 2017 11:30:17 +0000 (11:30 +0000)] 
eit: Add regex scraper for detecting new programmes in OTA. (#4594).

Issue: #4594.

7 years agoeit: Four digit regex is copyright_year not air date. (#4594).
E.Smith [Wed, 22 Nov 2017 13:33:23 +0000 (13:33 +0000)] 
eit: Four digit regex is copyright_year not air date. (#4594).

Previously we parsed is as a first_airdate since the copyright_date
field didn't exist. However, now the copyright_date field exists in
the EPG it makes more sense to populate this with the four-digit
year.

Issue: #4594.

7 years agoxmltv: Handle substring timestamps. (#4594)
E.Smith [Sun, 19 Nov 2017 13:32:39 +0000 (13:32 +0000)] 
xmltv: Handle substring timestamps. (#4594)

The DTD spec says that timestamps can be substrings. These
are typically used when specifying a previously-shown date
where it only has they YYYYMMDD and not the HHMMSS.

So we now parse these correctly which ensures we correctly
set the previously shown timestamp.

Issue: #4594.

7 years agodvr: Send genre to the UI for DVR. (#4594)
E.Smith [Tue, 21 Nov 2017 13:41:54 +0000 (13:41 +0000)] 
dvr: Send genre to the UI for DVR. (#4594)

Issue: #4594.

7 years agodvr: Send first_aired to the UI for EPG/DVR. (#4594).
E.Smith [Sun, 19 Nov 2017 13:48:54 +0000 (13:48 +0000)] 
dvr: Send first_aired to the UI for EPG/DVR. (#4594).

Issue: #4594.

7 years agodvr: Send credits, category and keywords to UI for DVR (#4594).
E.Smith [Sun, 19 Nov 2017 11:17:13 +0000 (11:17 +0000)] 
dvr: Send credits, category and keywords to UI for DVR (#4594).

Issue: #4594.

7 years agodebian: add a note to tvheadend.default explaining where to add/edit args
mpmc [Wed, 22 Nov 2017 15:25:09 +0000 (15:25 +0000)] 
debian: add a note to tvheadend.default explaining where to add/edit args

7 years agodvbcam: fix typo ECM -> EMM
Jaroslav Kysela [Thu, 23 Nov 2017 07:59:31 +0000 (08:59 +0100)] 
dvbcam: fix typo ECM -> EMM

7 years agodvbcam: fix obvious bugs, add more logging
Jaroslav Kysela [Thu, 23 Nov 2017 07:53:19 +0000 (08:53 +0100)] 
dvbcam: fix obvious bugs, add more logging

7 years agolinuxdvb_ca: use lca_name for logs
Jaroslav Kysela [Thu, 23 Nov 2017 07:45:40 +0000 (08:45 +0100)] 
linuxdvb_ca: use lca_name for logs

7 years agodvbcam: fix compilation
Jaroslav Kysela [Wed, 22 Nov 2017 10:48:52 +0000 (11:48 +0100)] 
dvbcam: fix compilation

7 years agodvbcam: implement more CAID filtering / selection
Jaroslav Kysela [Wed, 22 Nov 2017 10:45:26 +0000 (11:45 +0100)] 
dvbcam: implement more CAID filtering / selection

7 years agohttp: add http_check_local_ip() for SAT>IP server, fixes #4692
Jaroslav Kysela [Wed, 22 Nov 2017 08:09:08 +0000 (09:09 +0100)] 
http: add http_check_local_ip() for SAT>IP server, fixes #4692

7 years agodvbcam: use forcecaid settings per service
Jaroslav Kysela [Wed, 22 Nov 2017 07:14:29 +0000 (08:14 +0100)] 
dvbcam: use forcecaid settings per service

7 years agodvbcam: fix allocated_programs handling
Jaroslav Kysela [Tue, 21 Nov 2017 19:03:53 +0000 (20:03 +0100)] 
dvbcam: fix allocated_programs handling

7 years agodvbcam: fix crash (NULL dereference)
Jaroslav Kysela [Tue, 21 Nov 2017 19:00:05 +0000 (20:00 +0100)] 
dvbcam: fix crash (NULL dereference)

7 years agodebian: add initial systemd service file & unset admin user/pass on purge
mpmc [Tue, 21 Nov 2017 11:48:20 +0000 (11:48 +0000)] 
debian: add initial systemd service file & unset admin user/pass on purge

Many thanks to bodhi zazen for the tips!

7 years agodebian: bump debhelper compat level
mpmc [Mon, 20 Nov 2017 18:06:50 +0000 (18:06 +0000)] 
debian: bump debhelper compat level

7 years agodvbcam: fix reverted condition
Jaroslav Kysela [Tue, 21 Nov 2017 18:44:32 +0000 (19:44 +0100)] 
dvbcam: fix reverted condition

7 years agotcp: ip_check_is_local_address() fix the error path
Jaroslav Kysela [Tue, 21 Nov 2017 18:34:55 +0000 (19:34 +0100)] 
tcp: ip_check_is_local_address() fix the error path

7 years agoSAT>IP server: more NAT addr cleanups 2nd, issue #4692
Jaroslav Kysela [Tue, 21 Nov 2017 18:30:05 +0000 (19:30 +0100)] 
SAT>IP server: more NAT addr cleanups 2nd, issue #4692

7 years agoSAT>IP server: more NAT addr cleanups, issue #4692
Jaroslav Kysela [Tue, 21 Nov 2017 17:22:13 +0000 (18:22 +0100)] 
SAT>IP server: more NAT addr cleanups, issue #4692

7 years agotsdemux: pass always all data through descrambler, if the scrambling is active
Jaroslav Kysela [Tue, 21 Nov 2017 15:46:24 +0000 (16:46 +0100)] 
tsdemux: pass always all data through descrambler, if the scrambling is active

7 years agoservice: elementary streams - cleanups, add modify, destroy functions
Jaroslav Kysela [Tue, 21 Nov 2017 15:43:16 +0000 (16:43 +0100)] 
service: elementary streams - cleanups, add modify, destroy functions

7 years agotsremux: parse always HBBTV info
Jaroslav Kysela [Mon, 11 Sep 2017 15:16:41 +0000 (17:16 +0200)] 
tsremux: parse always HBBTV info

7 years agoSAT>IP server: cleanups for addr/port send to clients (NAT) 2nd
Jaroslav Kysela [Tue, 21 Nov 2017 10:11:50 +0000 (11:11 +0100)] 
SAT>IP server: cleanups for addr/port send to clients (NAT) 2nd

7 years agompegts: fix mpegts_input_cat_pass_callback - remove es
Jaroslav Kysela [Tue, 21 Nov 2017 10:08:08 +0000 (11:08 +0100)] 
mpegts: fix mpegts_input_cat_pass_callback - remove es

7 years agoSAT>IP server: cleanups for addr/port send to clients (NAT)
Jaroslav Kysela [Tue, 21 Nov 2017 10:02:17 +0000 (11:02 +0100)] 
SAT>IP server: cleanups for addr/port send to clients (NAT)

7 years agotcp: cleanups for ip_check functions
Jaroslav Kysela [Tue, 21 Nov 2017 09:37:49 +0000 (10:37 +0100)] 
tcp: cleanups for ip_check functions

7 years agoSAT>IP server: show correct IP in RTSP messages for NAT
Jaroslav Kysela [Tue, 21 Nov 2017 08:08:03 +0000 (09:08 +0100)] 
SAT>IP server: show correct IP in RTSP messages for NAT

From: Mono Polimorph

7 years agodescrambler: add DS_FATAL state, handle better TSS_NO_DESCRAMBLER flag
Jaroslav Kysela [Tue, 21 Nov 2017 07:40:18 +0000 (08:40 +0100)] 
descrambler: add DS_FATAL state, handle better TSS_NO_DESCRAMBLER flag

7 years agodvbcam: ddci - fixes in CAT callback
Jaroslav Kysela [Tue, 21 Nov 2017 06:59:16 +0000 (07:59 +0100)] 
dvbcam: ddci - fixes in CAT callback

7 years agompegts: fix mpegts_input_cat_pass_callback - remove caids
Jaroslav Kysela [Tue, 21 Nov 2017 06:54:19 +0000 (07:54 +0100)] 
mpegts: fix mpegts_input_cat_pass_callback - remove caids

7 years agodvbcam: use better check for the concurrent service decoding
Jaroslav Kysela [Mon, 20 Nov 2017 16:21:52 +0000 (17:21 +0100)] 
dvbcam: use better check for the concurrent service decoding

7 years agodvbcam: do not set TSS_NO_DESCRAMBLER flag, it breaks other caclients
Jaroslav Kysela [Mon, 20 Nov 2017 16:09:47 +0000 (17:09 +0100)] 
dvbcam: do not set TSS_NO_DESCRAMBLER flag, it breaks other caclients

7 years agoservice: rebuild shared PCR 'stream' on load, too
Jaroslav Kysela [Mon, 20 Nov 2017 15:15:17 +0000 (16:15 +0100)] 
service: rebuild shared PCR 'stream' on load, too

7 years agoservice dialog: filter our PCR streams (dup), print CAIDs for CAT type, too
Jaroslav Kysela [Mon, 20 Nov 2017 15:11:43 +0000 (16:11 +0100)] 
service dialog: filter our PCR streams (dup), print CAIDs for CAT type, too

7 years agotsdemux: fix the wrong PAT/PMT/EIT filter (commit 52afeb68b23cfc611aade4b66a0a0d3dd51...
Jaroslav Kysela [Mon, 20 Nov 2017 15:05:19 +0000 (16:05 +0100)] 
tsdemux: fix the wrong PAT/PMT/EIT filter (commit 52afeb68b23cfc611aade4b66a0a0d3dd51ee753)

7 years agodvbcam: try to put back the service limit (now per one CAM)
Jaroslav Kysela [Mon, 20 Nov 2017 14:16:04 +0000 (15:16 +0100)] 
dvbcam: try to put back the service limit (now per one CAM)

7 years agodvbcam: ddci - reimplement end: label correctly
Jaroslav Kysela [Mon, 20 Nov 2017 14:09:21 +0000 (15:09 +0100)] 
dvbcam: ddci - reimplement end: label correctly

7 years agodvbcam: ddci - use cac_cat_update callback instead monitor for all EMM PIDs
Jaroslav Kysela [Mon, 20 Nov 2017 14:07:36 +0000 (15:07 +0100)] 
dvbcam: ddci - use cac_cat_update callback instead monitor for all EMM PIDs

7 years agodescrambler: remove redundant code in descrambler_cat_data()
Jaroslav Kysela [Mon, 20 Nov 2017 13:58:11 +0000 (14:58 +0100)] 
descrambler: remove redundant code in descrambler_cat_data()

7 years agocaclient: add caclient_cat_update() function (and callback)
Jaroslav Kysela [Mon, 20 Nov 2017 09:32:08 +0000 (10:32 +0100)] 
caclient: add caclient_cat_update() function (and callback)

7 years agodvbcam: ddci - use mpegts_apids_t instead own implementation for ECM PIDs
Jaroslav Kysela [Mon, 20 Nov 2017 09:31:36 +0000 (10:31 +0100)] 
dvbcam: ddci - use mpegts_apids_t instead own implementation for ECM PIDs

7 years agoFixed compilation with disabled DD CI support
Jasmin Jessich [Mon, 20 Nov 2017 00:30:30 +0000 (01:30 +0100)] 
Fixed compilation with disabled DD CI support

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
7 years agoAdded ECM PIDs subscribing
Jasmin Jessich [Sat, 18 Nov 2017 01:38:51 +0000 (02:38 +0100)] 
Added ECM PIDs subscribing

- dvbcam_service_start can be now executed repeatedly. This happens due to
  PMT changes (e.g.: CA descriptor change).
- Limit check in dvbcam removed, because this needs to be done per CAM.
- Currently 16 ECM PIDs can be stored.
- CAID change handler is still missing.

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
7 years agoRemove mpegts_input_open_service_pid
Jasmin Jessich [Sun, 19 Nov 2017 23:20:10 +0000 (00:20 +0100)] 
Remove mpegts_input_open_service_pid

- When dvbcam_service_start is executed the first time c->pid is 0.
  dvbcam_service_start is not executed a second time, so it makes
  no sense to subscribe the PAT for the CAM.

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
7 years agompegts: cat monitor - manage correctly EMM PID list
Jaroslav Kysela [Sat, 18 Nov 2017 17:11:00 +0000 (18:11 +0100)] 
mpegts: cat monitor - manage correctly EMM PID list

7 years agodvbcam: ddci - open cat monitor outside mutexes
Jaroslav Kysela [Sat, 18 Nov 2017 07:54:51 +0000 (08:54 +0100)] 
dvbcam: ddci - open cat monitor outside mutexes

7 years agodvbcam: open also CAT PID for streaming
Jaroslav Kysela [Fri, 17 Nov 2017 18:11:23 +0000 (19:11 +0100)] 
dvbcam: open also CAT PID for streaming

7 years agompegts: add mpegts_input_open_cat_monitor() for ddci
Jaroslav Kysela [Fri, 17 Nov 2017 17:54:55 +0000 (18:54 +0100)] 
mpegts: add mpegts_input_open_cat_monitor() for ddci

7 years agoapi: Add api convenience call for renaming channels. (#4715).
E.Smith [Thu, 16 Nov 2017 11:20:52 +0000 (11:20 +0000)] 
api: Add api convenience call for renaming channels. (#4715).

Add a convenience function for users to rename all channels
that match a particular name. Previously the caller needed
to parse an api/channel/list, extract each channel that
matched the name and then issue an idnode/save for the nodes.

This change allows people to easily fixup their names such as
updating channels that are broadcast with a lowercase name
(and so sort to the end of the list in many UIs); or prefixing
the channels with identifiers. Since the server does the channel
name lookup, it allows non-programmers to issue simple renames
from a script.

curl http://l:9981/api/channel/rename --data-urlencode 'from=dave' --data-urlencode 'to=Dave'

Issue: #4715.

7 years agochannel: Allow HD/UHD suffix on channels to be stripped. (#4715)
E.Smith [Wed, 15 Nov 2017 23:42:10 +0000 (23:42 +0000)] 
channel: Allow HD/UHD suffix on channels to be stripped. (#4715)

Issue: #4715.

7 years agoStrip trailing UHD when making fuzzy match name (#4709)
E.Smith [Wed, 15 Nov 2017 22:07:09 +0000 (22:07 +0000)] 
Strip trailing UHD when making fuzzy match name (#4709)

Issue: #4709.