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
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
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
Adam Sutton
3c5f789d6c
streaming: make sure raw streaming bypasses muxer.
2013-01-08 23:12:09 +00:00
John Törnblom
09e2ebd54d
mkv: fixed copy & pase typo
2013-01-09 00:06:42 +01:00
John Törnblom
de818c09f2
mkv: fixed typo causing endless loop when chapters are created
2013-01-09 00:00:14 +01:00
John Törnblom
ec76be3f1b
mkv: insert chapters upon various codec changes
2013-01-09 00:00:14 +01:00
Dave Chapman
aa1eaff927
TRANSMISSION_MODE_4K did not exist prior to DVB API v5, use AUTO instead. Fixes issue 1510.
2013-01-08 22:49:17 +00:00
John Törnblom
a9cef28b9f
mkv: cosmetics
2013-01-08 22:33:04 +01:00
John Törnblom
578c9fea79
mkv: don't add a new chapter if the previous one was added less than 10s ago
2013-01-08 22:33:04 +01:00
John Törnblom
a846f70e4f
dvr: add a marker when there is a commercial break
2013-01-08 22:33:04 +01:00
John Törnblom
fe9eb0c05e
tsfix: sometimes, commersial skipping caused the audio/video to get out off sync. Lets just skip the packets for now.
2013-01-08 22:33:04 +01:00
John Törnblom
cff10d6663
added support for chapters insertion in tha muxer api
2013-01-08 22:33:04 +01:00
John Törnblom
153c2f09d8
mkv: added support for chapter insertion
2013-01-08 22:33:04 +01:00
Magnus Röös
6b25dd99a8
dont use variables that goes out of scope
...
Change-Id: Ica5f05e63bb811141314cc24f4f68be245f364f6
2013-01-08 20:38:22 +01:00
Jacek Tomasiak
92c89bc644
restored old default port
2013-01-08 18:31:44 +00:00
Adam Sutton
62acb529b6
debian: add curl as build req
2013-01-08 16:35:41 +00:00