Commit graph

1857 commits

Author SHA1 Message Date
Adam Sutton
aff8b05c28 timeshift: include support for total buffer size. 2013-01-14 22:37:57 +00:00
Adam Sutton
c463b7d7ba timeshift: change buffer file period to limit number of files. 2013-01-14 22:00:34 +00:00
Adam Sutton
29abf2f783 timeshift: Add processing of the SMT_START index 2013-01-14 16:44:26 +00:00
Adam Sutton
c872a3311e timeshift: fix bug in relative seeking from live. 2013-01-14 16:34:37 +00:00
Denis Pellizzon
1820b61a57 Fix #1504 - Set IE8 compatibility mode to fix extjs IE9 issues.
Also add missing <head> tag.
2013-01-14 13:39:40 +00:00
Adam Sutton
6077ac3fbe timeshift: fix some sob/eob problems. 2013-01-14 13:18:52 +00:00
Adam Sutton
eb6b33922e timeshift: add abs seek and proper 90kHz/1MHz conversions. 2013-01-14 13:18:46 +00:00
Adam Sutton
54e7e2ce5e Merge remote-tracking branch 'origin/pr/221' 2013-01-13 22:27:21 +00:00
Adam Sutton
07ce993b9c Merge remote-tracking branch 'origin/pr/224' 2013-01-13 22:22:54 +00:00
Adam Sutton
a2fab105a1 Fix #1529 - webUI should show timeshift periods as minutes. 2013-01-13 22:19:52 +00:00
Sergey Linnik
bd9a52fc52 add saving prevcaid to service config 2013-01-13 12:46:31 +04:00
oneadvent
cb7a879d6a adding help file for timeshift tab (under configure) 2013-01-12 18:36:16 -06:00
Adam Sutton
b66edd471d timeshift: fix printing error. 2013-01-12 13:32:16 +00:00
Adam Sutton
87a79003a9 timeshift: fix start of buffer bug and add some useful debug. 2013-01-12 13:26:47 +00:00
BtbN
9300506e4f Add a new button to service list which auto-mapps channels by service-name 2013-01-11 23:14:49 +01:00
Adam Sutton
bb51160721 dvb: ignore disabled adapters when finding EPG services. 2013-01-11 13:30:29 +00:00
Adam Sutton
622531e385 eit: fix a bug in EIT extended descriptor parsing. 2013-01-11 12:26:30 +00:00
Adam Sutton
b8a1efa00a Merge remote-tracking branch 'origin/pr/219' 2013-01-11 11:47:58 +00:00
Adam Sutton
979c9d5c7e Fix #1493 - timeshift: fix deadlock issue if streaming fails to start. 2013-01-11 11:35:41 +00:00
Adam Sutton
7f54c1c0e4 timeshift: ensure that timeshift_enabled flag is properly honoured. 2013-01-11 11:13:29 +00:00
Adam Sutton
accc01db56 Fix #1083 - add inotify monitoring of recordings.
Should a recording be moved (within same dir) the DVR DB will be
updated.

Should it be moved (out of directory) or deleted entirely, it will
simply be marked as missing.

The parent directories are also monitored should they be moved
or deleted.
2013-01-11 11:13:29 +00:00
Adam Sutton
efee88c8a2 dvr: report error if a recordings file is missing. 2013-01-11 11:13:29 +00:00
Sergey Linnik
d31afe099e fix processing big non english eit packets
increase size of buffers for localized strings because in utf-8 they may
be bigger than 256 bytes
2013-01-11 01:34:11 +04:00
Dave Chapman
60371b07f8 Second attempt at protecting TRANSMISSION_MODE_4K from users with old versions of the DVB API. We just assume that it was introduced with the current API (5.3) as it is very unlikely anyone will actually come across such a broadcast. 2013-01-10 21:08:10 +00:00
Dave Chapman
ad2a737a11 Fix typo - ENABLE_ defines need to be tested with #if. Thanks to Glandos for spotting. 2013-01-10 20:59:14 +00:00
Andreas Öman
14fb1f9e1d HTSP: In response to subscribe() message, return if we support timeshift or not 2013-01-10 19:28:37 +01:00
Adam Sutton
053b86356a Fix #1491 - remove redundant include. 2013-01-10 11:02:15 +00:00
Andreas Öman
d262726729 timeshift: Fix possible deadlock (due to missing unlock) 2013-01-09 23:23:49 +01:00
Adam Sutton
86c4a969f7 timeshift: finish timeshift skip support.
I now have a more complete skip support implemented. This includes
properly handling buffer ends. I have tested with a custom pvr.hts
in XBMC, but it does need plenty more.
2013-01-09 21:26:52 +00:00
Kristofer Karlsson
2235b869ae timeshift: implemented skip 2013-01-09 21:26:52 +00:00
Adam Sutton
564340b32d timeshift: add new style capability check. 2013-01-09 21:26:52 +00:00
Adam Sutton
88a9d96039 timeshift: Reworked the reader engine to common up things and prepare for seek support. 2013-01-09 21:26:52 +00:00
Adam Sutton
acebb13f15 timeshift: Added on-demand buffer mode.
In this mode data will only be written to disk when paused and anything
in the buffer prior to the current play point will immediately be removed.

This implies that rewinding is never possible in this mode (though FF is)
and trying to do so will result in the buffer playback being paused.
2013-01-09 21:26:52 +00:00
Adam Sutton
fa4841b725 timeshift: reworked the configuration
general config stuff has now been removed and a new timeshift tab has been created
2013-01-09 21:26:52 +00:00
Kristofer Karlsson
4b86d4210c timeshift: Use more specific type for timeshift_index_data_t.data. 2013-01-09 21:26:51 +00:00
Kristofer Karlsson
a300377036 timeshift: Split timeshift_index_t in two separate datatypes. 2013-01-09 21:26:51 +00:00
Adam Sutton
869f95ee0f timeshift: Remove redundant (and faulty) code.
This appears to have been left in place from an older implementation. Ultimately the call to pthread_join will operate on uninit'd memory and could in certain circumstances cause a crash.

Thanks goes to Seri Al-Najjar <salnajjar@gmail.com> for spotting this.
2013-01-09 21:26:51 +00:00
Adam Sutton
551e5ff8f9 timeshift: fix use after free() bug. 2013-01-09 21:26:51 +00:00
Adam Sutton
4e67a1345e timeshift: fix memory leak in reader
I had failed to zero the ref count after reading from disk, this
will garauntee that the refcount never actually reaches zero and
is therefore the pkt is leaked.
2013-01-09 21:26:51 +00:00
Adam Sutton
9180546fc6 timeshift: early prototype of the new timeshift feature.
Currently this supports pause/resume, and speed control. FF up to 4x uses
full frame output, faster than that or reverse uses i-frame only output.
This causes problems with some players and needs work.

Also buffers are done at the subscription level which means the disk space
is not shared even if it holds the same content. And more importantly
this means you cannot yet record the timeshift buffer like on a standard
PVR.
2013-01-09 21:26:51 +00:00
Adam Sutton
c93333a089 Merge remote-tracking branch 'origin/pr/217' 2013-01-09 17:34:27 +00:00
John Törnblom
a1749a27c9 webui: expose a "play" url to the entire mux. 2013-01-09 16:45:14 +01:00
John Törnblom
f69022390f mkv: plug minor memory leak 2013-01-09 16:37:44 +01:00
John Törnblom
cdd6c6c7d3 http streaming: added a 'raw' container that works just like the passthrough muxer, but doesn't inject pmt/pat
this is used when subscribing to a complete dvb mux
2013-01-09 16:37:31 +01:00
Piotras
54dc40ba88 add missing caids 2013-01-09 15:19:50 +00:00
John Törnblom
048856342f collect bandwidth statistics on direct subscriptions 2013-01-09 16:14:04 +01:00
John Törnblom
ea0d6918ff webui: show username, hostname and client name when subscribing to a complete mux 2013-01-09 16:00:57 +01:00
John Törnblom
f2d6ef4aa0 webui: show username, hostname and client name when subscriving to a service 2013-01-09 15:59:32 +01:00
Adam Sutton
ef43010617 imagecache: restrict access to webui allowed users only. 2013-01-09 13:44:48 +00:00
Adam Sutton
82ac35c078 main: restore original signal handling removed in error. 2013-01-09 11:01:31 +00:00