Adam Sutton [Thu, 27 Dec 2012 00:48:14 +0000 (00:48 +0000)]
Issue #1459 - fix removal of all autorec recordings on startup
There were 2 issues here:
- recent changes meant that recordings were purged on every startup
- long standing issue meant complete recordings were removed on
removal of an autorec rule (which I don't think was intended).
Adam Sutton [Thu, 20 Dec 2012 21:38:20 +0000 (21:38 +0000)]
Fix #1427 - webui: Added reverse proxy support.
This includes a next webroot command line argument (using -W) and
some minor mods to the core HTTP/WebUI code to support this. Most
of the mods are pretty trivial and hopefully nothing will break
too badly.
Adam Sutton [Tue, 4 Dec 2012 20:13:16 +0000 (20:13 +0000)]
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.
Adam Sutton [Wed, 28 Nov 2012 11:19:44 +0000 (11:19 +0000)]
[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.
Alain Kalker [Sat, 11 Feb 2012 16:35:03 +0000 (17:35 +0100)]
[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.
Andrew White [Sun, 25 Nov 2012 22:11:51 +0000 (02:11 +0400)]
[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.
[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
Adam Sutton [Mon, 5 Nov 2012 10:13:24 +0000 (10:13 +0000)]
Fix #1377 - check for EOVERFLOW when reading from DVB device.
This can be returned as a result of a failure to read quickly enough from
the DVR device. This appears to happen quite regularly on channel zap for
certain cards. It's non-fatal and the system will auto recover immediately.
For now I've left the exit on other error in, but have added an error
message so we know its happening (the biggest problem was this was happening
silently before).
This may also relate to #1134, so might be worth back porting to 3.2.
Adam Sutton [Wed, 31 Oct 2012 13:40:35 +0000 (13:40 +0000)]
Refs #1355, Refs #1356 - Fix problem with DVR dup detect.
I have completely removed global duplicate detection at this stage until
such time as I can do things properly. This means a user can ALWAYS manually
override and force a recording of a show.
For now duplicate detection only exists within the context or a series
link. So it will only record the "first?" instance of a given episode in
a give series link.
This is still a bit of a hack until I provide the user with the ability
to control the configuration and implement all the hooks properly.
Adam Sutton [Wed, 31 Oct 2012 13:17:07 +0000 (13:17 +0000)]
Ref #1352 - check return value of setuid/setgid calls.
Also slightly changed the logic so its possible to fork as non-root, though
you must explicitly list your username and group with -u and -g as I do not
want to break built in defaults for compatibility.