Commit graph

45 commits

Author SHA1 Message Date
Adam Sutton
c15e564ed3 Basically hack out all code that currently does not work due to partial epg rewrite. 2012-05-17 12:52:21 +01:00
Chris
1fe5260368 Much simpler and improved algorithm for detecting overlapping events.
This version also solves a problem where the DVR database gets
corrupted when autorecs exist for two sequential events.
2011-09-28 20:30:14 +10:00
Andreas Öman
c88a64692c Fix a crash caused by pull req #39 2011-09-20 09:03:04 +02:00
Chris
e6159c4373 Improved logic when an event is replaced in EPG
This is needed to avoid removing DVR entries that are not based
on an AutoRec
2011-09-11 15:30:24 +10:00
Chris
f924187bfc * Cancel DVR entries for events that are removed from EPG
* Handle networks that change DVB event ID when updating event details
2011-09-09 20:24:49 +10:00
Andreas Öman
0c1c1cfbd9 Try to avoid rescheduling DVR entries
Patch by  Chris Dekter

Fixes #179
2011-08-30 23:29:29 +02:00
Andreas Öman
935114b608 Improve SUMMARY metadata in matroska files
Choose longest string from EPG's description, extended description,
extended item or extended text.
2011-05-03 21:03:49 +02:00
Andreas Öman
206d1293f0 Merge pull request #28 from nemphys/del-rec-dir.
Also delete created directories (if they exist and are empty) when deleting a timer (recording)
2011-05-03 11:12:42 -07:00
Dimitris Kazakos
9408f1d5bc Implement dvr_entry_cancel_delete in dvr_db and deleteDvrEntry/cancelDvrEntry in HTSP in order to provide HTSP clients the ability to delete the actual recording files along with a dvr entry 2011-04-20 21:09:56 +03:00
Dimitris Kazakos
f1cbc73480 Also delete created directories (if they exist and are empty) when deleting a recording file from disk 2011-04-20 20:32:33 +03:00
Andreas Öman
dbcd2232c7 Merge remote branch 'remotes/jdembski/add_update_timer' 2011-03-21 22:43:09 +01:00
Andreas Öman
ed2334b2ca Dont crash when deleting recordings and filename is not yet set. Ticket #383 2011-03-21 22:35:32 +01:00
ton.van.der.poel
c365f235cc DVR - Bugfix - Duplicate recordings
In some situations (I suspend my main pvr machine, and use a script to wake it up before
recordings, this means I stop and start tvheadend multiple times a day), tvheadend starts
parsing EPG-data agains AutoRec rules before previously scheduled recordings are loaded
from disk.

Since the check for duplicate recordings is not present in the code that loads previously
scheduled recordings from disk, it would mean that when an autorec-rule was triggered, this
would result in duplicate scheduled recordings.

By first restoring previously scheduled recordings from disk and then loading the AutoRec
rules, this situation can not happen anymore...
2011-02-23 21:42:57 +01:00
Andreas Öman
c586071546 Minor cleanup of 15679510e1 2011-02-19 12:33:40 +01:00
Thies Schroeder
15679510e1 add functionality to delete recordings 2011-02-18 22:11:24 +01:00
Jörg Dembski
5482182c80 Feature: Add the possibility to update timers via HTSP 2011-01-07 12:21:16 +01:00
Andreas Öman
42adea653d Rename tvhead.h -> tvheadend.h 2010-11-29 19:25:24 +00:00
Andreas Öman
801ba2a1c6 Add support for multiple DVR configurations.
Patch by sbi

Ticket #303
2010-10-21 12:36:29 +00:00
Andreas Öman
7d0d950281 Fix crash if removing DVR entry when in DVR_MISSED_TIME status
Patch by sbi

Ticket #306
2010-10-18 21:15:26 +00:00
Andreas Öman
88c02ef4cf Don't try to writev() longer vectors than sysconf(_SC_IOV_MAX) says 2010-09-12 19:23:48 +00:00
Andreas Öman
65f42d8f0c Make it possible to configure whether or not to write tags to MKV file 2010-09-01 16:42:26 +00:00
Andreas Öman
ecbccb25bf Write more tags in MKV files #127 2010-08-30 10:06:13 +00:00
Andreas Öman
3ec3157e49 Add '[ ] Remove all unsafe characters from filename' checkbox for DVR recordings.
Good if you are on a CIFS share or anything else from the 1980's

Ticket #231
2010-08-19 19:40:25 +00:00
Andreas Öman
1308d3c68b Add a native matroska muxer used for recording.
- Correctly writes global headers. Ticket #61
- Add support for recording AAC audio. Ticket #160
2010-06-21 20:52:36 +00:00
Andreas Öman
31cb0e9733 Support the Logical Channel Number descriptor (0x83)
Fixes ticket #138
2010-06-04 20:59:18 +00:00
Fredik Viksten
3adaea6ec8 2010-04-26 19:21:02 +00:00
Andreas Öman
ae02e76a85 Fix ''scheduled for recording by "Auto recording by: (null)"'' -uglyness 2010-03-27 05:45:31 +00:00
Andreas Öman
d57985481c * Fix various issues realted to the Recording Schedule user interface.
The UI now includes better visual feedback on what's going on and if
    there are errors. Also recordings that do not complete successfully
    are correctly reported as failed entries. Ticket #131
2010-03-21 10:08:16 +00:00
Andreas Öman
67113b82c2 Fix NULL pointer deref 2010-03-17 22:17:16 +00:00
Andreas Öman
769dee0f3b * Add support for prioritized recordings. The user can chose among five
different priorities.
2010-03-17 21:16:57 +00:00
Andreas Öman
4a5009fbda Use dot instead of dash for date and time postfixes in filenames 2010-03-16 23:05:22 +00:00
Andreas Öman
6876fc6afe * Add support for storing recorded events in a directory named after
the event. Ticket #150

  * Add support for appending season and episode numbers to filenames
    during recording.
2010-03-16 22:59:10 +00:00
Andreas Öman
85fc302882 * Inject entries in DVR schedule as soon as we know about an EPG
entry that matches an autorecording rule. Previously Tvheadend
    would scan the EPG continously and just grab shows as they neared
    air time.  The drawbacks of this approach was that it's a bit hard
    to understand what is happening. It also makes (more) correct
    wakeup from suspend hard to do.
2010-03-16 19:54:45 +00:00
Andreas Öman
8121d950be Add an option for replacing spaces in title with '-' for DVR recorded files
Patch by: tuomaz
2010-03-11 20:23:44 +00:00
Andreas Öman
f2cc5e306f Add support for creating manual DVR entries 2009-12-15 20:09:38 +00:00
Andreas Öman
d043666f9f record extra time is in minutes, not seconds. Ticket #124 2009-11-26 20:37:36 +00:00
Andreas Öman
fadc2e9417 Avoid using ':' in filenames 2009-11-15 21:21:21 +00:00
Benjamin Larsson
7be992c72e Override global pre/post time instead of add. 2009-10-29 19:17:13 +00:00
Andreas Öman
9b7284e19a Add support for per-channel pre/post extra time on scheduled recordings.
Ticket #104
2009-10-14 21:02:39 +00:00
Andreas Öman
72bbedd13e Push DVR entries over HTSP (if in async mode) 2009-09-09 21:37:40 +00:00
Andreas Öman
5dfdbc7a9b Add support for setting default extra times to add before and after a recording. Useful if your TV shows never start on time. 2009-08-19 19:44:33 +00:00
Andreas Öman
9fe1808895 Extend the internal DVR API a bit (for the simple web interface) 2009-06-21 20:22:10 +00:00
Andreas Öman
a7ec0e13c0 Use tvhlog() instead of fprintf(stderr, ...) for dvr storage warning. 2009-06-07 09:27:10 +00:00
Andreas Öman
47bd9809c0 Make tvheadend stand on its own configure and build system. 2009-03-25 20:49:50 +00:00
Andreas Öman
42c8947724 Making tvheadend more standalone, #2 2009-03-25 17:46:54 +00:00
Renamed from dvr/dvr_db.c (Browse further)