Commit graph

2761 commits

Author SHA1 Message Date
Adam Sutton
54ceb4ef00 Replace all use of write() with tvh_write().
tvh_write() will deal with incomplete/interrupted writes and will ensure
the write operation is completed unless a fatal error occurs.
2012-12-31 21:21:45 +00:00
Adam Sutton
993c2decb3 formatting: fix some indentation and remove deprecated function. 2012-12-31 20:42:21 +00:00
John Törnblom
b42cbe593c make use of tvh_write wrapper in passthrough muxer 2012-12-30 21:53:18 +01:00
John Törnblom
c98d8626b1 changed the tvh_write() wrapper take const pointer as agument 2012-12-30 20:52:55 +01:00
Adam Sutton
c43e59f9eb Merge remote-tracking branch 'origin/pr/186' 2012-12-30 12:23:54 +00:00
Adam Sutton
aa838c6c05 Merge remote-tracking branch 'origin/pr/188' 2012-12-30 12:23:24 +00:00
Adam Sutton
5d72981143 Merge remote-tracking branch 'origin/pr/196' 2012-12-30 12:22:53 +00:00
Adam Sutton
43d8415bec Merge remote-tracking branch 'origin/pr/195' 2012-12-30 12:22:52 +00:00
Adam Sutton
4e9e3338ea Merge remote-tracking branch 'origin/pr/189' 2012-12-30 12:22:50 +00:00
Adam Sutton
051e404da5 [PR-194] - tidy up code, create a generic write wrapper to simplify code.
Fix #1177
2012-12-30 12:17:34 +00:00
Adam Sutton
16db6f132f support: ensure git tree properly cleaned. 2012-12-30 12:12:24 +00:00
Jacek Tomasiak
0dcbb359a5 added separator before 'onscreen' style of episode number 2012-12-29 23:46:19 +01:00
Jacek Tomasiak
1418041e14 fixed content type translation 2012-12-29 23:36:42 +01:00
Joakim Plate
f980a3abe3 tcp: socket writes get interrupted so must be retried 2012-12-29 20:37:30 +01:00
Joakim Plate
19fb12798b filebundle: fb_read must return real len in FB_DIRECT mode 2012-12-29 20:34:11 +01:00
Joakim Plate
426117f006 filebundle: always open files as binary
If files have wrong file endings the stated lenghts
won't match total data read from file.
2012-12-29 20:32:59 +01:00
Dimitris Kazakos
a2cec97432 add greek language to language codes list 2012-12-27 20:12:28 +02:00
Adam Sutton
d23f60b031 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).
2012-12-27 00:48:14 +00:00
KillerOPS
a822ed13b7 webui: add initial support for nStreamPlayer on Samsung SmartTv's 2012-12-26 12:26:15 +02:00
Lars Op den Kamp
616dcda277 fixed - don't mark unscrambled streams with TSS_NO_DESCRAMBLER 2012-12-23 19:09:25 +01:00
Adam Sutton
dd379084c0 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.
2012-12-20 21:38:20 +00:00
Adam Sutton
b624851dde Issue #1446 - fix --disable-linuxdvb. 2012-12-19 22:30:16 +00:00
Adam Sutton
d9dae65bbb Issue #1446 - fix --disable-cwc checks. 2012-12-19 22:30:16 +00:00
Adam Sutton
496808bbd4 webui: add some processing of capabilities for dynamic tab inclusion. 2012-12-19 22:30:16 +00:00
Adam Sutton
99b69cb860 Add new capabilities field to determine what optional features are included. 2012-12-19 22:29:17 +00:00
Adam Sutton
87f6f58215 Issue #1403 - ensure adapter config is properly loaded. 2012-12-19 20:46:35 +00:00
Adam Sutton
b1d20d3255 Issue #1458 - fix unint variable. 2012-12-19 20:04:56 +00:00
Adam Sutton
a420c83a0e Issue #1454 - correct stupid typo when changing code layout in filebundle. 2012-12-14 09:37:29 +00:00
Adam Sutton
7d97d1f648 Issue #1454 - init strtok_r() state ptrs, older gcc whinges. 2012-12-13 21:29:22 +00:00
Jaroslav Kysela
4419dde14b Issue #1453 - Fix autorec init issue (duplicate entries)
With previous init change, the scheduled events may be duplicated. Split
the dvr_autorec_init() to two phases:

1) load the autorec list
2) update the scheduled events after dvr db is initialized
2012-12-13 21:10:55 +00:00
Adam Sutton
86fac417c2 Issue #1454 - Remove usage of non re-entrant strtok()
Thanks to Jaroslav Kysela <perex@perex.cz> for providing the initial fix.
2012-12-13 20:57:09 +00:00
Adam Sutton
3a54bc7f16 dvr: ensure scheduled recordings are linked to autorec rule. 2012-12-09 22:48:12 +00:00
Adam Sutton
d651666a50 Merge remote-tracking branch 'origin/pr/184' 2012-12-06 20:10:41 +00:00
Adam Sutton
5da648f447 Fix mistake in CXD2820R check. 2012-12-06 19:48:00 +00:00
Kristofer Karlsson
663e1d618d Differentiate recordings by icon 2012-12-06 20:30:23 +01:00
Kristofer Karlsson
cf159f8322 Split recorder schedule in three parts: upcoming, finished, failed 2012-12-06 20:25:38 +01:00
Adam Sutton
f22683e870 htsp: add client version info in welcome message. 2012-12-05 20:46:47 +00:00
John Törnblom
d8d7a2f583 increment the pmt version on eatch reconfiguration of the passthrough muxer 2012-12-05 19:26:05 +01:00
Andreas Öman
d65a8610ab Merge pull request #182 from krka/recorder_schedule_split
Recorder schedule split
2012-12-05 01:24:59 -08:00
Kristofer Karlsson
982a8798e1 Add proper sort order for recording schedule 2012-12-05 09:40:34 +01:00
Kristofer Karlsson
cf54890d14 Split recorder schedule view
Now there are two separate categories:
finished (and missed) recordings and upcoming recordings.
2012-12-05 09:40:33 +01:00
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