Commit graph

2720 commits

Author SHA1 Message Date
Adam Sutton
7f394752c0 build: use AUTOBUILD_CONFIGURE_EXTRA in debian build rules. 2012-12-04 23:18:01 +00:00
Adam Sutton
563b8f8c51 Issue #1423 - ensure that XMLTV grabber search does not crash.
It appears that if paths are duplicated in the PATH env variable the
internal search algorithm failed to detect this and could crash due to
an assert in the internal modlue registration code.
2012-12-04 20:15:15 +00:00
Vuolter
aafd353d7a [PR-180] Fixed Sony CXD2820R identification for SNR enabling 2012-12-03 09:52:41 +00:00
Jernej Fijačko
5d2197c30f [PR-178] Close file pointer after the call to fb_size(fp) 2012-11-29 12:30:13 +00:00
Adam Sutton
44628138d4 Issue #1407 - forgot to strip unused escapes from ISO 6937. 2012-11-29 10:51:25 +00:00
Adam Sutton
8a48fe8214 Issue #1407 - skip unused ISO 8859 control codes.
This had the effect of placing unwanted spaces into various channel
names where the broadcaster was sending these control chars.

Thanks to Rene Herbrich for diagnosing this.
2012-11-29 09:57:20 +00:00
Adam Sutton
c1cb274c09 [PR-54] fix mistake in merging of the old PR code. 2012-11-28 19:46:27 +00:00
Adam Sutton
592a38f9f2 [PR-54] updated code from the PR to be optional.
I have decided to include this as there is some suggestion the performance
will be better on ARM (non-x86) processors where we currently have no
optimised code.
2012-11-28 11:32:15 +00:00
Alain Kalker
7c1819ba92 [PR-54] Switch to libdvbcsa: update code word client and campt
As libdvbcsa works on packet payloads instead of full packets, I borrowed
the packet inspection code from FFdecsa.

Tested and found working with Irdeto2 CA system and OSCam's NewCamd emulation.

As the capmt code doesn't use key change notification, there might be a race
between key updates and decryption, when there is undecrypted data batched up.
This has not been tested yet, as I don't have a capmt cardserver.
2012-11-28 11:20:19 +00:00
Adam Sutton
303313a82f support: minor addition to the configure.inc script for cc lib checking. 2012-11-28 11:20:19 +00:00
Andrew White
88067f869e [PR-177] Added preferred CA pid support
Added prefrerred CA pid field in user interface and use field value to store ECM only from stream which is answer ok. Field could be refreshed by program or manually.
2012-11-28 09:49:33 +00:00
Adam Sutton
c3d3b3d807 dvb: updated adapter code to use th_pipe_t 2012-11-28 09:43:14 +00:00
Adam Sutton
517d01378a util: Added new tvh_pipe() helper routine. 2012-11-28 09:43:14 +00:00
Adam Sutton
fa6d71a719 rawts: Remove debug. 2012-11-28 09:43:13 +00:00
Adam Sutton
41f1c671f0 util: Add util function to remove an entire directory tree (dangerous?). 2012-11-28 09:43:13 +00:00
Adam Sutton
6254fb5622 util: Added a generic makedirs replacement for the 2 diff implementations. 2012-11-28 09:43:13 +00:00
Adam Sutton
8ff12894aa xmltv: was incorrectly blocking symlinked scripts. 2012-11-28 09:43:13 +00:00
John Törnblom
95134ddbb5 log aspect ratio of recordings 2012-11-27 12:16:56 +01:00
John Törnblom
575f516ad5 if reconfiguration of the muxer fails, restart recording to a new file 2012-11-27 12:16:43 +01:00
John Törnblom
d9b9b26fd9 fix bug where recording stopped when the stream was reconfigured 2012-11-27 12:14:40 +01:00
John Törnblom
bf59755681 make sure pvr muxer is freed 2012-11-27 12:14:24 +01:00
Adam Sutton
459bf3fd50 Re-apply previous fix to JSON escape processing required by opentv config files. 2012-11-21 21:34:31 +00:00
Adam Sutton
e74f53574c Fix #1397 - only load adapter config if tab is enabled. 2012-11-20 22:02:00 +00:00
Andreas Öman
e16707bef7 Display SNR (in dB) in status tab
But only for adapters we know that support it
2012-11-19 15:24:39 +01:00
Andreas Öman
44dd4042a9 dvb/fe: Use double for uncorrected bits average 2012-11-19 14:50:16 +01:00
Andreas Öman
54bc22cd5e Fix linking issue 2012-11-19 14:50:16 +01:00
Andreas Öman
01db78aea0 Upgrade htsmsg code from Showtime's codebase
We do this to get access to floating point in JSON
2012-11-19 14:50:16 +01:00
Andreas Öman
5a07328a9a HTPS: Maintain a global list of HTSP connections
This is useful for post mortem debugging
2012-11-19 14:46:50 +01:00
Andreas Öman
be20dd6488 HTSP: seems writer must deal with EAGAIN and EWOULDBLOCK 2012-11-19 14:46:50 +01:00
John Törnblom
70f0801c9b make sure the default file descriptor for the matroska muxer is an invalid one, not stdout. 2012-11-17 15:35:40 +01:00
John Törnblom
34ff0c20db make sure the recording has been started correctly before atempting to write packets to the muxer. 2012-11-17 15:34:12 +01:00
John Törnblom
442d695445 make sure the default file descriptor for the passthrough muxer is an invalid one, not stdout. 2012-11-17 15:34:03 +01:00
Adam Sutton
777e4108b9 webui: Fix mistake in previous update to iptv.js 2012-11-17 12:44:35 +00:00
John Törnblom
ed5d7e4977 make sure there is metadata available before atempting to mux it with a recording 2012-11-16 16:27:29 +01:00
Adam Sutton
249b4c1d0f htsp: fix mistakes in fileSeek handler 2012-11-16 11:06:46 +00:00
Mariusz Bialonczyk
7943c8b684 [PR-175] capmt: add support for on-demand sockets per service id
This commit fixes simultaneous channel decryption in capmt oscam mode.
Initial channel PMT data and PMT updates are sent to oscam via different
capmt socket connections (a socket is created per channel SID).
OScam is stopping decrypting when the socket is closed.

More details in this thread:
http://www.streamboard.tv/wbb2/thread.php?threadid=33323

Thanks to @posixx for days of testing :)
2012-11-15 17:05:45 +00:00
Mariusz Bialonczyk
3de3fe191a [PR-175] capmt: ignoring removal requests, fix segfault 2012-11-15 17:05:45 +00:00
Adam Sutton
02e95bcd25 htsp: Provide recording path relative to dvr storage path.
This can be useful clients to build recording (folder) hierarchy such
as supported by XBMC.
2012-11-15 17:05:14 +00:00
Adam Sutton
3b475ee66d htsp: some re-structuring and additons to HTSP file support. 2012-11-15 17:05:11 +00:00
Adam Sutton
e529c1d2d6 htsp: bump version to 7 for 3.4 release. 2012-11-15 17:05:05 +00:00
Andreas Öman
2990888509 dvb: Include signal status in adapter_msg if we are tuned 2012-11-15 16:54:06 +01:00
Andreas Öman
dfc924fc35 Display per-adapter status information in the Status tab in UI 2012-11-15 16:41:05 +01:00
Andreas Öman
a63d4ad9fd dvb: Actually set tdmi_uncorrected_blocks to FEC rate 2012-11-15 14:08:41 +01:00
Andreas Öman
36d097232e HTSP: Use lseek() + read() instead of pread()
Does not build out-of-the-box on lucid otherwise
2012-11-15 13:25:23 +01:00
Andreas Öman
890acb780c HTSP: Add option to serve files over HTSP
Currently this is only used to serve recorded files
2012-11-15 13:20:52 +01:00
Andreas Öman
99e6f4bd4f Add tvh_strbegins() helper 2012-11-15 13:20:52 +01:00
Adam Sutton
c05f93da53 Issue #1393 - minor aesthetic change, remove trailing slash from user config DVR directory. 2012-11-14 19:49:55 +00:00
Adam Sutton
254872a8f8 Issue #1369 - move iptv service type store inside main tab function else it causes a 401 error for non-admin UI users. 2012-11-14 19:49:55 +00:00
John Törnblom
fd6f813d83 fix 'use after free' of the htsp logname when the connection to the client is lost. 2012-11-14 11:00:50 +01:00
John Törnblom
fcaf92e1ab Merge remote-tracking branch 'upstream/master' 2012-11-08 21:35:09 +01:00