Commit graph

2886 commits

Author SHA1 Message Date
Adam Sutton
0bcb119b1a Merge remote-tracking branch 'origin/pr/222' 2013-01-13 22:23:13 +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
Adam Sutton
d08c0b665a docs: update timeshift documentation. 2013-01-13 22:11:13 +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
687d0471e8 build: ensure proper path is cleaned of .git files. 2013-01-12 20:30:03 +00:00
John Törnblom
5ba4b66116 libav: detect versions that are to old for libav muxing 2013-01-12 15:50:32 +01: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
Jason Millard
2df7b8d63b add cflags support to configure script 2013-01-11 22:08:28 -05:00
Adam Sutton
a1461fb58a build: correction to ensure old data is removed. 2013-01-11 22:09:27 +00:00
Adam Sutton
7227c128eb build: remove use of submodule for dvb-scan data
Revert back to manually fetching, though now its a git report its somewhat
simpler and we'll avoid using a separate script.
2013-01-11 22:04:39 +00:00
Adam Sutton
1de1b68c7e build: ensure git submodule with dvb-scan data is updated. 2013-01-11 20:57:06 +00: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
9a655a6218 build: Some tidying up of the build system
mainly this is just cleaning up the output from the build commands
but also added debian/changelog to ignore file to stop it being
accidentally committed back.
2013-01-11 11:13:29 +00:00
Adam Sutton
7f54c1c0e4 timeshift: ensure that timeshift_enabled flag is properly honoured. 2013-01-11 11:13:29 +00:00
Adam Sutton
d85e922e84 dvbscan: switch to using the new linuxtv scan git repo. 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
Adam Sutton
ac22d71a0c support: formatting of configure output. 2013-01-10 10:20:47 +00:00
John Törnblom
c5d889f692 libav: link with libavcodec 2013-01-10 09:41:36 +01:00
Andreas Öman
d262726729 timeshift: Fix possible deadlock (due to missing unlock) 2013-01-09 23:23:49 +01:00
Adam Sutton
8be121f558 make: add option to reconfigure with previous options. 2013-01-09 21:42:09 +00:00
Adam Sutton
11576caf97 timeshift: enable timeshift by default in the build. 2013-01-09 21:26:52 +00: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
78df091e41 make: check if configure output is still likely to be valid. 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