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