Commit graph

1773 commits

Author SHA1 Message Date
Andreas Öman
8f9ac9040e htsp: Remove the broken signal status updates (causing crashes)
htsp->hs_s may only be accessed if global_lock is held and obtaining
global_lock in HTSP delivery code is not acceptable as it can take
a long time to acquire that lock

Fixes #1029
2012-06-08 07:56:38 +02:00
Andreas Öman
fc10a54211 Update Autobuild stuff 2012-06-03 11:14:09 +02:00
Andreas Öman
79c1b4904b htsp: Add missing lock when flushing HTSP output queue
Fixes #996
2012-06-03 10:56:03 +02:00
Andreas Öman
f3f3b696bf Merge pull request #91 from adamsutton/master
missing free and DVBS delsys issue
2012-05-25 09:47:09 -07:00
Adam Sutton
b29b6eb823 Added missing free() call to DVR code. 2012-05-25 16:20:57 +01:00
Andreas Öman
5c1c3b804c Merge pull request #90 from rkunze/iconv-embedded
Add support for systems without sufficient iconv implementations (e.g. OpenWRT)
2012-05-19 00:40:31 -07:00
Richard Kunze
7f34935eb1 Always use the builtin charset conversion 2012-05-18 22:44:26 +02:00
Richard Kunze
99240bdcca remove unused include of iconv.h 2012-05-14 20:51:39 +02:00
Richard Kunze
81e107ecb7 Add builtin charset conversion for systems without sufficient iconv support. Enable with './configure --enable-dvbconv' 2012-05-14 20:51:29 +02:00
Richard Kunze
737115be4c Use "ISO-8859-%d" instead of "ISO_8859-%d" in dvb_iconv_open().
Both GNU libiconv and the minimal iconv implementation in OpenWRT
support the "ISO-8859-*" form for at least some of the encodings
in the ISO 8859 family, but not the "ISO_8859-*" form.

GNU libc supports both forms, so this change does not break
anything when compiling against GNU libc.
2012-05-14 20:51:20 +02:00
Adam Sutton
4ca5dda14a Remove define that breaks build. 2012-05-11 14:51:27 +01:00
Andreas Öman
0e3bb41869 Avoid division by zero 2012-05-05 22:16:14 +02:00
Andreas Öman
78213a0c32 Merge pull request #88 from gfto/bulcrypt
cwc: Add Bulcrypt support.
2012-04-20 11:11:46 -07:00
Georgi Chorbadzhiyski
3777a07289 cwc: Add Bulcrypt support. 2012-04-20 18:04:43 +03:00
Andreas Öman
cfa65b2a6f Merge pull request #85 from perexg/fixes-emm
Another four patches to handle EMM/ECM issues, cleanups
2012-04-14 11:25:24 -07:00
Andreas Öman
7d555a2c81 Merge pull request #86 from wader/patch-1
Update README
2012-04-14 11:24:15 -07:00
Jaroslav Kysela
c8af1f21d4 cwc: do not send ECM requests when NOKs are received
Do not send ECM requests to the card reader when ECMs cannot be read.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2012-04-13 09:05:00 +02:00
Mattias Wadman
91f98a2850 Update README 2012-04-13 00:45:18 +03:00
Jaroslav Kysela
e5eef814f2 cwc: Use hostname:port notation in log messages
Show all cwc connection information to users.
Multiple card readers can be configured on same IP but different ports.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2012-04-12 14:47:59 +02:00
Jaroslav Kysela
39d1600bf9 cwc: Use only one fastest ECM reader
Use only one - fastest - ECM reader when multiple CA readers/cards are
available for one program.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2012-04-12 14:47:57 +02:00
Andreas Öman
ff57db5d82 Bump 2012-04-10 21:18:46 +02:00
Andreas Öman
da053d7c29 Cleanup the debian/ directory and make it use more dh scripts and add entry points for Autobuild system 2012-04-10 21:15:57 +02:00
Jaroslav Kysela
84842c951c cwc: Allow updating of EMMs only from one channel at a time
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2012-04-10 20:57:35 +02:00
Jaroslav Kysela
98dd35342f cwc: Use "per stream" update id for Cryptoworks and Viaccess CA composed emms
This fixes possible shared EMM messages composing issues when multiple
streams are sending EMMs to the card reader. Just make sure, that both
parts of compose messages are from one "stream".

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2012-04-10 20:57:33 +02:00
Andreas Öman
00378579ed Rework file bundling and make configure take most standard args
Now ./configure should be able to be correctly invoked from standard
debian helper rules file
2012-04-10 20:51:09 +02:00
Andreas Öman
e226ec3ed7 build: Don't use OBJDIR, instead mkdir in each recipe 2012-04-10 20:18:05 +02:00
Andreas Öman
0f7689099a Fix the way we generate version tags inside the binary 2012-04-10 20:14:48 +02:00
Andreas Öman
7604e83047 Merge pull request #69 from perexg/fixes-dvrallcfg
Allow restriction for one DVR configuration mapped to one user
2012-04-10 10:39:32 -07:00
Andreas Öman
7dcf7d15f0 Merge pull request #70 from perexg/fixes-mux-copy
Improve copy operation for satellite muxes - allow specify the dst LNB cfg
2012-04-10 10:38:57 -07:00
Andreas Öman
5777a1fe30 Merge pull request #84 from perexg/fixes-emm
cwc: improve EMM handling for multiple readers with same CAS system
2012-04-10 10:29:34 -07:00
Andreas Öman
6c1c0aa9b0 Merge pull request #83 from perexg/fixes-cryptoworks
cwc: Add EMM support for the Cryptoworks system
2012-04-10 10:28:53 -07:00
Jaroslav Kysela
30eb130fc1 cwc: Cryptoworks - removed debug lines introduced in last commit 2012-04-10 14:39:45 +02:00
Jaroslav Kysela
a06ee6d175 cwc: Cryptoworks - re-compose the EMM-S (shared) messages
The newcamd server expects composed EMM-S messages from 0x84 (EMM-SH)
and 0x84 (EMM-SB).

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2012-04-10 14:35:28 +02:00
Jaroslav Kysela
a9bb7c3106 cwc: improve EMM handling for multiple readers with same CAS system
Add CAID filter to identify the correct reader for EMM messages. Previous
code sent all EMMs to all readers with different CAIDs but same CAS system.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2012-04-10 11:25:40 +02:00
Jaroslav Kysela
da4c28b981 cwc: Add EMM support for the Cryptoworks system
Add initial EMM support for Cryptoworks. Also add Irdeto CAID numbers
for Czech providers to the src/psi.c table.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2012-04-10 10:30:17 +02:00
Andreas Öman
acf35abca2 Merge pull request #82 from fmeerkoetter/clang_cleanup
Cleanup warnings reported by clang
2012-04-01 13:32:22 -07:00
Frank Meerkötter
dc3bbe1c23 fix warning about unused variable 2012-04-01 00:02:36 +02:00
Frank Meerkötter
8d65d26893 fix "comparison of unsigned expression < 0 is always false" 2012-03-31 23:45:40 +02:00
Frank Meerkötter
05fa4d341a fix pointless self-assign 2012-03-31 23:44:40 +02:00
Andreas Öman
78e88f62c5 Merge pull request #81 from stefansaraev/cadescr-4aee
fix ca descr parsing for caid 4aee
2012-03-30 13:04:40 -07:00
Stefan Saraev
ce1477cfc4 fix ca descr parsing for caid 4aee 2012-03-29 21:20:55 +03:00
Jaroslav Kysela
dc74a18b28 Javascript fix the improved mux-copy operation. The previous version
did not work with the DVB-T tuners (without satconf).

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2012-03-26 10:53:43 +02:00
Jaroslav Kysela
6097dcd6d1 Fix crash when cfg->dvr_config_name is NULL (default config)
As suggested by opdenkamp - the cfg->dvr_config_name may be NULL
in some cases. Add more restrictive checks in extjs_dvr() .

This patch fixes the second location for the user check.
2012-03-21 09:34:23 +01:00
Jaroslav Kysela
e4b88cfc39 Fix crash when cfg->dvr_config_name is NULL (default config)
As suggested by opdenkamp - the cfg->dvr_config_name may be NULL
in some cases. Add more restrictive checks in extjs_dvr() .
2012-03-21 09:31:33 +01:00
Andreas Öman
85e23bb4cb Merge pull request #79 from perexg/fixes-dvbtables
dvb_tables: fix extended event parsing
2012-03-20 12:57:27 -07:00
Jaroslav Kysela
f5ceace980 dvb_tables: fix extended event parsing
The ext_desc / ext_item strings are just copied without language handling.
This patch uses standard dvb_get_string_with_len() function. It's safer
and the language conversions are handled correctly.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2012-03-20 19:58:23 +01:00
Andreas Öman
2ae9425253 Merge pull request #78 from john-tornblom/subtitle_comhem_fixes
Subtitle fixes (comhem)
2012-03-19 13:36:59 -07:00
John Törnblom
afc6029beb fix subtitle issues on comhem. Sometimes the subtitles would get stuck on the screen, sometimes only half of them delivered to the client. 2012-03-18 23:02:51 +01:00
John Törnblom
ca1bf59182 Merge remote branch 'upstream/master' into upstream 2012-03-14 07:45:33 +01:00
Andreas Öman
a76f365a60 Merge pull request #74 from john-tornblom/streaming_mkv_fixes
Streaming mkv fixes
2012-03-13 19:52:50 -07:00