Commit graph

2686 commits

Author SHA1 Message Date
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
Andreas Öman
683b0f9c8b HTSP: Plug possible memory leak at HTSP disconnect
If subscriber is slow we will leak memory because buffered packets
will not be free'd upon HTSP session close
2012-11-08 14:21:39 +01:00
Adam Sutton
03f7bc187b Tweak to the full mux configuration, all USB is now filtered mode by default. 2012-11-07 23:02:10 +00:00
Adam Sutton
ddad1d21dc Tarball generation script. 2012-11-07 11:40:40 +00:00
Adam Sutton
7a7f57072d Fix mistake in EPG episode numbering serialisation. 2012-11-07 10:45:58 +00:00
Andreas Öman
9338b9529e service: Plug memory leak 2012-11-07 09:29:33 +01:00
Andreas Öman
a2cf987afa subscriptions: Plug possible memleak 2012-11-07 09:29:33 +01:00
Andreas Öman
2ef7dac597 Plug memory leak 2012-11-06 12:49:06 +01:00
Andreas Öman
0d8d8a2da1 h264parser: Treat SPS and PPS id as unsigned
There is a change of crash otherwise if we get a corrupt bitstream
2012-11-05 14:48:20 +01:00
Andreas Öman
d5deb9d19d HTSP: Handle partial write()s 2012-11-05 13:05:52 +01:00
Adam Sutton
a9692b9514 Restructure dvb adapter init to cope with configuration that is needed before we can decide whether to use full mux mode or not. 2012-11-05 10:38:05 +00:00
Adam Sutton
8f44e28535 Minor formatting fix. 2012-11-05 10:17:34 +00:00
Adam Sutton
03ff972756 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.
2012-11-05 10:13:24 +00:00
John Törnblom
43d0814745 fixed a minor typo (mostly cosmetics) 2012-11-04 20:05:40 +01:00
John Törnblom
4515f5a2d1 fixed file suffix for pass-through recording 2012-11-01 13:49:54 +01:00
Adam Sutton
3cd6336314 Issue #1376 - add option to manually disable full mux rx.
It appears this mode can cause problems on some systems, particulary
related to USB tuners. Can cause high CPU load.
2012-10-31 17:29:42 +00:00
Tiago Pierezan Camargo
7367f713c1 [PR-173] Stype fix for NET POA Cabo network 2012-10-31 13:58:22 +00:00
Alexey I. Froloff
1334869bf0 [PR-172] Fix compilatioin issues on OpenWRT
Fix SHA1_* function names
Fix unused variables and functions
2012-10-31 13:58:18 +00:00
Adam Sutton
fbe2db0710 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.
2012-10-31 13:40:35 +00:00
Adam Sutton
31b1d5b57d Refs #1226 - remove block to creating empty channels. 2012-10-31 13:28:14 +00:00
Adam Sutton
a3a917cc29 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.
2012-10-31 13:18:46 +00:00
Adam Sutton
6b2429bad7 Fix mistake in dd_progid parsing. 2012-10-31 13:18:40 +00:00
Adam Sutton
d761985f3b Add protection to stop opentv crashing on bad title descriptor. Relates to #1367. 2012-10-30 17:28:10 +00:00
Adam Sutton
f83df17715 Added quantal and removed hardy from latest dev builds. 2012-10-30 17:28:09 +00:00
Andreas Öman
b1760d684f HTSP: Add possibility to subscribe to a channelName 2012-10-30 10:37:04 +01:00
Andreas Öman
2ac1b249df Don't pass uninitialized mem to epoll_ctl() 2012-10-30 10:36:43 +01:00
John Törnblom
aecded7c4e fix timing issues with rawtsinput (file input). 2012-10-27 19:14:39 +02:00
John Törnblom
174bc64c69 HTTP: make sure we don't send (and deref) packets before the mime type etc has been send 2012-10-25 19:37:34 +02:00
Andreas Öman
64b2e51c42 HTSP: Rename htsp.c to htsp_server.c 2012-10-25 13:25:06 +02:00
Andreas Öman
c8e56a2865 Plug some memory leaks 2012-10-25 13:06:55 +02:00
Andreas Öman
0bde079fda http: Let full mux dump use the normal straeming code
Fix some locking issues in the http streaming code
2012-10-25 13:06:55 +02:00
Andreas Öman
47049eaa21 dvb: Run adapters in full mux mode if we can 2012-10-25 13:06:05 +02:00
Andreas Öman
e3f4768e5c dvb: Stub the raw_setup() 2012-10-25 13:06:05 +02:00
Andreas Öman
9bf78ac405 dvb: For full mux streaming, send more than one TS block in each packet 2012-10-25 13:06:05 +02:00
Andreas Öman
4727974500 HTSP: Include video frame duration in streamingStart message 2012-10-25 13:06:05 +02:00