Commit graph

4641 commits

Author SHA1 Message Date
Andreas Öman
08c0e7a2f4 Add backing code for auto recording.
This more or less marks the DVR infrastructure in Tvheadend back to what it once was!

Fixes issue #18
2008-09-24 20:45:38 +00:00
Andreas Öman
3b3a8ce29d Allow autorecording to be created directly as a result of an EPG search query. 2008-09-24 20:10:49 +00:00
Andreas Öman
49787cd4a3 Drop debugging statements 2008-09-24 19:53:54 +00:00
Andreas Öman
70d013295b Add content group and comment to auto recording. 2008-09-24 17:02:21 +00:00
Andreas Öman
2f81c7851f Don't forget to init epg subsystem. 2008-09-24 17:01:58 +00:00
Andreas Öman
a0e346aeb8 Allow events to extend in time. 2008-09-24 16:39:06 +00:00
Andreas Öman
931aad91e8 Replace e_duration with e_stop, it's much more usable 2008-09-24 15:52:49 +00:00
Andreas Öman
473698bd35 Remove dead code 2008-09-24 15:50:30 +00:00
Andreas Öman
c578619381 Keep track of current event on all channels. 2008-09-24 15:50:07 +00:00
Andreas Öman
e919cbae87 Fix one-shot memory leak in xmltv (loaded configuration) 2008-09-24 15:42:09 +00:00
Andreas Öman
ad6ea1b8e1 Add tables and web ui editor for auto recording.
No backing logic yet though.
2008-09-23 21:16:59 +00:00
Andreas Öman
a9f039cf14 Drop stray debug printf 2008-09-23 19:39:15 +00:00
Andreas Öman
d83540b9b8 If a channel is destryed purge any DVR entries tied to it. 2008-09-23 19:38:53 +00:00
Andreas Öman
fa706e2ea2 Rename 'pvr' to 'dvr' 2008-09-23 19:32:57 +00:00
Andreas Öman
94e3555fbc Factor out all gridEditor code to a file of its own. ExtJS is sweet! 2008-09-23 19:30:54 +00:00
Andreas Öman
ba2dd0a704 Split the 'DVR' tab into multiple panels 2008-09-23 19:05:07 +00:00
Andreas Öman
38f4c21b51 Support settings XMLTV grabbing interval. 2008-09-23 17:09:15 +00:00
Andreas Öman
ca41ada02c We can not do any emebbed xmltv config yet 2008-09-23 16:26:19 +00:00
Andreas Öman
4010f71b77 Add system wide scanning of XMLTV grabbers.
Add support for selecting XMLTV grabber from web user interface.
2008-09-22 21:51:09 +00:00
Andreas Öman
3f2c453ee8 Drop some ugly logging from spawn.c 2008-09-22 21:42:00 +00:00
Mattias Wadman
c3b68b62ff Change to first page on reset or filter changes 2008-09-21 18:55:43 +00:00
Andreas Öman
ae12a34c02 Keep all dvr-related config in a directory of its own. 2008-09-21 18:17:28 +00:00
Andreas Öman
b3cf7ff5cc Fix deadlock issues in dvr when recording is completed 2008-09-21 18:16:14 +00:00
Andreas Öman
de2071b10f Flush out events when they have passed in time. 2008-09-21 12:08:36 +00:00
Andreas Öman
60fefa7d67 Remove stray console.log()s 2008-09-21 11:44:29 +00:00
Andreas Öman
febe807e8c More robust configuaration of channel icons. 2008-09-21 11:03:08 +00:00
Andreas Öman
52ce5a5d15 When creating a new channel, try to automap xmltv channel directly. 2008-09-21 10:57:43 +00:00
Andreas Öman
d59dc1d2c6 Remove the 'setup xmltv' button from channel configuration 2008-09-21 10:34:21 +00:00
Andreas Öman
42ad936a2d Remove unused field 'ch_epg_cur_event' from channel_t 2008-09-21 10:32:37 +00:00
Andreas Öman
e05c773d2a Drop packets with 'Transport Error Indicator' set 2008-09-21 10:27:55 +00:00
Andreas Öman
fb33332ebd Make root directory, log retention time and DVR titles/filenames configurable. 2008-09-21 09:37:35 +00:00
Andreas Öman
026a7bbc2c Add support for configuring DVR settings. 2008-09-20 12:59:23 +00:00
Andreas Öman
37b001e481 Print version to stderr when we've started 2008-09-20 10:30:11 +00:00
Andreas Öman
800bf52c58 Remove a debug printf 2008-09-20 10:28:44 +00:00
Andreas Öman
d055ae6792 dvb: Don't steal transport when weight is equal (avoids ping-ponging of subscriptions) 2008-09-20 06:39:44 +00:00
Andreas Öman
be0cc37dd8 dvr: only actually write packets if we're past our start time (we don't want to write during preamble) 2008-09-20 06:38:42 +00:00
Andreas Öman
e0d2cacf9c Make timestamps continious even if we skip over commercial breaks during recording. 2008-09-20 06:24:43 +00:00
Andreas Öman
71246020bf Remove ffmuxer and pvr (now implemented in dvr/) 2008-09-20 06:11:02 +00:00
Andreas Öman
bdc0941d92 Remove "mux"ing code which has been replaced with the "streaming" components 2008-09-20 06:10:10 +00:00
Andreas Öman
3086de63e0 Reimplement recording, still lacks a few details
* Starts too early
* Subscription sorting is not stable (qsort) so if multiple recording colides there will be problems
* Settings is not configurable
2008-09-20 06:06:41 +00:00
Andreas Öman
0504a58304 Add more helpers to internal streaming framework 2008-09-20 06:05:20 +00:00
Andreas Öman
2cec8a101c Stripe rows and disable selection in EPG and DVR grid. 2008-09-18 20:12:38 +00:00
Andreas Öman
9499b1f2e5 Implement delivery of packets via streaming_pads 2008-09-17 21:21:15 +00:00
Andreas Öman
8e2446e65e Fix spelling error 2008-09-17 21:08:57 +00:00
Andreas Öman
4c4201ee3e Add missing DVR files 2008-09-17 21:08:17 +00:00
Andreas Öman
d373a6f691 Fix memoryleak in h264 parser 2008-09-17 21:06:56 +00:00
Andreas Öman
bd87c5c412 Remove invalid packet reference decrement. 2008-09-17 20:56:00 +00:00
Andreas Öman
92409b644e Implement a lose interface for streaming internally in tvheadend. 2008-09-17 20:54:37 +00:00
Andreas Öman
f90324f925 Rewrite packet handling to be more flexible 2008-09-17 19:29:25 +00:00
Andreas Öman
8d10a0352f Add database and webui functionality for Digital Video Recorder.
The recorder itself is yet to be written though.
2008-09-16 21:04:50 +00:00