Commit Graph

257 Commits

Author SHA1 Message Date
Klaus Schmidinger 2bdb599fbc Added renaming and moving recordings and folders, and editing a recording's priority and lifetime; added cutting queue 2013-10-10 13:13:30 +02:00
Klaus Schmidinger 3971cc6e88 Removed the code for distributing recordings over several video directories; added the cVideoDirectory plugin API 2013-09-11 12:20:37 +02:00
Klaus Schmidinger a0a4421278 No longer trying to delete old recordings in AssertFreeDiskSpace() if the given Priority is less than 1 2013-08-21 13:56:33 +02:00
Klaus Schmidinger c979ef393b Fixed handling '/' and '~' in recording file names in case DirectoryEncoding is used 2013-04-11 08:17:17 +02:00
Klaus Schmidinger bc72b7e6cd Fixed using PATH_MAX and NAME_MAX (+/-1 because the first one includes the terminating 0, while the latter doesn't) 2013-03-11 11:07:59 +01:00
Klaus Schmidinger db8cf38b5b Implemented the setup option "OSD/Always sort folders first" 2013-03-04 14:11:47 +01:00
Klaus Schmidinger f239934bf9 When sorting recordings by name, folders are now always at the top of the list 2013-03-03 11:04:22 +01:00
Klaus Schmidinger 3ca58a42e7 Removed trailing whitespace 2013-02-17 13:19:36 +01:00
Klaus Schmidinger d2ef44f8f5 Fixed moving editing marks, so that they don't get overwritten with old values through an update of the marks file 2013-02-11 11:27:34 +01:00
Klaus Schmidinger 7f66e1573e New command line option --dirnames 2013-02-08 09:24:55 +01:00
Klaus Schmidinger a5426b58c6 Improved responsiveness during replay when close to the recording's end 2013-01-25 14:34:08 +01:00
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