1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00
Commit Graph

274 Commits

Author SHA1 Message Date
Klaus Schmidinger
52f17c043b Removed '\n' from several syslog() calls 2005-11-04 14:22:04 +01:00
Klaus Schmidinger
23ee5bb4da Fixed a NULL pointer access with the cUnbufferedFile when a replay session runs all the way until the end of the recording 2005-11-04 13:19:49 +01:00
Klaus Schmidinger
697261c981 The new class cUnbufferedFile is used for the recording files to avoid thrashing the file system cache 2005-10-31 13:14:26 +01:00
Klaus Schmidinger
53e840af50 Added more error messages and line numbers when reading EPG data and info.vdr 2005-10-09 13:13:36 +02:00
Klaus Schmidinger
13f68c4787 Fixed handling the '.update' file in case the video directory is not at the default location 2005-10-01 10:33:38 +02:00
Klaus Schmidinger
8ae565d885 Made the function ExchangeChars() public 2005-09-25 14:31:23 +02:00
Klaus Schmidinger
c3a76dfef6 The '.update' file in the video directory is now touched when a recording is added or deleted 2005-09-25 13:49:31 +02:00
Klaus Schmidinger
f2183f9ff5 Added missing lock and state change 2005-09-25 12:28:40 +02:00
Klaus Schmidinger
da501a4b82 The 'new' indicator in the Recordings menu is now kept up-to-date 2005-09-25 11:35:56 +02:00
Klaus Schmidinger
9e8aac3882 The list of recordings is now read in a separate thread 2005-09-25 11:00:57 +02:00
Klaus Schmidinger
5147d8abbc Fixed converting arbitrarily formatted summary.vdr files 2005-09-17 09:20:31 +02:00
Klaus Schmidinger
1c9d172bc9 Fixed converting summary.vdr files that would result in a very long 'short text' 2005-09-10 12:46:01 +02:00
Klaus Schmidinger
06117cbaab Implemented option '--vfat'; replaced ':' with '.' in recording names 2005-09-03 13:35:55 +02:00
Klaus Schmidinger
8fe90254f6 Now storing the channel id in the info.vdr file even if there is no EPG info available 2005-08-13 14:39:34 +02:00
Klaus Schmidinger
bc22ed879c Files and directories are now created with rights according to the shell's umask settings 2005-08-06 09:56:08 +02:00
Klaus Schmidinger
c1055a6c8f Added the year (two digits) to recording dates in LSTR, and thus also in menus 2005-06-05 14:23:23 +02:00
Klaus Schmidinger
eecf0b6616 Fixed handling 'summary.vdr' files with more than two empty lines 2005-06-04 11:33:09 +02:00
Klaus Schmidinger
ca66d29798 Fixed listing recordings with empty episode names in the LSTR command 2005-05-29 11:22:39 +02:00
Klaus Schmidinger
7701acd968 Now using hash tables to speed up cSchedule::GetEvent() 2005-05-28 13:17:20 +02:00
Klaus Schmidinger
b4cbb84489 cEvent no longer stores the channelID directly, but rather has a pointer to the schedule it is in 2005-05-28 10:09:06 +02:00
Klaus Schmidinger
7114258ebd cRecordingInfo stores channelID itself (preparation for change in cEvent) 2005-05-28 09:53:54 +02:00
Klaus Schmidinger
a05590796a Fixed a possible hangup when ending a replay session while cIndexFile::CatchUp() is waiting 2005-05-22 11:29:19 +02:00
Klaus Schmidinger
2d3702b850 Fall back to 'summary.vdr' if there is no 'info.vdr' 2005-05-22 10:43:10 +02:00
Klaus Schmidinger
a0e6585304 Fixed setting timer's summary for recording 2005-05-22 09:13:26 +02:00
Klaus Schmidinger
ed52b359bb Avoiding extra blanks at the end of names of instant recordings 2005-05-16 15:19:54 +02:00
Klaus Schmidinger
b0583e5373 Switched from 'summary.vdr' to 'info.vdr' 2005-05-16 14:45:11 +02:00
Klaus Schmidinger
1f246351b1 Recordings now avoid zero sized video data files 2005-05-07 15:29:23 +02:00
Klaus Schmidinger
6ca56047ae Fixed handling lifetime when deciding whether to delete a recording 2005-05-06 14:00:45 +02:00
Klaus Schmidinger
5b4507da05 Fixed handling symbolic links in cRecordings::ScanVideoDir() 2005-02-12 10:19:03 +01:00
Klaus Schmidinger
c4292b81b8 Fixed several memory leaks that were introduced through the use of cString 2005-02-06 09:48:08 +01:00
Klaus Schmidinger
286af66cfb Made several functions threadsafe (cont'd) 2004-12-26 12:45:22 +01:00
Klaus Schmidinger
1d3495a0f0 Made several functions threadsafe 2004-12-19 16:33:34 +01:00
Klaus Schmidinger
6a70d31734 Fixed the buffer size in cRecording::SortName() 2004-11-01 14:05:16 +01:00
Klaus Schmidinger
0b62aff0e3 Now using qsort() to sort cListBase lists 2004-11-01 10:40:38 +01:00
Klaus Schmidinger
5e731865a6 Making sure that timers and channels are only saved together 2004-10-31 10:22:32 +01:00
Klaus Schmidinger
c99e16ec41 Removed all error messages from cRecordings::ScanVideoDir() 2004-07-17 11:22:29 +02:00
Klaus Schmidinger
5ed57fa1c5 The list of recordings is now kept statically in memory 2004-06-13 20:26:51 +02:00
Klaus Schmidinger
5d99df7b77 Implemented 'skins' and 'themes' 2004-05-16 10:35:36 +02:00
Klaus Schmidinger
8b96cd93b9 Fixed getting the list of recordings in case VDR is started from a directory where it doesn't have access to 2003-11-08 15:46:29 +01:00
Klaus Schmidinger
c23a93f302 Fixed handling comments in editing marks 2003-10-24 15:49:30 +02:00
Klaus Schmidinger
8de5fbcbe1 Edited recordings will now never be deleted automatically if the disk runs full 2003-10-17 14:40:37 +02:00
Klaus Schmidinger
19efbe4503 Fixed dropping out of replay mode while viewing a recording that is still going on 2003-09-09 16:09:05 +02:00
Klaus Schmidinger
12d5d01faa Removing deleted recordings faster than normal when cutting 2003-08-17 09:18:40 +02:00
Klaus Schmidinger
fc19cf3527 Fixed staying off the end of an ongoing recording while replaying in time shift mode 2003-08-15 15:24:54 +02:00
Klaus Schmidinger
77b56da51f Fixed breaking off replay in case the user hits "Play" or "Pause" too soon after going into "Pause live video" mode 2003-05-30 13:23:54 +02:00
Klaus Schmidinger
743a3ec123 Fixed resume file handling in case the resume.vdr file can't be written 2003-05-24 11:22:34 +02:00
Klaus Schmidinger
a28e2ef5b5 No longer waiting inside cIndexFile::CatchUp() to avoid shortly blocking replay at the end of a recording 2003-05-18 15:21:14 +02:00
Klaus Schmidinger
11df7f8100 Further increased the timeout until an index file is considerd no longer to be written 2003-05-11 13:09:28 +02:00
Klaus Schmidinger
249a4ab959 Fixed minimum lifespan of deleted recordings 2003-04-27 15:56:04 +02:00
Klaus Schmidinger
7c84508417 Implemented a 'resume ID' which allows several users to each have their own resume.vdr files 2003-04-12 10:06:21 +02:00
Klaus Schmidinger
0f9f3f057a Fixed a crash in case the index file can't be accessed any more during replay 2003-03-30 13:31:32 +02:00
Klaus Schmidinger
f2517f2c3a Further increased the timeout until an index file is considerd no longer to be written 2003-03-30 13:07:44 +02:00
Klaus Schmidinger
bcb0aca954 Limiting Subtitle length when creating a recording file name from EPG data 2003-01-06 15:37:33 +01:00
Klaus Schmidinger
43b582a04d Increased the timeout until an index file is considerd no longer to be written 2002-12-23 12:41:20 +01:00
Klaus Schmidinger
ac9622bb8a Timers now internally have a pointer to their channel 2002-10-20 12:28:55 +02:00
Klaus Schmidinger
e2aee54d12 Changed a few leftover 'new char[...]' to MALLOC(char, ...) 2002-10-13 09:11:16 +02:00
Klaus Schmidinger
962596f4ab Modified channel handling; full DiSEqC support 2002-10-06 10:25:42 +02:00
Klaus Schmidinger
02f34ec0bf Fixed replaying the last few seconds of a recording 2002-08-24 15:08:25 +02:00
Klaus Schmidinger
9a1a16f3d4 Consistently using malloc/free and new/delete 2002-08-11 13:32:23 +02:00
Klaus Schmidinger
fdbb731ab2 Made VFAT handling more tolerant 2002-07-27 12:55:14 +02:00
Klaus Schmidinger
7ade39597a Activated cutting 2002-06-22 10:11:59 +02:00
Klaus Schmidinger
a4bfddd2f9 Totally rearranged device/player/recorder structures 2002-06-16 12:57:31 +02:00
Klaus Schmidinger
d4893ad1fe Improved the [eid]syslog() macros 2002-05-13 16:35:49 +02:00
Klaus Schmidinger
2e3030a963 Now encoding '.' at the end of a directory name in case of VFAT=1 2002-04-21 14:10:31 +02:00
Klaus Schmidinger
5e4834e737 Fixed a bug when a timer records over midnight of a day that had a change in Daylight Saving Time 2002-04-01 11:04:47 +02:00
Klaus Schmidinger
c751c195c1 Improved usage of 'safe_write()' 2002-03-23 16:17:39 +01:00
Klaus Schmidinger
460e907cb9 Now writing the title of a recording into the 'summary.vdr' file 2002-03-23 11:37:28 +01:00
Klaus Schmidinger
45180b762f Physically removing a deleted recording if one with the same name shall be deleted again 2002-03-16 12:19:14 +01:00
Klaus Schmidinger
a9fd732a72 Added log messages when deleting recordings in case the disk runs full while recording 2002-03-09 10:45:10 +01:00
Klaus Schmidinger
0294221a0d Fixed a comment typo 2002-03-07 17:07:04 +01:00
Klaus Schmidinger
67cbbd7ba3 Taking the German umlauts 'as is' when compiled with VFAT 2002-02-24 11:22:30 +01:00
Klaus Schmidinger
42c2dad611 Fixed the 'Low disk space!' message 2002-02-15 22:24:30 +01:00
Klaus Schmidinger
e841bc096f Removed '#define VFAT 1' (was a leftover from testing) 2002-02-15 22:10:22 +01:00
Klaus Schmidinger
4fc173748b No more trailing '~' in progress display 2002-02-10 15:41:23 +01:00
Klaus Schmidinger
1b3d0f1d1b If compiled with VFAT=1, characters that can't be handled by a VFAT system are now encoded to '#XX' 2002-02-10 14:21:36 +01:00
Klaus Schmidinger
deb9f88710 Implemented TITLE and EPISODE keywords 2002-02-03 15:55:04 +01:00
Klaus Schmidinger
fe5809c4e3 Reverted to 'find' instead of 'ftw()' to collect recordings (ftw() was much slower) 2002-01-27 15:14:45 +01:00
Klaus Schmidinger
873286b7a3 Ignoring 'stale NFS file handle' error when scanning recordings 2002-01-27 14:10:25 +01:00
Klaus Schmidinger
f0a4b1c417 A message is now prompted if free disk space becomes low during recording 2002-01-26 15:25:37 +01:00
Klaus Schmidinger
503c803b8d Fixed handling file names that contain single quotes or dollar signs in calls to external commands 2002-01-26 12:04:32 +01:00
Klaus Schmidinger
305abd449f Now using 'ftw()' instead of an external 'find' to collect recordings 2002-01-20 16:47:09 +01:00
Klaus Schmidinger
fd839aae7b The 'Recordings' menu now displays a hierarchical structure 2002-01-20 14:05:28 +01:00
Klaus Schmidinger
60ee85bf17 Closing all open file descriptors when calling external programs 2001-10-20 10:39:27 +02:00
Klaus Schmidinger
6de7f7e8b2 Fixed timers starting and ending at unexpected times 2001-10-19 13:22:24 +02:00
Klaus Schmidinger
6c41138bdd Moved the _GNU_SOURCE macro into the Makefile 2001-10-07 15:14:50 +02:00
Klaus Schmidinger
b8471a3f11 Sorting recordings internally, with episodes sorted chronologically 2001-10-07 11:00:35 +02:00
Klaus Schmidinger
a0d04288c6 Lock file for accessing the video directory 2001-09-30 10:38:06 +02:00
Klaus Schmidinger
f412897373 Calling the '-r' program after editing, too 2001-09-23 14:02:11 +02:00
Klaus Schmidinger
22ccf22f6f Using subtitle for repeating timers; taking summary at recording time 2001-09-02 15:21:54 +02:00
Klaus Schmidinger
0d75710545 Using '~' in recording filename 2001-09-02 10:28:20 +02:00
Klaus Schmidinger
7fd56f7d6f Copying summary info when cutting a recording 2001-09-01 13:38:09 +02:00
Klaus Schmidinger
000ce0cf21 Made I/O more robust by handling EINTR 2001-08-12 15:22:48 +02:00
Klaus Schmidinger
ef0aba26bd VFAT switch exchanges ':' in recording names; modified exchanging characters 2001-06-16 10:36:13 +02:00
Klaus Schmidinger
f585f21583 Fixed removing recordings with Lifetime = 99 2001-06-12 15:32:47 +02:00
Klaus Schmidinger
c40e4eb96e Converted to the new API plus several small enhancements 2001-06-02 10:47:40 +02:00
Klaus Schmidinger
5d997d4622 Fixed a problem with Daylight Saving Time 2001-03-31 09:39:25 +02:00
Klaus Schmidinger
ad27adfef3 Compile time switch VFAT to enable Windows compatible file names 2001-02-18 16:21:05 +01:00
Klaus Schmidinger
80a42f1300 Removing empty directories 2001-02-11 14:53:44 +01:00
Klaus Schmidinger
535e755278 Implemented 'Rewind' in the 'Recordings' menu 2001-02-11 11:04:41 +01:00
Klaus Schmidinger
1c81b279ee Automatically removing deleted recordings after a while 2001-02-04 12:36:32 +01:00
Klaus Schmidinger
35343eaf47 Fixed a problem with recordings that have a single quote character in their name (this is now mapped to 0x01) 2001-01-13 12:17:30 +01:00
Klaus Schmidinger
bd4afb48fc Fix for some compilers 2001-01-01 14:48:03 +01:00
Klaus Schmidinger
4e354bc9a0 Implemented 'on disk editing' 2000-12-28 12:57:16 +01:00
Klaus Schmidinger
ec5f332a5b Implemented a 10 seconds latency when removing files 2000-11-18 16:26:50 +01:00
Klaus Schmidinger
ef7f4ea176 Replacing problematic characters in recording names 2000-11-01 16:04:57 +01:00
Klaus Schmidinger
19f9f9cfce Fixed daemon mode (RcIo and Interface no longer static) 2000-10-08 12:24:30 +02:00
Klaus Schmidinger
71c17e5064 Implemented 'new recording' indicator 2000-10-03 12:44:15 +02:00
Klaus Schmidinger
e4f7e025e5 No longer displaying the year in the 'Recordings' menu 2000-10-03 11:39:04 +02:00
Klaus Schmidinger
6a50f37f25 Faster OSD by using bitmap 2000-10-03 10:34:48 +02:00
Klaus Schmidinger
0f2099b4f2 Support for more than one video directory 2000-07-29 15:21:42 +02:00
Klaus Schmidinger
92096e097a Added command line option '-v' 2000-07-28 13:44:31 +02:00
Klaus Schmidinger
7ac97639da Added missing include file 2000-07-28 12:45:18 +02:00
Klaus Schmidinger
07d92eaee7 Implemented 'summary' feature 2000-07-24 16:43:04 +02:00
Klaus Schmidinger
d0179ea219 Improved handling of blanks in channel and timer names 2000-07-16 15:02:33 +02:00
Klaus Schmidinger
685e0f6951 Year is now displayed with only 2 digits 2000-07-16 13:46:05 +02:00
Klaus Schmidinger
8393525165 The 'Recordings' menu is now listed alphabetically 2000-07-16 10:00:04 +02:00
Klaus Schmidinger
5d34487621 Fixed deleting small files 2000-05-13 16:16:56 +02:00
Klaus Schmidinger
49ce70fdb3 Better encapsulation of record control 2000-04-30 10:22:13 +02:00
Klaus Schmidinger
dc14014c6e Changed program file name to 'vdr' 2000-04-24 09:46:05 +02:00
Klaus Schmidinger
bd029fcce9 Bugfix in titleBuffer handling 2000-04-24 09:35:29 +02:00
Klaus Schmidinger
160c6ec5eb Implemented replay progress display 2000-04-23 15:38:16 +02:00
Klaus Schmidinger
38f799579d Removed DvbApi access from recording.c; added direct channel select 2000-04-16 15:50:21 +02:00
Klaus Schmidinger
735093b8fa Implemented actual record/replay; support for CICAM 2000-04-15 17:38:11 +02:00
Klaus Schmidinger
571686d909 Menu uses colors; support for RGYB buttons; fixed DEBUG_REMOTE; Add, Del and Move for channels and timers; basic record/play file handling 2000-03-11 11:22:37 +01:00