]>
git.ipfire.org Git - thirdparty/tvheadend.git/log
John Törnblom [Sat, 17 Nov 2012 14:31:07 +0000 (15:31 +0100)]
make sure the recording has been started correctly before atempting to write packets to the muxer.
John Törnblom [Sat, 17 Nov 2012 14:32:23 +0000 (15:32 +0100)]
make sure the default file descriptor for the passthrough muxer is an invalid one, not stdout.
Adam Sutton [Sat, 17 Nov 2012 12:43:41 +0000 (12:43 +0000)]
webui: Fix mistake in previous update to iptv.js
John Törnblom [Fri, 16 Nov 2012 15:27:29 +0000 (16:27 +0100)]
make sure there is metadata available before atempting to mux it with a recording
Adam Sutton [Fri, 16 Nov 2012 11:06:46 +0000 (11:06 +0000)]
htsp: fix mistakes in fileSeek handler
Mariusz Bialonczyk [Sun, 7 Oct 2012 17:40:38 +0000 (19:40 +0200)]
[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 :)
Mariusz Bialonczyk [Mon, 12 Nov 2012 18:05:36 +0000 (19:05 +0100)]
[PR-175] capmt: ignoring removal requests, fix segfault
Adam Sutton [Thu, 15 Nov 2012 17:01:44 +0000 (17:01 +0000)]
htsp: Provide recording path relative to dvr storage path.
This can be useful clients to build recording (folder) hierarchy such
as supported by XBMC.
Adam Sutton [Thu, 15 Nov 2012 17:01:03 +0000 (17:01 +0000)]
htsp: some re-structuring and additons to HTSP file support.
Adam Sutton [Thu, 15 Nov 2012 16:06:25 +0000 (16:06 +0000)]
htsp: bump version to 7 for 3.4 release.
Andreas Öman [Thu, 15 Nov 2012 15:54:06 +0000 (16:54 +0100)]
dvb: Include signal status in adapter_msg if we are tuned
Andreas Öman [Thu, 15 Nov 2012 15:41:05 +0000 (16:41 +0100)]
Display per-adapter status information in the Status tab in UI
Andreas Öman [Thu, 15 Nov 2012 13:08:41 +0000 (14:08 +0100)]
dvb: Actually set tdmi_uncorrected_blocks to FEC rate
Andreas Öman [Thu, 15 Nov 2012 12:25:23 +0000 (13:25 +0100)]
HTSP: Use lseek() + read() instead of pread()
Does not build out-of-the-box on lucid otherwise
Andreas Öman [Thu, 15 Nov 2012 12:20:18 +0000 (13:20 +0100)]
HTSP: Add option to serve files over HTSP
Currently this is only used to serve recorded files
Andreas Öman [Thu, 15 Nov 2012 12:20:07 +0000 (13:20 +0100)]
Add tvh_strbegins() helper
Adam Sutton [Sun, 11 Nov 2012 20:36:16 +0000 (20:36 +0000)]
Issue #1393 - minor aesthetic change, remove trailing slash from user config DVR directory.
Adam Sutton [Sun, 11 Nov 2012 20:08:35 +0000 (20:08 +0000)]
Issue #1369 - move iptv service type store inside main tab function else it causes a 401 error for non-admin UI users.
John Törnblom [Wed, 14 Nov 2012 10:00:50 +0000 (11:00 +0100)]
fix 'use after free' of the htsp logname when the connection to the client is lost.
John Törnblom [Thu, 8 Nov 2012 20:35:09 +0000 (21:35 +0100)]
Merge remote-tracking branch 'upstream/master'
Andreas Öman [Thu, 8 Nov 2012 13:21:39 +0000 (14:21 +0100)]
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
Adam Sutton [Wed, 7 Nov 2012 23:02:10 +0000 (23:02 +0000)]
Tweak to the full mux configuration, all USB is now filtered mode by default.
Adam Sutton [Wed, 7 Nov 2012 11:40:40 +0000 (11:40 +0000)]
Tarball generation script.
Adam Sutton [Wed, 7 Nov 2012 10:45:58 +0000 (10:45 +0000)]
Fix mistake in EPG episode numbering serialisation.
Andreas Öman [Wed, 7 Nov 2012 08:28:18 +0000 (09:28 +0100)]
service: Plug memory leak
Andreas Öman [Wed, 7 Nov 2012 08:27:58 +0000 (09:27 +0100)]
subscriptions: Plug possible memleak
Andreas Öman [Tue, 6 Nov 2012 11:48:50 +0000 (12:48 +0100)]
Plug memory leak
Andreas Öman [Mon, 5 Nov 2012 13:27:00 +0000 (14:27 +0100)]
h264parser: Treat SPS and PPS id as unsigned
There is a change of crash otherwise if we get a corrupt bitstream
Andreas Öman [Mon, 5 Nov 2012 12:05:43 +0000 (13:05 +0100)]
HTSP: Handle partial write()s
Adam Sutton [Mon, 5 Nov 2012 10:38:05 +0000 (10:38 +0000)]
Restructure dvb adapter init to cope with configuration that is needed before we can decide whether to use full mux mode or not.
Adam Sutton [Mon, 5 Nov 2012 10:17:34 +0000 (10:17 +0000)]
Minor formatting fix.
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.
John Törnblom [Sun, 4 Nov 2012 19:05:40 +0000 (20:05 +0100)]
fixed a minor typo (mostly cosmetics)
John Törnblom [Thu, 1 Nov 2012 12:11:11 +0000 (13:11 +0100)]
fixed file suffix for pass-through recording
Adam Sutton [Wed, 31 Oct 2012 17:29:42 +0000 (17:29 +0000)]
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.
Tiago Pierezan Camargo [Thu, 25 Oct 2012 00:17:05 +0000 (22:17 -0200)]
[PR-173] Stype fix for NET POA Cabo network
Alexey I. Froloff [Wed, 24 Oct 2012 17:10:15 +0000 (21:10 +0400)]
[PR-172] Fix compilatioin issues on OpenWRT
Fix SHA1_* function names
Fix unused variables and functions
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:21:36 +0000 (13:21 +0000)]
Refs #1226 - remove block to creating empty channels.
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.
Adam Sutton [Wed, 31 Oct 2012 10:34:13 +0000 (10:34 +0000)]
Fix mistake in dd_progid parsing.
Adam Sutton [Tue, 30 Oct 2012 17:27:54 +0000 (17:27 +0000)]
Add protection to stop opentv crashing on bad title descriptor. Relates to #1367.
Adam Sutton [Wed, 24 Oct 2012 20:09:38 +0000 (21:09 +0100)]
Added quantal and removed hardy from latest dev builds.
Andreas Öman [Tue, 30 Oct 2012 09:37:04 +0000 (10:37 +0100)]
HTSP: Add possibility to subscribe to a channelName
Andreas Öman [Tue, 30 Oct 2012 09:36:43 +0000 (10:36 +0100)]
Don't pass uninitialized mem to epoll_ctl()
John Törnblom [Sat, 27 Oct 2012 17:14:39 +0000 (19:14 +0200)]
fix timing issues with rawtsinput (file input).
John Törnblom [Thu, 25 Oct 2012 17:37:34 +0000 (19:37 +0200)]
HTTP: make sure we don't send (and deref) packets before the mime type etc has been send
Andreas Öman [Thu, 25 Oct 2012 11:25:06 +0000 (13:25 +0200)]
HTSP: Rename htsp.c to htsp_server.c
Andreas Öman [Thu, 25 Oct 2012 09:51:03 +0000 (11:51 +0200)]
Plug some memory leaks
Andreas Öman [Thu, 25 Oct 2012 07:53:12 +0000 (09:53 +0200)]
http: Let full mux dump use the normal straeming code
Fix some locking issues in the http streaming code
Andreas Öman [Thu, 25 Oct 2012 07:51:16 +0000 (09:51 +0200)]
dvb: Run adapters in full mux mode if we can
Andreas Öman [Thu, 25 Oct 2012 06:52:35 +0000 (08:52 +0200)]
dvb: Stub the raw_setup()
Andreas Öman [Wed, 24 Oct 2012 10:34:18 +0000 (11:34 +0100)]
dvb: For full mux streaming, send more than one TS block in each packet
Andreas Öman [Wed, 24 Oct 2012 10:58:47 +0000 (12:58 +0200)]
HTSP: Include video frame duration in streamingStart message
Andreas Öman [Wed, 24 Oct 2012 09:28:11 +0000 (11:28 +0200)]
dvb: Stay with filtered hw for now
Andreas Öman [Tue, 23 Oct 2012 09:13:59 +0000 (09:13 +0000)]
rawtsinput: Handle stream delete
Andreas Öman [Tue, 23 Oct 2012 09:12:56 +0000 (09:12 +0000)]
Fix incorrect bit arithmetic causing service restart to not correctly trig
Andreas Öman [Mon, 22 Oct 2012 14:19:26 +0000 (16:19 +0200)]
dvb: Add support for grabbing entire mux directly via HTTP
Andreas Öman [Mon, 22 Oct 2012 09:26:24 +0000 (11:26 +0200)]
dvb: Add table parsing when in raw mode
Andreas Öman [Fri, 19 Oct 2012 12:42:36 +0000 (14:42 +0200)]
Add new dvb input method: raw
Receives all content from a mux and filter it in tvheadend
Remove dumpmux feature
Andreas Öman [Fri, 19 Oct 2012 11:00:17 +0000 (13:00 +0200)]
dvb: Move low level DVB table reception to dvb_input_filtered.c
Andreas Öman [Fri, 19 Oct 2012 10:08:23 +0000 (12:08 +0200)]
Remove dmx_sct_filter_params from all over the place
Andreas Öman [Fri, 19 Oct 2012 08:53:22 +0000 (10:53 +0200)]
dvb: Move out PID specific stuff from dvb_service.c
Andreas Öman [Fri, 19 Oct 2012 08:50:22 +0000 (10:50 +0200)]
Don't have code with side effects in assert()
Including code with side effects in assert() is bad because
it won't be executed if compiled with NDEBUG
Andreas Öman [Fri, 19 Oct 2012 08:00:57 +0000 (10:00 +0200)]
Rename dvb_transport.c -> dvb_service.c
Andreas Öman [Fri, 19 Oct 2012 08:00:09 +0000 (10:00 +0200)]
Rename dvb_transport_ -> dvb_service_ for better consistency
Andreas Öman [Fri, 19 Oct 2012 07:54:50 +0000 (09:54 +0200)]
tsfix: Mask timestamps with PTS_MASK
When debugging the tsfix code a developer can now narrow PTS_MASK
to force wrap to happen much more frequently
John Törnblom [Thu, 25 Oct 2012 10:40:28 +0000 (12:40 +0200)]
some cosmetics to the "active subscription" list when DVR is being used.
John Törnblom [Thu, 25 Oct 2012 10:39:36 +0000 (12:39 +0200)]
show user-agent, username and ip in the subscription status for HTTP subscriptions
John Törnblom [Wed, 24 Oct 2012 13:44:42 +0000 (15:44 +0200)]
try to handle reconfiguration fo sources properly
John Törnblom [Wed, 24 Oct 2012 13:32:06 +0000 (15:32 +0200)]
decoupled the muxer from the service link.
John Törnblom [Wed, 24 Oct 2012 13:25:43 +0000 (15:25 +0200)]
send the packet type to muxer along with the actual packet so we can check if the cast is correct
John Törnblom [Wed, 24 Oct 2012 12:22:00 +0000 (14:22 +0200)]
added pmt pid to streaming_start
John Törnblom [Wed, 24 Oct 2012 12:21:10 +0000 (14:21 +0200)]
added source type (MPEGTS etc) to source_info.
Mariusz Bialonczyk [Wed, 17 Oct 2012 08:08:22 +0000 (10:08 +0200)]
[PR-167] campt: support for OSCam; fixes
capmt: add oscam mode to the webui and config
capmt: add support for oscam-dvbapi (boxtype=pc)
capmt: add multiple adapter support in oscam mode
capmt: fix sending provider id in PMT data
capmt: fix handling multiple CAIDs on the same ECM pid
Adam Sutton [Tue, 23 Oct 2012 12:42:06 +0000 (13:42 +0100)]
[PR-171] Update stream queue size protection to be flexible.
The queue size limits are now configurable in the queue init function.
For now only HTTP queues are bounded, the others should not be necessary.
Jernej Fijačko [Tue, 23 Oct 2012 11:23:54 +0000 (13:23 +0200)]
[PR-171] Streaming queue size protection
Adam Sutton [Tue, 23 Oct 2012 11:03:15 +0000 (12:03 +0100)]
Ensure scan file download is properly validated and fix to cope with new PPA name due to launchpad crap!
Adam Sutton [Fri, 19 Oct 2012 20:45:53 +0000 (21:45 +0100)]
SID to channel number config option was not being stored or loaded.
Adam Sutton [Fri, 19 Oct 2012 16:21:37 +0000 (17:21 +0100)]
Stop disabled muxes being re-added to the scan list on startup.
Joakim Hernberg [Thu, 18 Oct 2012 16:02:38 +0000 (18:02 +0200)]
[PR-170] add support for Ku Band lnb with lof 11300 KHz. Fixes #1332.
Danmark [Tue, 16 Oct 2012 11:03:35 +0000 (14:03 +0300)]
[PR-166] - channelId was misspelled in error message
Adam Sutton [Fri, 19 Oct 2012 13:51:25 +0000 (14:51 +0100)]
Correct typos in the encodings list. Fixes #1338.
Jernej Fijačko [Thu, 18 Oct 2012 12:36:16 +0000 (14:36 +0200)]
Fix a memory leak in avc_convert_pkt
John Törnblom [Tue, 21 Aug 2012 20:20:23 +0000 (21:20 +0100)]
reconfigure muxes when stream source changes (usually on pmt update).
John Törnblom [Thu, 18 Oct 2012 16:33:53 +0000 (18:33 +0200)]
free http streaming ts buffer when a service stops
John Törnblom [Thu, 18 Oct 2012 15:42:04 +0000 (17:42 +0200)]
Let the muxer deref packets all the time. If there is an error, the packet will be droped.
John Törnblom [Thu, 18 Oct 2012 16:45:09 +0000 (17:45 +0100)]
make sure the muxer is closed only when its been initilized.
John Törnblom [Thu, 18 Oct 2012 16:44:33 +0000 (17:44 +0100)]
Log the reason for stoping a http stream.
John Törnblom [Thu, 18 Oct 2012 21:23:47 +0000 (23:23 +0200)]
fixed commercial detection on the swedish channel TV4.
John Törnblom [Thu, 18 Oct 2012 21:20:55 +0000 (23:20 +0200)]
messure bandwidth of MPEGTS packets
Andreas Öman [Thu, 18 Oct 2012 09:09:33 +0000 (11:09 +0200)]
Add a status tab to the UI
Currently it will display active subscriptions with info about
total errors and current bandwidth
Andreas Öman [Thu, 18 Oct 2012 09:06:02 +0000 (11:06 +0200)]
Add pkt_err to th_pkt_t
This will be set if the packet consists of damaged data
Andreas Öman [Thu, 18 Oct 2012 09:04:45 +0000 (11:04 +0200)]
Add notify_reload() helper
Andreas Öman [Thu, 18 Oct 2012 09:04:10 +0000 (11:04 +0200)]
Rewrite atomic.h to depend on gcc intrinsics only
Andreas Öman [Tue, 16 Oct 2012 10:30:44 +0000 (11:30 +0100)]
HTSP: Add ability for clients to ask for normalized timestamps
Normalized timestamps will never wrap and always start at 0
Andreas Öman [Mon, 15 Oct 2012 12:33:37 +0000 (14:33 +0200)]
HTSP: Allow a subscriber to set queue depth
Andreas Öman [Mon, 15 Oct 2012 12:30:50 +0000 (14:30 +0200)]
HTSP: Allow a subscriber to request timestamps in 90kHz timebase
Andreas Öman [Mon, 15 Oct 2012 12:04:09 +0000 (14:04 +0200)]
Add option to run HTSP on an additional port
Adam Sutton [Mon, 17 Sep 2012 15:13:27 +0000 (16:13 +0100)]
Added some new transport/multiplex search routines and used them in epg modules.