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

296 Commits

Author SHA1 Message Date
Klaus Schmidinger
a906cd52df The index file is now closed after initially reading it if it is older than 3600 seconds 2013-01-25 14:32:11 +01:00
Klaus Schmidinger
a9099cb4d3 Revoked 'Fixed sorting recordings in case the locale ignores non-alphanumeric characters' 2013-01-16 14:19:11 +01:00
Klaus Schmidinger
d1d157d755 Fixed sorting recordings in case the locale ignores non-alphanumeric characters, or if two folders have the same name, but one of them ends in an additional digit 2013-01-13 11:57:50 +01:00
Klaus Schmidinger
db59a8e745 Fixed replaying ongoing recordings from other VDR instances 2012-12-24 09:00:55 +01:00
Klaus Schmidinger
dee67e7061 Fixed cIndexFile::GetNextIFrame() to properly handle the case where the very last frame is an I-frame 2012-12-23 13:37:13 +01:00
Klaus Schmidinger
d6efa529c9 Fixed replay stuttering close to the end of an ongoing recording 2012-12-23 13:32:26 +01:00
Klaus Schmidinger
9a0236b9e2 Changed reading and writing of floating point numbers into configuration files to make it independent of the decimal point used in the current locale 2012-12-06 10:29:23 +01:00
Klaus Schmidinger
0f7b73016a Fixed creating the edited version directory if a relative file name is given in the call to 'vdr --edit' 2012-12-05 11:12:33 +01:00
Klaus Schmidinger
41f94447d6 When regenerating the index of a recording, the frame rate stored in the info file is now automatically fixed if it differs from the value detected by the frame detector 2012-12-05 10:37:41 +01:00
Klaus Schmidinger
4db9a3b636 Fixed getting the number of editing sequences in case the last sequence has no actual end mark 2012-11-26 09:39:59 +01:00
Klaus Schmidinger
8f9136ecab In order to be able to play TS recordings from other sources, in which there is more than one PMT PID in the PAT, 'int cPatPmtParser::PatPmt(void)' has been changed to 'bool cPatPmtParser::IsPatPmt(int Pid)' 2012-11-19 10:32:31 +01:00
Klaus Schmidinger
cca2cd35ad Improved editing TS recordings 2012-11-18 12:19:51 +01:00
Klaus Schmidinger
bc06fdf414 The return type of cMarks::Add() has been changed to void 2012-11-12 14:51:18 +01:00
Klaus Schmidinger
b951ca48a5 Fixed handling the very last entry in a recording index 2012-11-12 14:50:02 +01:00
Klaus Schmidinger
f98ae169e1 Fixed regenerating the index in case the recording spans over several files (was a side effect of the new frame detection) 2012-11-04 15:27:44 +01:00
Klaus Schmidinger
b19e6d071f Fixed shifting editing marks towards the next I-frame in case of PES recordings 2012-11-03 11:25:13 +01:00
Klaus Schmidinger
57a3169013 Improved frame detection by parsing just far enough into the MPEG-4 NAL units to get the necessary information about frames and slices; the initial syncing of the frame detector is now done immediately after the first complete GOP has been seen 2012-11-02 14:35:57 +01:00
Klaus Schmidinger
15bb8ca60d If a frame position in the 'marks' file of a recording doesn't point to an I-frame, it will now be shifted towards the next I-frame 2012-10-15 11:23:59 +02:00
Klaus Schmidinger
1e9b16d20b The cThread constructor now has an additional boolean parameter that can be set to true to have this thread run at a lower priority 2012-10-04 12:32:31 +02:00
Klaus Schmidinger
5a407d0e68 cIoThrottle::Engaged() is now also checked in cRemoveDeletedRecordingsThread::Action() 2012-10-03 12:58:02 +02:00
Klaus Schmidinger
f1000d75c0 Added 'IgnoreFiles' to RemoveEmptyDirectories() 2012-09-30 13:05:14 +02:00
Klaus Schmidinger
62dee6514a Fixed sorting folders before recordings in case of UTF-8 2012-09-29 10:05:49 +02:00
Klaus Schmidinger
e6526ae269 The script given to VDR with the '-r' option is now also called whenever a recording is deleted 2012-09-17 09:03:01 +02:00
Klaus Schmidinger
cc16e9fdc7 If regenerating an index file fails and no data is written to the file, VDR now reports this error and removes the empty index file 2012-09-13 11:18:53 +02:00
Klaus Schmidinger
2ceb19e566 Fixed getting the file size and number of frames of ongoing recordings 2012-09-06 10:07:25 +02:00
Klaus Schmidinger
f7a1954fe3 Fixed a long delay at the end when replaying a recording that has stopped recording less than an hour ago 2012-09-05 14:16:52 +02:00
Klaus Schmidinger
f4aabad2ae Fixed sorting recordings in the top level video directory 2012-07-15 10:52:16 +02:00
Klaus Schmidinger
440c119b0a Implemented sort mode for recordings 2012-06-09 14:32:29 +02:00
Klaus Schmidinger
3efb79c855 Speeded up opening menus on systems with many (several thousands) of recordings, by caching the information whether a recording is stored on the video directory file system within the cRecording data 2012-06-03 10:03:55 +02:00
Klaus Schmidinger
78e11d8c6f Extended the interface to the script that gets called for recordings, so that in the "edited" case it also provides the name of the original recording 2012-06-02 13:57:41 +02:00
Klaus Schmidinger
cdaf99121b If a recording has no info file, the 'title' of the recording's info is now set to the recording's name 2012-05-20 13:55:34 +02:00
Klaus Schmidinger
71f02e4f80 When estimating the remaining disk space (in hours), the average data rate of all existing recordings is now taken into account 2012-03-13 13:22:06 +01:00
Klaus Schmidinger
ed10aaf68b Improved fast forwarding to the end of a timeshift recording 2012-03-12 14:53:59 +01:00
Klaus Schmidinger
cd0f403bbc Added some typecasts to silence gcc compiler warnings 2012-02-26 14:02:17 +01:00
Klaus Schmidinger
23ec57d822 Fixed switching into time shift mode when pausing live video 2012-02-19 11:50:20 +01:00
Klaus Schmidinger
882691e32f cReadDir::Next() now skips directory entries "." and ".." 2012-02-17 14:02:13 +01:00
Klaus Schmidinger
26d2fe51d1 An ongoing editing process is now canceled if either the original or the edited version of the recording is deleted from the Recordings menu 2012-02-16 12:20:46 +01:00
Klaus Schmidinger
adc88b3790 Reactivated "Fixed handling symbolic links in cRecordings::ScanVideoDir()" 2012-02-13 11:49:43 +01:00
Klaus Schmidinger
b3891d8319 Symbolic links are no longer resolved in cRecordings::ScanVideoDir() 2012-01-26 10:04:01 +01:00
Klaus Schmidinger
9e7a2134b4 Fixed cRecording::LengthInSeconds(), which wrongfully rounded the result to full minutes 2012-01-25 09:34:24 +01:00
Klaus Schmidinger
98a443cc61 Revoked "Fixed handling symbolic links in cRecordings::ScanVideoDir()" 2012-01-16 12:09:38 +01:00
Klaus Schmidinger
c36c65416e Fixed wrongfully displaying the length of a recording in the title of the replay progress display 2012-01-15 11:12:58 +01:00
Klaus Schmidinger
262f20eaa0 Changed IndexToHMSF() so that it can handle negative Index values 2012-01-14 13:00:47 +01:00
Klaus Schmidinger
4dd52ffe39 Fixed a memory leak in cRecordings::ScanVideoDir() in case there are too many link levels 2011-12-10 14:29:38 +01:00
Klaus Schmidinger
773c4419ea Fixed handling symbolic links in cRecordings::ScanVideoDir() 2011-12-10 14:14:58 +01:00
Klaus Schmidinger
abb95de8a9 Implemented the SVDRP command UPDR 2011-12-04 13:58:33 +01:00
Klaus Schmidinger
96061c5b40 Revoked the changes to cFrameDetector that have been introduced in version 1.7.19 2011-09-04 10:13:14 +02:00
Klaus Schmidinger
6700e772e5 The Recordings menu now displays the length (in hours:minutes) of each recording 2011-08-27 11:14:54 +02:00
Klaus Schmidinger
dac837d38d Implemented cRecording::NumFrames() and cRecording::LengthInSeconds() 2011-08-21 13:47:07 +02:00
Klaus Schmidinger
97ad2fa95d Direct access to several class members is now deprecated 2011-08-21 11:34:30 +02:00
Klaus Schmidinger
e5d2240bbb The start time of an edited recording is now set to the time of the first editing mark 2011-08-20 10:09:05 +02:00
Klaus Schmidinger
3000906715 The length (as number of frames) of a recording's index file can now be determined by a call to cIndexFile::GetLength() 2011-08-13 12:45:42 +02:00
Klaus Schmidinger
ef611229f3 Implemented static cIndexFile::IndexFileName() 2011-08-13 11:16:41 +02:00
Klaus Schmidinger
72d342ce02 Fixed detecting frames in case the Picture Start Code or Access Unit Delimiter extends over TS packet boundaries (cont'd) 2011-06-12 14:06:11 +02:00
Klaus Schmidinger
c670c0645f Avoiding an unecessary call to Recordings.ResetResume() 2011-04-17 13:58:29 +02:00
Klaus Schmidinger
5138ccc1ce Added a patch from Udo Richter 2011-04-17 13:22:44 +02:00
Klaus Schmidinger
4ed9d95394 Replaced "%lld" and "%llX" print format specifiers with "PRId64" and "PRIX64" 2011-03-27 15:12:20 +02:00
Klaus Schmidinger
31d4abab37 Made updating the editing marks during replay react faster in case the marks file has just been written 2011-03-20 11:46:58 +01:00
Klaus Schmidinger
61c6b36bbc While replaying, the editing marks are now updated every 10 seconds 2011-02-27 13:40:43 +01:00
Klaus Schmidinger
d1ab9dbc5f Now checking the result of all realloc() calls 2011-02-25 15:25:42 +01:00
Klaus Schmidinger
9f60bd2fc4 Now updating the 'frames per second' data in the list of recordings when a new recording is started that has a frame rate other than the default 2010-12-27 12:25:19 +01:00
Klaus Schmidinger
42928ff2d3 The full timer file name is now displayed if it ends with "TITLE" or "EPISODE" 2010-03-07 14:15:04 +01:00
Klaus Schmidinger
a503c6ab3f The "Edit timer" menu can now set the folder for the recording from a list of folders stored in "folders.conf" 2010-01-17 12:08:03 +01:00
Klaus Schmidinger
b5edaaa7cc Implemented --edit and --genindex options 2010-01-02 14:02:48 +01:00
Klaus Schmidinger
6a208294be Several code modifications to avoid compiler warnings 2009-12-06 12:57:45 +01:00
Klaus Schmidinger
a5e9da1de3 Fixed resetting the file size when regenerating the index file 2009-11-22 19:55:45 +01:00
Klaus Schmidinger
8ffbea3788 Fixed generating the index for recordings from channels that put a whole GOP into one payload unit; regenerating index file 2009-11-22 11:30:27 +01:00
Klaus Schmidinger
a397b8a512 Fixed cRecordings::DelByName() to avoid compilation errors with gcc 4.4 2009-08-16 10:42:05 +02:00
Klaus Schmidinger
884d10fbf6 Fixed variable types in cIndexFile 2009-06-13 13:35:49 +02:00
Klaus Schmidinger
e392051752 Fixed index types in cIndexFile::GetNextIFrame() 2009-06-13 12:25:22 +02:00
Klaus Schmidinger
1d03f30e93 Added some missing 'const' keywords to avoid compilation errors with gcc 4.4 2009-06-06 13:48:41 +02:00
Klaus Schmidinger
e51e38bc33 Fixed generating PAT/PMT version numbers in case the PIDs change during recording 2009-05-24 15:11:28 +02:00
Klaus Schmidinger
5b57bdebdc Added cThread::SetIOPriority() and using it in cRemoveDeletedRecordingsThread 2009-04-13 13:55:23 +02:00
Klaus Schmidinger
7f314c07b6 Reverted back to previous version of RemoveDeletedRecordings(), because the thread was started every minute 2009-04-13 12:29:10 +02:00
Klaus Schmidinger
1d829aaf6d No longer checking for deleted recordings to be removed from the foreground thread 2009-04-12 14:20:52 +02:00
Klaus Schmidinger
9a7473eaf3 Fixed handling the 'new' indicator in the recordings menu for TS recordings 2009-01-30 16:48:40 +01:00
Klaus Schmidinger
c5553f9187 Fixed editing PES recordings 2009-01-24 13:16:43 +01:00
Klaus Schmidinger
fa848a6f2e Added an 'int' typecast to calculations involving FramesPerSecond() to avoid compiler warnings 2009-01-24 11:42:24 +01:00
Klaus Schmidinger
3434f061b3 Implemented option '-i' 2009-01-18 11:10:29 +01:00
Klaus Schmidinger
c7ce1c37e3 Fixed removing deleted recordings in case there is a problem 2009-01-16 15:59:47 +01:00
Klaus Schmidinger
7de7ede26f The recording format is now Transport Stream 2009-01-06 14:41:11 +01:00
Klaus Schmidinger
2ee1e61d35 Fixed formatting 2008-05-22 10:40:08 +02:00
Klaus Schmidinger
0b1886875a Removed the compile time option VFAT 2008-05-03 10:19:31 +02:00
Klaus Schmidinger
7d1b84a997 Implemented handling the standard component descriptor for AC3 2008-05-01 15:41:04 +02:00
Klaus Schmidinger
ce7b0c94f7 Added the backslash ('\') to the list of characters that need to be escaped when executing external commands 2008-02-24 10:30:49 +01:00
Klaus Schmidinger
741400fa66 Fixed handling recordings on other file systems than the video directory 2008-02-16 13:38:22 +01:00
Klaus Schmidinger
6bef17cdec When deleting the recording that is currently replayed, the replay is now stopped immediately 2008-02-15 16:13:10 +01:00
Klaus Schmidinger
9495aa9923 Using cString::sprintf() instead of asprintf() 2008-02-15 14:57:48 +01:00
Klaus Schmidinger
5a44b8b801 Running the thread that removes deleted recordings at a low priority 2008-02-10 12:52:14 +01:00
Klaus Schmidinger
c568200d2e Fixed decoding filename characters in case there are not two hex digits after the '#' 2007-11-04 11:24:07 +01:00
Klaus Schmidinger
7780e3664a Added cRecording::Undelete() 2007-10-14 10:23:19 +02:00
Klaus Schmidinger
0c8cda9bd0 Implemented handling DVB subtitles 2007-10-12 14:52:30 +02:00
Klaus Schmidinger
da376c0603 The info.vdr file now also stores the name of the channel 2007-06-17 13:13:47 +02:00
Klaus Schmidinger
b532dc8229 Replaced strncpy() and strn0cpy() with Utf8Strn0Cpy() where necessary 2007-06-16 10:41:21 +02:00
Klaus Schmidinger
4011e244ff Modified handling invalid characters in VFAT mode 2007-06-16 08:59:39 +02:00
Klaus Schmidinger
09c6bced8d Fixed handling video directory updates in case an other process has touched the .update file after the last NeedsUpdate() check 2006-10-07 12:50:24 +02:00
Klaus Schmidinger
2d29eb90fe Fixed handling video directory updates in case the timestamp of the .update file is in the future 2006-09-16 12:14:06 +02:00
Klaus Schmidinger
ae4633feb0 Now invalidating /video cache _after_ cutting 2006-07-30 10:29:24 +02:00
Klaus Schmidinger
7367b6a832 Fixed a memory leak in closing the video file during replay 2006-04-29 13:23:15 +02:00
Klaus Schmidinger
33397874da Fixed a format string in recording.c to avoid a compiler warning on 64bit systems 2006-04-23 11:23:17 +02:00