]> git.ipfire.org Git - thirdparty/tvheadend.git/log
thirdparty/tvheadend.git
12 years agomake sure the recording has been started correctly before atempting to write packets...
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.

12 years agomake sure the default file descriptor for the passthrough muxer is an invalid one...
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.

12 years agowebui: Fix mistake in previous update to iptv.js
Adam Sutton [Sat, 17 Nov 2012 12:43:41 +0000 (12:43 +0000)] 
webui: Fix mistake in previous update to iptv.js

12 years agomake sure there is metadata available before atempting to mux it with a recording
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

12 years agohtsp: fix mistakes in fileSeek handler
Adam Sutton [Fri, 16 Nov 2012 11:06:46 +0000 (11:06 +0000)] 
htsp: fix mistakes in fileSeek handler

12 years ago[PR-175] capmt: add support for on-demand sockets per service id
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 :)

12 years ago[PR-175] capmt: ignoring removal requests, fix segfault
Mariusz Bialonczyk [Mon, 12 Nov 2012 18:05:36 +0000 (19:05 +0100)] 
[PR-175] capmt: ignoring removal requests, fix segfault

12 years agohtsp: Provide recording path relative to dvr storage path.
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.

12 years agohtsp: some re-structuring and additons to HTSP file support.
Adam Sutton [Thu, 15 Nov 2012 17:01:03 +0000 (17:01 +0000)] 
htsp: some re-structuring and additons to HTSP file support.

12 years agohtsp: bump version to 7 for 3.4 release.
Adam Sutton [Thu, 15 Nov 2012 16:06:25 +0000 (16:06 +0000)] 
htsp: bump version to 7 for 3.4 release.

12 years agodvb: Include signal status in adapter_msg if we are tuned
Andreas Öman [Thu, 15 Nov 2012 15:54:06 +0000 (16:54 +0100)] 
dvb: Include signal status in adapter_msg if we are tuned

12 years agoDisplay per-adapter status information in the Status tab in UI
Andreas Öman [Thu, 15 Nov 2012 15:41:05 +0000 (16:41 +0100)] 
Display per-adapter status information in the Status tab in UI

12 years agodvb: Actually set tdmi_uncorrected_blocks to FEC rate
Andreas Öman [Thu, 15 Nov 2012 13:08:41 +0000 (14:08 +0100)] 
dvb: Actually set tdmi_uncorrected_blocks to FEC rate

12 years agoHTSP: Use lseek() + read() instead of pread()
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

12 years agoHTSP: Add option to serve files over HTSP
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

12 years agoAdd tvh_strbegins() helper
Andreas Öman [Thu, 15 Nov 2012 12:20:07 +0000 (13:20 +0100)] 
Add tvh_strbegins() helper

12 years agoIssue #1393 - minor aesthetic change, remove trailing slash from user config DVR...
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.

12 years agoIssue #1369 - move iptv service type store inside main tab function else it causes...
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.

12 years agofix 'use after free' of the htsp logname when the connection to the client is lost.
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.

12 years agoMerge remote-tracking branch 'upstream/master'
John Törnblom [Thu, 8 Nov 2012 20:35:09 +0000 (21:35 +0100)] 
Merge remote-tracking branch 'upstream/master'

12 years agoHTSP: Plug possible memory leak at HTSP disconnect
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

12 years agoTweak to the full mux configuration, all USB is now filtered mode by default.
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.

12 years agoTarball generation script.
Adam Sutton [Wed, 7 Nov 2012 11:40:40 +0000 (11:40 +0000)] 
Tarball generation script.

12 years agoFix mistake in EPG episode numbering serialisation.
Adam Sutton [Wed, 7 Nov 2012 10:45:58 +0000 (10:45 +0000)] 
Fix mistake in EPG episode numbering serialisation.

12 years agoservice: Plug memory leak
Andreas Öman [Wed, 7 Nov 2012 08:28:18 +0000 (09:28 +0100)] 
service: Plug memory leak

12 years agosubscriptions: Plug possible memleak
Andreas Öman [Wed, 7 Nov 2012 08:27:58 +0000 (09:27 +0100)] 
subscriptions: Plug possible memleak

12 years agoPlug memory leak
Andreas Öman [Tue, 6 Nov 2012 11:48:50 +0000 (12:48 +0100)] 
Plug memory leak

12 years agoh264parser: Treat SPS and PPS id as unsigned
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

12 years agoHTSP: Handle partial write()s
Andreas Öman [Mon, 5 Nov 2012 12:05:43 +0000 (13:05 +0100)] 
HTSP: Handle partial write()s

12 years agoRestructure dvb adapter init to cope with configuration that is needed before we...
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.

12 years agoMinor formatting fix.
Adam Sutton [Mon, 5 Nov 2012 10:17:34 +0000 (10:17 +0000)] 
Minor formatting fix.

12 years agoFix #1377 - check for EOVERFLOW when reading from DVB device.
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.

12 years agofixed a minor typo (mostly cosmetics)
John Törnblom [Sun, 4 Nov 2012 19:05:40 +0000 (20:05 +0100)] 
fixed a minor typo (mostly cosmetics)

12 years agofixed file suffix for pass-through recording
John Törnblom [Thu, 1 Nov 2012 12:11:11 +0000 (13:11 +0100)] 
fixed file suffix for pass-through recording

12 years agoIssue #1376 - add option to manually disable full mux rx.
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.

12 years ago[PR-173] Stype fix for NET POA Cabo network
Tiago Pierezan Camargo [Thu, 25 Oct 2012 00:17:05 +0000 (22:17 -0200)] 
[PR-173] Stype fix for NET POA Cabo network

12 years ago[PR-172] Fix compilatioin issues on OpenWRT
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

12 years agoRefs #1355, Refs #1356 - Fix problem with DVR dup detect.
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.

12 years agoRefs #1226 - remove block to creating empty channels.
Adam Sutton [Wed, 31 Oct 2012 13:21:36 +0000 (13:21 +0000)] 
Refs #1226 - remove block to creating empty channels.

12 years agoRef #1352 - check return value of setuid/setgid calls.
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.

12 years agoFix mistake in dd_progid parsing.
Adam Sutton [Wed, 31 Oct 2012 10:34:13 +0000 (10:34 +0000)] 
Fix mistake in dd_progid parsing.

12 years agoAdd protection to stop opentv crashing on bad title descriptor. Relates to #1367.
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.

12 years agoAdded quantal and removed hardy from latest dev builds.
Adam Sutton [Wed, 24 Oct 2012 20:09:38 +0000 (21:09 +0100)] 
Added quantal and removed hardy from latest dev builds.

12 years agoHTSP: Add possibility to subscribe to a channelName
Andreas Öman [Tue, 30 Oct 2012 09:37:04 +0000 (10:37 +0100)] 
HTSP: Add possibility to subscribe to a channelName

12 years agoDon't pass uninitialized mem to epoll_ctl()
Andreas Öman [Tue, 30 Oct 2012 09:36:43 +0000 (10:36 +0100)] 
Don't pass uninitialized mem to epoll_ctl()

12 years agofix timing issues with rawtsinput (file input).
John Törnblom [Sat, 27 Oct 2012 17:14:39 +0000 (19:14 +0200)] 
fix timing issues with rawtsinput (file input).

12 years agoHTTP: make sure we don't send (and deref) packets before the mime type etc has been...
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

12 years agoHTSP: Rename htsp.c to htsp_server.c
Andreas Öman [Thu, 25 Oct 2012 11:25:06 +0000 (13:25 +0200)] 
HTSP: Rename htsp.c to htsp_server.c

12 years agoPlug some memory leaks
Andreas Öman [Thu, 25 Oct 2012 09:51:03 +0000 (11:51 +0200)] 
Plug some memory leaks

12 years agohttp: Let full mux dump use the normal straeming code
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

12 years agodvb: Run adapters in full mux mode if we can
Andreas Öman [Thu, 25 Oct 2012 07:51:16 +0000 (09:51 +0200)] 
dvb: Run adapters in full mux mode if we can

12 years agodvb: Stub the raw_setup()
Andreas Öman [Thu, 25 Oct 2012 06:52:35 +0000 (08:52 +0200)] 
dvb: Stub the raw_setup()

12 years agodvb: For full mux streaming, send more than one TS block in each packet
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

12 years agoHTSP: Include video frame duration in streamingStart message
Andreas Öman [Wed, 24 Oct 2012 10:58:47 +0000 (12:58 +0200)] 
HTSP: Include video frame duration in streamingStart message

12 years agodvb: Stay with filtered hw for now
Andreas Öman [Wed, 24 Oct 2012 09:28:11 +0000 (11:28 +0200)] 
dvb: Stay with filtered hw for now

12 years agorawtsinput: Handle stream delete
Andreas Öman [Tue, 23 Oct 2012 09:13:59 +0000 (09:13 +0000)] 
rawtsinput: Handle stream delete

12 years agoFix incorrect bit arithmetic causing service restart to not correctly trig
Andreas Öman [Tue, 23 Oct 2012 09:12:56 +0000 (09:12 +0000)] 
Fix incorrect bit arithmetic causing service restart to not correctly trig

12 years agodvb: Add support for grabbing entire mux directly via HTTP
Andreas Öman [Mon, 22 Oct 2012 14:19:26 +0000 (16:19 +0200)] 
dvb: Add support for grabbing entire mux directly via HTTP

12 years agodvb: Add table parsing when in raw mode
Andreas Öman [Mon, 22 Oct 2012 09:26:24 +0000 (11:26 +0200)] 
dvb: Add table parsing when in raw mode

12 years agoAdd new dvb input method: raw
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

12 years agodvb: Move low level DVB table reception to dvb_input_filtered.c
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

12 years agoRemove dmx_sct_filter_params from all over the place
Andreas Öman [Fri, 19 Oct 2012 10:08:23 +0000 (12:08 +0200)] 
Remove dmx_sct_filter_params from all over the place

12 years agodvb: Move out PID specific stuff from dvb_service.c
Andreas Öman [Fri, 19 Oct 2012 08:53:22 +0000 (10:53 +0200)] 
dvb: Move out PID specific stuff from dvb_service.c

12 years agoDon't have code with side effects in assert()
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

12 years agoRename dvb_transport.c -> dvb_service.c
Andreas Öman [Fri, 19 Oct 2012 08:00:57 +0000 (10:00 +0200)] 
Rename dvb_transport.c -> dvb_service.c

12 years agoRename dvb_transport_ -> dvb_service_ for better consistency
Andreas Öman [Fri, 19 Oct 2012 08:00:09 +0000 (10:00 +0200)] 
Rename dvb_transport_ -> dvb_service_ for better consistency

12 years agotsfix: Mask timestamps with PTS_MASK
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

12 years agosome cosmetics to the "active subscription" list when DVR is being used.
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.

12 years agoshow user-agent, username and ip in the subscription status for HTTP subscriptions
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

12 years agotry to handle reconfiguration fo sources properly
John Törnblom [Wed, 24 Oct 2012 13:44:42 +0000 (15:44 +0200)] 
try to handle reconfiguration fo sources properly

12 years agodecoupled the muxer from the service link.
John Törnblom [Wed, 24 Oct 2012 13:32:06 +0000 (15:32 +0200)] 
decoupled the muxer from the service link.

12 years agosend the packet type to muxer along with the actual packet so we can check if the...
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

12 years agoadded pmt pid to streaming_start
John Törnblom [Wed, 24 Oct 2012 12:22:00 +0000 (14:22 +0200)] 
added pmt pid to streaming_start

12 years agoadded source type (MPEGTS etc) to source_info.
John Törnblom [Wed, 24 Oct 2012 12:21:10 +0000 (14:21 +0200)] 
added source type (MPEGTS etc) to source_info.

12 years ago[PR-167] campt: support for OSCam; fixes
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

12 years ago[PR-171] Update stream queue size protection to be flexible.
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.

12 years ago[PR-171] Streaming queue size protection
Jernej Fijačko [Tue, 23 Oct 2012 11:23:54 +0000 (13:23 +0200)] 
[PR-171] Streaming queue size protection

12 years agoEnsure scan file download is properly validated and fix to cope with new PPA name...
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!

12 years agoSID to channel number config option was not being stored or loaded.
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.

12 years agoStop disabled muxes being re-added to the scan list on startup.
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.

12 years ago[PR-170] add support for Ku Band lnb with lof 11300 KHz. Fixes #1332.
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.

12 years ago[PR-166] - channelId was misspelled in error message
Danmark [Tue, 16 Oct 2012 11:03:35 +0000 (14:03 +0300)] 
[PR-166] - channelId was misspelled in error message

12 years agoCorrect typos in the encodings list. Fixes #1338.
Adam Sutton [Fri, 19 Oct 2012 13:51:25 +0000 (14:51 +0100)] 
Correct typos in the encodings list. Fixes #1338.

12 years agoFix a memory leak in avc_convert_pkt
Jernej Fijačko [Thu, 18 Oct 2012 12:36:16 +0000 (14:36 +0200)] 
Fix a memory leak in avc_convert_pkt

12 years agoreconfigure muxes when stream source changes (usually on pmt update).
John Törnblom [Tue, 21 Aug 2012 20:20:23 +0000 (21:20 +0100)] 
reconfigure muxes when stream source changes (usually on pmt update).

12 years agofree http streaming ts buffer when a service stops
John Törnblom [Thu, 18 Oct 2012 16:33:53 +0000 (18:33 +0200)] 
free http streaming ts buffer when a service stops

12 years agoLet the muxer deref packets all the time. If there is an error, the packet will be...
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.

12 years agomake sure the muxer is closed only when its been initilized.
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.

12 years agoLog the reason for stoping a http stream.
John Törnblom [Thu, 18 Oct 2012 16:44:33 +0000 (17:44 +0100)] 
Log the reason for stoping a http stream.

12 years agofixed commercial detection on the swedish channel TV4.
John Törnblom [Thu, 18 Oct 2012 21:23:47 +0000 (23:23 +0200)] 
fixed commercial detection on the swedish channel TV4.

12 years agomessure bandwidth of MPEGTS packets
John Törnblom [Thu, 18 Oct 2012 21:20:55 +0000 (23:20 +0200)] 
messure bandwidth of MPEGTS packets

12 years agoAdd a status tab to the UI
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

12 years agoAdd pkt_err to th_pkt_t
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

12 years agoAdd notify_reload() helper
Andreas Öman [Thu, 18 Oct 2012 09:04:45 +0000 (11:04 +0200)] 
Add notify_reload() helper

12 years agoRewrite atomic.h to depend on gcc intrinsics only
Andreas Öman [Thu, 18 Oct 2012 09:04:10 +0000 (11:04 +0200)] 
Rewrite atomic.h to depend on gcc intrinsics only

12 years agoHTSP: Add ability for clients to ask for normalized timestamps
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

12 years agoHTSP: Allow a subscriber to set queue depth
Andreas Öman [Mon, 15 Oct 2012 12:33:37 +0000 (14:33 +0200)] 
HTSP: Allow a subscriber to set queue depth

12 years agoHTSP: Allow a subscriber to request timestamps in 90kHz timebase
Andreas Öman [Mon, 15 Oct 2012 12:30:50 +0000 (14:30 +0200)] 
HTSP: Allow a subscriber to request timestamps in 90kHz timebase

12 years agoAdd option to run HTSP on an additional port
Andreas Öman [Mon, 15 Oct 2012 12:04:09 +0000 (14:04 +0200)] 
Add option to run HTSP on an additional port

12 years agoAdded some new transport/multiplex search routines and used them in epg modules.
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.