]> git.ipfire.org Git - thirdparty/tvheadend.git/log
thirdparty/tvheadend.git
7 years agocapmt: the enigma2-like descriptors have limit for 8 adapters, use pc-type descriptor...
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

7 years agoen50221: capmt - fix the wrong TPDU length (write), issue #4799
Jaroslav Kysela [Mon, 18 Dec 2017 08:55:37 +0000 (09:55 +0100)] 
en50221: capmt - fix the wrong TPDU length (write), issue #4799

7 years agoepggrab: rename data thread to epgdata
Jaroslav Kysela [Mon, 18 Dec 2017 08:46:41 +0000 (09:46 +0100)] 
epggrab: rename data thread to epgdata

7 years agoxmltv: Use epggrab_module_int_t instead of ext_t. (#3753).
E.Smith [Tue, 21 Nov 2017 11:03:13 +0000 (11:03 +0000)] 
xmltv: Use epggrab_module_int_t instead of ext_t. (#3753).

The epggrab_module_ext_t derives from the epggrab_module_int_t
so we should really use the epggrab_module_int_t to make it
clearer that the fields are in the base class.

Issue: #3753.

7 years agoxmltv: Optionally disable mapping category to genre. (#3753).
E.Smith [Mon, 20 Nov 2017 22:36:43 +0000 (22:36 +0000)] 
xmltv: Optionally disable mapping category to genre. (#3753).

Allow user to disable mapping from xmltv to genre. The mapping
is imprecise and often has numerous categories not mapped.
By not mapping to genres, some GUIs can pass through the
category instead.

Issue: #3753.

7 years agoeit: allow to handle running state immediatelly on request only
Jaroslav Kysela [Mon, 18 Dec 2017 08:38:56 +0000 (09:38 +0100)] 
eit: allow to handle running state immediatelly on request only

7 years agoepggrab: ota_create - pass the idclass to make things more configurable
Jaroslav Kysela [Mon, 18 Dec 2017 08:23:12 +0000 (09:23 +0100)] 
epggrab: ota_create - pass the idclass to make things more configurable

7 years agoeit: handle the running status immediately
Jaroslav Kysela [Mon, 18 Dec 2017 08:16:56 +0000 (09:16 +0100)] 
eit: handle the running status immediately

7 years agoepggrab, eit: fixes for the last changes, it's working now
Jaroslav Kysela [Sun, 17 Dec 2017 18:14:17 +0000 (19:14 +0100)] 
epggrab, eit: fixes for the last changes, it's working now

7 years agoepggrab: add memory info support for data queue
Jaroslav Kysela [Sun, 17 Dec 2017 17:45:09 +0000 (18:45 +0100)] 
epggrab: add memory info support for data queue

7 years agoepggrab: fixes for latest changes (unitialized tailq, wrong condition variable)
Jaroslav Kysela [Sun, 17 Dec 2017 17:37:21 +0000 (18:37 +0100)] 
epggrab: fixes for latest changes (unitialized tailq, wrong condition variable)

7 years agoeit: move the regex scraping completely outside global lock
Jaroslav Kysela [Sat, 16 Dec 2017 20:01:57 +0000 (21:01 +0100)] 
eit: move the regex scraping completely outside global lock

7 years agoeit grabber: recode to move parsing outside global_lock
Jaroslav Kysela [Sat, 16 Dec 2017 18:55:06 +0000 (19:55 +0100)] 
eit grabber: recode to move parsing outside global_lock

7 years agoepggrab: fix obvious crash
Jaroslav Kysela [Fri, 15 Dec 2017 22:15:34 +0000 (23:15 +0100)] 
epggrab: fix obvious crash

7 years agoopentv: move the events processing to epggrab thread
Jaroslav Kysela [Fri, 15 Dec 2017 16:54:09 +0000 (17:54 +0100)] 
opentv: move the events processing to epggrab thread

7 years agotry to fix find_by_identifier mess
Jaroslav Kysela [Fri, 15 Dec 2017 16:41:45 +0000 (17:41 +0100)] 
try to fix find_by_identifier mess

7 years agoepggrab: remove unused epggrab_resched()
Jaroslav Kysela [Fri, 15 Dec 2017 16:34:44 +0000 (17:34 +0100)] 
epggrab: remove unused epggrab_resched()

7 years agoepggrab: create a new thread to process OTA events
Jaroslav Kysela [Fri, 15 Dec 2017 16:32:54 +0000 (17:32 +0100)] 
epggrab: create a new thread to process OTA events

7 years agoen50221: capmt - fix the pid filter, fix pid dump
Jaroslav Kysela [Sun, 17 Dec 2017 17:02:58 +0000 (18:02 +0100)] 
en50221: capmt - fix the pid filter, fix pid dump

7 years agouuid: extend bin2hex (return dst)
Jaroslav Kysela [Sun, 17 Dec 2017 17:02:43 +0000 (18:02 +0100)] 
uuid: extend bin2hex (return dst)

7 years agodescrambler: capmt - follow enigma2 way to build the capmt descriptor, 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

7 years agodescrambler: capmt - try to handle PAT pid (zero) more correctly, issue #4794
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

7 years agoDVR: rec - add more logging (running and muxing state)
Jaroslav Kysela [Thu, 14 Dec 2017 10:51:45 +0000 (11:51 +0100)] 
DVR: rec - add more logging (running and muxing state)

7 years agoDVR: reshuffle some log code
Jaroslav Kysela [Thu, 14 Dec 2017 10:28:37 +0000 (11:28 +0100)] 
DVR: reshuffle some log code

7 years agomdhelp: even more help refresh - I'm starting to run out of commit messages ;)
mpmc [Mon, 4 Dec 2017 15:27:18 +0000 (15:27 +0000)] 
mdhelp: even more help refresh - I'm starting to run out of commit messages ;)

7 years agomdhelp: more refresh
mpmc [Sun, 3 Dec 2017 21:26:04 +0000 (21:26 +0000)] 
mdhelp: more refresh

7 years agomdhelp: more help tweaks webui: add toolbar and "back to top" button to help window
mpmc [Mon, 20 Nov 2017 17:19:38 +0000 (17:19 +0000)] 
mdhelp: more help tweaks webui: add toolbar and "back to top" button to help window

7 years agomdhelp: another round of WIP changes & cleanups
Mark Clarkstone [Tue, 17 Oct 2017 10:00:22 +0000 (11:00 +0100)] 
mdhelp: another round of WIP changes & cleanups

7 years agomdhelp: merge many of the docs into one file, use the include tags (a lot more),...
Mark Clarkstone [Fri, 22 Sep 2017 11:13:57 +0000 (12:13 +0100)] 
mdhelp: merge many of the docs into one file, use the include tags (a lot more), and update many others.

7 years agoeit: Add optional 2nd match subexpression for subtitle (#4791)
Jim Hague [Wed, 13 Dec 2017 21:37:00 +0000 (21:37 +0000)] 
eit: Add optional 2nd match subexpression for subtitle (#4791)

If the regex for the subtitle contains a second subexpression, and a
match is made, use the first subexpression for the subtitle and replace
the summary with the second subexpression.

For example, a UK Freeview subtitle regex might choose, when matching a
summary 'Subtitle: Text', to set the subtitle to 'Subtitle' and set the
summary to 'Text' to avoid repetition of the subtitle.

Update the scraper test script to support a test field 'new_summary'. As
the 'uk' scraper does not include any second subexpressions, do not
update the test data for now.

Issue: #4791

7 years agoen50221: use own en50221 code which replaces liben50221 from dvb-apps, fixes #4738
Jaroslav Kysela [Thu, 14 Dec 2017 07:09:49 +0000 (08:09 +0100)] 
en50221: use own en50221 code which replaces liben50221 from dvb-apps, fixes #4738

7 years agoeit: Allow empty match subexpressions (#4787)
Jim Hague [Tue, 12 Dec 2017 21:08:29 +0000 (21:08 +0000)] 
eit: Allow empty match subexpressions (#4787)

If a scrape regex includes a subexpression matching the null string (),
this match is treated as if the regex did not match.
Amend this to return an empty string as the match; this is plainly what
the regex author wanted.

As an example of why this might be wanted, consider the UK Freeview
extraction of a subtitle from the summary. A user might wish to specify
the subtitle is left blank if not obvious  subtitle is present in the
summary.

Issue: #4787.

7 years agoiptv: do the bandwidth check per network properly
Jaroslav Kysela [Wed, 13 Dec 2017 16:14:30 +0000 (17:14 +0100)] 
iptv: do the bandwidth check per network properly

7 years agowebui: try to fix multiple save requests
Jaroslav Kysela [Wed, 13 Dec 2017 13:44:26 +0000 (14:44 +0100)] 
webui: try to fix multiple save requests

7 years agoddci: remove useless retyping
Jaroslav Kysela [Wed, 13 Dec 2017 11:46:35 +0000 (12:46 +0100)] 
ddci: remove useless retyping

7 years agocapmt: fix another crash introduced with the ok timer code, fixes #4783
Jaroslav Kysela [Tue, 12 Dec 2017 14:37:15 +0000 (15:37 +0100)] 
capmt: fix another crash introduced with the ok timer code, fixes #4783

7 years agoui: Add tickbox for 'new programmes only'. (#1167).
E.Smith [Tue, 5 Dec 2017 02:07:01 +0000 (02:07 +0000)] 
ui: Add tickbox for 'new programmes only'. (#1167).

Issue: #1167.

7 years agodvr: Add autorec for new-only. (#1167).
E.Smith [Tue, 5 Dec 2017 16:43:52 +0000 (16:43 +0000)] 
dvr: Add autorec for new-only. (#1167).

Previously we had "all", "new/unknown", and "repeat", but
no ability to only record episodes marked as "new". So we
rename DVR_AUTOREC_BTYPE_NEW to DVR_AUTOREC_BTYPE_NEW_OR_UNKNOWN
to remain backward compatibility with existing autorec
rules and add new semantics for DVR_AUTOREC_BTYPE_NEW.

We don't update htsp since it currently does not send the
broadcast type field.

Also alter DVR_AUTOREC_BTYPE_NEW_OR_UNKNOWN since
previously we never checked 'new' but instead checked 'repeat'.
However, SD has a previously-shown for all programmes (even first
showings) which causes us to mark programmes as repeat.

It is difficult to fix the repeat logic without breaking existing
behaviour since in the US a programme can be a premiere but have
a previously-shown of the previous day due to timezone differences
on the coasts. Similarly, programmes can be premiere outside the US
but have a previously shown date from the US or from a different channel.
For that reason we now check 'new' instead of 'repeat'.

Real example: Programme is shown on channel A at 9pm and on A+1 timeshift
channel at 10pm. Both are marked as "new" in the paper/OTA tv guide. However,
the programme was actually first shown three years ago on a premium
channel, so it's actually also a repeat since it has been shown before.
So the programme is both a new episode and a repeat episode.

Similarly, one of my tv channel insists Roger Moore Bond films from the
1970s are "new" even though most people would consider them a repeat,
but since it's the first time that particular channel has aired it
they use the "new" tag.

Issue: #1167.

7 years agoui: Allow filtering/autorec from EPG by category. (#4777).
E.Smith [Tue, 5 Dec 2017 20:11:10 +0000 (20:11 +0000)] 
ui: Allow filtering/autorec from EPG by category. (#4777).

If we have categories on the server (from xmltv) then
we create a second toolbar on the EPG and add filters for
filtering by category. These are then included in the
autorec rule created from the EPG.

We use a second toolbar since the primary toolbar is a
too cramped to fit more search drop-down boxes.

Issue: #4777.

7 years agodvr: Fix autorec if it has a category but event has no category. (#4777).
E.Smith [Tue, 5 Dec 2017 20:09:30 +0000 (20:09 +0000)] 
dvr: Fix autorec if it has a category but event has no category. (#4777).

Although we use a drop-down list for autorec categories, if the
user has no categories enabled (such as OTA) and creates an autorec
with a category then it would match all events.

Now we fix it that events without a category can never match an
autorec with categories.

Issue: #4777.

7 years agoddci: remove wrong assert
Jaroslav Kysela [Sun, 10 Dec 2017 15:37:18 +0000 (16:37 +0100)] 
ddci: remove wrong assert

7 years agoRevert "tvhpoll: return correct fd in tvhpoll_wait() for linux's epoll"
Jaroslav Kysela [Sun, 10 Dec 2017 15:36:48 +0000 (16:36 +0100)] 
Revert "tvhpoll: return correct fd in tvhpoll_wait() for linux's epoll"

This reverts commit ac07ce1a26b5161a87f96a7e9c9fe020c06c5b25.

7 years agosbuf: try to fix musl compilation error, fixes #4778
Jaroslav Kysela [Sun, 10 Dec 2017 15:21:55 +0000 (16:21 +0100)] 
sbuf: try to fix musl compilation error, fixes #4778

7 years agocodacy: Fix couple of problems identified by codacy. (#4773).
E.Smith [Sat, 9 Dec 2017 16:48:49 +0000 (16:48 +0000)] 
codacy: Fix couple of problems identified by codacy. (#4773).

Fixed buffer overrun and redundant condition identied by codacy.

Issue: #4773.

7 years agotvhpoll: return correct fd in tvhpoll_wait() for linux's epoll
Jaroslav Kysela [Sun, 10 Dec 2017 14:55:14 +0000 (15:55 +0100)] 
tvhpoll: return correct fd in tvhpoll_wait() for linux's epoll

7 years agocomet: free queue later in comet_done(), fixes #4775
Jaroslav Kysela [Fri, 8 Dec 2017 12:09:14 +0000 (13:09 +0100)] 
comet: free queue later in comet_done(), fixes #4775

7 years agouuid: fix for uuid_set_add, uuid_set_free
Jaroslav Kysela [Fri, 8 Dec 2017 12:03:32 +0000 (13:03 +0100)] 
uuid: fix for uuid_set_add, uuid_set_free

7 years agodvbpsi: add more length sanity checks
Jaroslav Kysela [Fri, 8 Dec 2017 11:18:44 +0000 (12:18 +0100)] 
dvbpsi: add more length sanity checks

7 years agocomet: fix refcounting, fixes #4775
Jaroslav Kysela [Fri, 8 Dec 2017 11:08:10 +0000 (12:08 +0100)] 
comet: fix refcounting, fixes #4775

7 years agodvbpsi: add sanity checks to psi_desc_ca()
Jaroslav Kysela [Thu, 7 Dec 2017 14:28:33 +0000 (15:28 +0100)] 
dvbpsi: add sanity checks to psi_desc_ca()

7 years agoavahi: avahi_strdup should be freed with avahi_free. (#4773).
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.

7 years agoxmltv/core: Fix several memory leaks/make more const correct. (#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.

7 years agourl: another fix for urlrecompose (empty auth)
Jaroslav Kysela [Thu, 7 Dec 2017 14:00:20 +0000 (15:00 +0100)] 
url: another fix for urlrecompose (empty auth)

8 years agoidnode: add light notify functions, big get_title() cleanups
Jaroslav Kysela [Wed, 6 Dec 2017 10:11:59 +0000 (11:11 +0100)] 
idnode: add light notify functions, big get_title() cleanups

8 years agouuid: add basic uuid set functions
Jaroslav Kysela [Tue, 5 Dec 2017 20:06:24 +0000 (21:06 +0100)] 
uuid: add basic uuid set functions

8 years agoidnode: add idnode_find0() function
Jaroslav Kysela [Tue, 5 Dec 2017 19:46:15 +0000 (20:46 +0100)] 
idnode: add idnode_find0() function

8 years agouuid: master cleanups, store only in the binary format
Jaroslav Kysela [Tue, 5 Dec 2017 19:45:51 +0000 (20:45 +0100)] 
uuid: master cleanups, store only in the binary format

8 years agotvhpoll: big cleanups, add tvhpoll_add1 and tvhpoll_rem1 functions
Jaroslav Kysela [Tue, 5 Dec 2017 14:39:37 +0000 (15:39 +0100)] 
tvhpoll: big cleanups, add tvhpoll_add1 and tvhpoll_rem1 functions

8 years agoiptv auto: fix the wrong NULL url cmpid, fixes #4768
Jaroslav Kysela [Tue, 5 Dec 2017 13:35:06 +0000 (14:35 +0100)] 
iptv auto: fix the wrong NULL url cmpid, fixes #4768

8 years agourl: recompose fix auth + missing auth, fixes #4767
Jaroslav Kysela [Mon, 4 Dec 2017 21:52:46 +0000 (22:52 +0100)] 
url: recompose fix auth + missing auth, fixes #4767

8 years agodescrambler: fix another NULL dereference, fixes #4766
Jaroslav Kysela [Mon, 4 Dec 2017 21:47:48 +0000 (22:47 +0100)] 
descrambler: fix another NULL dereference, fixes #4766

8 years agomove sbuf definitions to sbuf.h
Jaroslav Kysela [Tue, 28 Nov 2017 16:53:16 +0000 (17:53 +0100)] 
move sbuf definitions to sbuf.h

8 years agodescramble: another non-scrambled TS packet handling fix, fixes #4759
Jaroslav Kysela [Sun, 3 Dec 2017 16:26:24 +0000 (17:26 +0100)] 
descramble: another non-scrambled TS packet handling fix, fixes #4759

8 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

8 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

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

8 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

8 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

8 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

8 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

8 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

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

8 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

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

8 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

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

8 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()

8 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

8 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

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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

8 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.

8 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.

8 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

8 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

8 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

8 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

8 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

8 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.

8 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.

8 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)

8 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

8 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>