Commit Graph

1660 Commits

Author SHA1 Message Date
Klaus Schmidinger bc269db4fc Disabled the use of fadvise in cUnbufferedFile because there have been several reports that it causes more problems than it solves 2006-01-05 11:32:32 +01:00
Klaus Schmidinger 645170db0a Added missing #include "thread.h" to dvbspu.c 2006-01-05 10:19:30 +01:00
Klaus Schmidinger d5d97c3d18 Removed an obsolete "Summary" text from i18n.c and preceded all key definition texts with "Key$" to avoid duplicates 2006-01-04 15:51:03 +01:00
Klaus Schmidinger a4ed08b37a A message is now given when an instant recording is started 2006-01-04 15:21:55 +01:00
Klaus Schmidinger 5821c26c5e Implemented "Setup/OSD/Timeout requested channel info" 2006-01-04 14:45:23 +01:00
Klaus Schmidinger b1836290c9 The "Menu" key now behaves consistently 2006-01-04 13:22:53 +01:00
Klaus Schmidinger fa0af7065e Now using FE_READ_STATUS to read the current frontend status 2006-01-04 11:48:38 +01:00
Klaus Schmidinger a94f6a8443 Added an example for a remote GRAB and display command 2006-01-03 17:04:47 +01:00
Klaus Schmidinger 1f44f9adc2 Added cMenuEditStrItem::InEditMode() 2006-01-03 12:50:58 +01:00
Klaus Schmidinger a9eed7bb7c Added cTimer::SetPriority() to set a timer's priority 2006-01-03 11:46:57 +01:00
Klaus Schmidinger f00372190d Changed DELETEDLIFETIME to 300 2006-01-03 11:39:48 +01:00
Klaus Schmidinger e9e8241d0d Fixed handling TS packets in cTS2PES 2006-01-03 11:00:38 +01:00
Klaus Schmidinger c01259dbb5 Fixed setting the main thread id if VDR is running as a daemon 2006-01-03 10:20:41 +01:00
Klaus Schmidinger 86197f0206 The cTimer constructor can now take an optional cChannel 2006-01-01 15:44:29 +01:00
Klaus Schmidinger 76e7a59f69 The Makefile now reports a summary of failed plugins 2006-01-01 15:14:06 +01:00
Klaus Schmidinger f50844d733 Fixed incrementing the 'state' variables in the repacker classes in remux.c to avoid warnings with g++ 4.1.0 2006-01-01 15:06:02 +01:00
Klaus Schmidinger dbc2abadd8 Fixed initializing pthread_mutexattr_t and pthread_rwlockattr_t to avoid warnings with g++ 4.1.0 2006-01-01 14:53:03 +01:00
Klaus Schmidinger 7d84ddefb3 Made the static cControl functions thread safe 2006-01-01 14:46:24 +01:00
Klaus Schmidinger fef0b70bb1 Removed unused variables in skinclassic.c and skinsttng.c 2006-01-01 14:40:09 +01:00
Klaus Schmidinger 26cb900ddf Fixed handling multi byte key sequences in cKbdRemote 2006-01-01 14:28:47 +01:00
Klaus Schmidinger 06b2245bcd The DVB devices now retune (and, if applicable, resend the DiSEqC data) if the lock is lost 2006-01-01 12:22:18 +01:00
Klaus Schmidinger 0e6296699e Changed the API of the functions cStatus::Recording() and cStatus::Replaying(), so that they can provide the full file name of the recording 2005-12-31 15:20:19 +01:00
Klaus Schmidinger 89df449715 When started as user 'root' VDR now switches to a lesser privileged user id, keeping the capability to set the system time 2005-12-31 13:30:11 +01:00
Klaus Schmidinger c65133979f Changed all "illegal" to "invalid" in error messages 2005-12-30 15:43:21 +01:00
Klaus Schmidinger 54af5518e4 Updated the Greek OSD texts 2005-12-30 15:31:57 +01:00
Klaus Schmidinger 3f21bf20c5 New option '-g'; fixed security hole CAN-2005-0071 when grabbing to file 2005-12-30 15:11:16 +01:00
Klaus Schmidinger 12b4f37ca3 The SVDRP command GRAB now optionally writes the image data to the SVDRP connection (encoded in base64) 2005-12-30 10:27:23 +01:00
Klaus Schmidinger 61fefd00bf Implemented cBase64Encoder 2005-12-29 16:02:37 +01:00
Klaus Schmidinger cb428520e6 cDevice::GrabImage() now returns a pointer to the image in memory; cDevice::GrabImageFile() grabs the image to a file 2005-12-29 14:51:59 +01:00
Klaus Schmidinger 5f7df33b1c The SVDRP command GRAB now determines the image type from the extension of the given file name 2005-12-29 12:18:27 +01:00
Klaus Schmidinger aa64d64d90 Converting a grabbed image to JPEG is now done with the new function RgbToJpeg() 2005-12-29 11:24:02 +01:00
Klaus Schmidinger d877846cc9 Dropped the unused "Stop recording on primary interface" stuff 2005-12-28 12:36:27 +01:00
Klaus Schmidinger bf4655197d Revoked the check for low symbol rates on FF cards (some actually can do this) 2005-12-28 12:28:37 +01:00
Klaus Schmidinger fbddcb2fd6 Removing deleted recordings is now done in a separate thread 2005-12-28 12:21:57 +01:00
Klaus Schmidinger 0795050f6d Modified red button handling in the "Schedule" menu 2005-12-27 15:06:26 +01:00
Klaus Schmidinger 1314d03411 cTimer no longer has its own 'schedule' member 2005-12-27 14:39:14 +01:00
Klaus Schmidinger 0b3d9a95fd The "Schedules" and "What's on now/next?" menus are now updated if a timer is set or modified 2005-12-27 11:27:38 +01:00
Klaus Schmidinger 1e121f6eed Schedules are now cleaned up once every hour (not only at 05:00) 2005-12-26 15:10:27 +01:00
Klaus Schmidinger 2d5f3497bf Modified cSchedule::Cleanup() (events are always sorted by time) 2005-12-26 15:09:21 +01:00
Klaus Schmidinger 56f4907309 Removed an invalid access to Event->schedule in cSchedule::DelEvent() 2005-12-26 14:48:46 +01:00
Klaus Schmidinger ad55230051 EPG events that are no longer in the currently broadcasted data stream are now automatically deleted 2005-12-26 14:44:28 +01:00
Klaus Schmidinger f94046db2e The version number of EPG events is now also stored in the epg.data file 2005-12-25 11:13:33 +01:00
Klaus Schmidinger 186a3213d0 The main menu now dynamically updates its contents 2005-12-24 15:53:53 +01:00
Klaus Schmidinger 587ea30ab4 Added a mutex to AssertFreeDiskSpace() to make sure calls from foreground and background threads won't interfere 2005-12-18 13:10:52 +01:00
Klaus Schmidinger 7a0af2292c Fixed handling OSD areas that have invalid sizes 2005-12-18 12:58:31 +01:00
Klaus Schmidinger df13d22c6c Fixed a possible crash when displaying the "Low disk space!" message from a background thread 2005-12-18 12:43:17 +01:00
Klaus Schmidinger 78990eb188 Now avoiding unnecessary disk access when checking if there are deleted recordings that need to be removed; fixed handling the DELETEDLIFETIME 2005-12-18 12:14:11 +01:00
Klaus Schmidinger 579719a7f2 When displaying the amount of free disk space, the space consumed by "deleted" recordings is now taken into account 2005-12-18 10:41:26 +01:00
Klaus Schmidinger db35165e25 Fixed the RCU remote control handling to avoid problems with NPTL 2005-12-16 14:53:58 +01:00
Klaus Schmidinger 72759ed131 Now using the gettid() syscall to get a thread's pid, so that we get a useful value on NPTL systems 2005-12-11 12:10:28 +01:00
Klaus Schmidinger dbb09c5ba1 Limited the frequency of log messages from the cRepackers 2005-12-03 15:01:01 +01:00
Klaus Schmidinger 48902e885f Now checking the channel's symbol rate in order to avoid problems on full featured DVB cards with symbol rates below 10000 2005-12-03 13:50:19 +01:00
Klaus Schmidinger 922649037f Improved TS/PES conversion to better handle lost TS packets 2005-12-03 12:18:15 +01:00
Klaus Schmidinger e3dd163461 Fixed handling second audio and Dolby Digital PIDs for encrypted channels (was broken in version 1.3.37) 2005-12-03 11:51:05 +01:00
Klaus Schmidinger 41f718987d Implemented message queueing 2005-11-27 15:57:03 +01:00
Klaus Schmidinger 22c5a38364 Added a copy constructor to cString and fixed its assignment operator 2005-11-26 14:16:02 +01:00
Klaus Schmidinger 71ccb6acb6 Fixed SetProgress() in the 'skincurses' plugin in case Total is 0 2005-11-26 13:55:38 +01:00
Klaus Schmidinger 3a97be4fe9 Implemented handling of the "CA PMT Reply" for CAMs; some preparations for being able to record several encrypted channels from the same transponder 2005-11-26 13:39:47 +01:00
Klaus Schmidinger 2fecf43be9 Removed a faulty lock advice 2005-11-13 16:23:58 +01:00
Klaus Schmidinger 2cae2ed28c Modified switching to Dolby Digital audio in live mode 2005-11-11 16:13:19 +01:00
Klaus Schmidinger 609a4cd6cf No longer removing superfluous hyphens in EPG data 2005-11-11 13:38:45 +01:00
Klaus Schmidinger 13e925c3f4 Fixed initializing the day index when editing the weekday parameter of a repeating timer 2005-11-11 13:31:02 +01:00
Klaus Schmidinger a311ea003e Added compiler options "-fPIC -g" to all plugins 2005-11-11 13:22:02 +01:00
Klaus Schmidinger d563468aec Fixed a typo 2005-11-06 15:35:01 +01:00
Klaus Schmidinger 40336edc2a Removed EPG bugfix #0, because it removed actually important data 2005-11-06 10:34:13 +01:00
Klaus Schmidinger ff64419396 Fixed setting the help key display in the Recordings menu in case of several layers of subdirectories 2005-11-06 09:44:58 +01:00
Klaus Schmidinger 27ab07e80d The EPG scan no longer disturbs players that have also set live PIDs 2005-11-05 15:48:05 +01:00
Klaus Schmidinger 596e965a53 Fixed a race condition in the SPU decoder 2005-11-05 12:12:18 +01:00
Klaus Schmidinger 9607fd33a0 cSVDRP now dynamically allocates its command buffer 2005-11-05 11:21:38 +01:00
Klaus Schmidinger 92af12daac cReadLine now dynamically allocates its buffer; changed cConfig::Load() to use cReadLine instead of a fixed buffer 2005-11-04 17:18:33 +01:00
Klaus Schmidinger 903e929a85 Updated the Dutch OSD texts 2005-11-04 14:39:01 +01:00
Klaus Schmidinger 259ed3055e Fixed a memory leak in cString::operator=() 2005-11-04 14:27:51 +01:00
Klaus Schmidinger fdfcfc021b Fixed missing '&' in the SetAreas() example in PLUGINS.html 2005-11-04 14:25:00 +01:00
Klaus Schmidinger 52f17c043b Removed '\n' from several syslog() calls 2005-11-04 14:22:04 +01:00
Klaus Schmidinger 159c7e283d A menu is no longer automatically closed when a replay ends 2005-11-04 13:52:31 +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 ccea93eb11 Fixed the cFilter example in PLUGINS.html 2005-10-30 14:06:40 +01:00
Klaus Schmidinger cffc2595ac Updated the French OSD texts 2005-10-30 13:39:26 +01:00
Klaus Schmidinger 6fc1de063e Updated the Greek OSD texts 2005-10-30 13:26:17 +01:00
Klaus Schmidinger 6e982f765e Fixed lock handling in CAM communication to avoid problems with multiple CAMs per device or CAMs with more than one smart card 2005-10-30 13:21:23 +01:00
Klaus Schmidinger 3c59953017 Added missing mutex locks to cCiMenu::Abort() and cCiEnquiry::Abort() 2005-10-30 10:27:24 +01:00
Klaus Schmidinger 64c2b3b0de Updated the Estonian OSD texts 2005-10-14 13:21:09 +02:00
Klaus Schmidinger 96ccd4a16a Updated the Danish OSD texts 2005-10-14 13:17:00 +02: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 bf779b3bfe Fixed a leftover 'summary.vdr' in vdr.1 2005-10-09 12:31:52 +02:00
Klaus Schmidinger fdf54512ba Updated the Finnish OSD texts 2005-10-09 11:23:18 +02:00
Klaus Schmidinger 325163c0ef Added '__attribute__' to functions that use printf() like parameters 2005-10-09 11:14:14 +02:00
Klaus Schmidinger 22ee421be9 Making sure no item is displayed as "current" if Up, Down, Left or Right is pressed in a menu with no selectable items 2005-10-09 11:00:50 +02:00
Klaus Schmidinger ccaa4e961e Fixed a possible endless loop in a menu with no selectable items if Setup.MenuScrollWrap is true 2005-10-09 10:45:48 +02:00
Klaus Schmidinger 6a8e2a99cb Now using daemon() instead of fork() to run VDR in daemon mode 2005-10-09 10:05:21 +02:00
Klaus Schmidinger e83482945d Updated 'sources.conf' 2005-10-08 08:49:57 +02:00
Klaus Schmidinger 7346a03094 Improved the CAM enquiry menu (cont'd) 2005-10-03 13:00:00 +02:00
Klaus Schmidinger 4acbc0fd47 The 'sub-title' and 'bottom text' in the CAM menu can now consist of several lines 2005-10-03 11:26:07 +02:00
Klaus Schmidinger c03de9e15e The character 0x8A in CAM menu strings is now mapped to a real newline 2005-10-03 10:32:51 +02:00
Klaus Schmidinger 2cc029066b Fixed handling of menus with no selectable items 2005-10-02 15:04:34 +02:00
Klaus Schmidinger 11be63aa2c Added status message "Opening CAM menu... for an immediate feedback when the CAM menu has been requested; speeded up initial opening of the CAM menu 2005-10-02 14:43:56 +02:00
Klaus Schmidinger 969cd51b68 Reduced MAX_CONNECT_RETRIES in ci.c to 2 2005-10-02 14:10:51 +02:00
Klaus Schmidinger 8365632b3f The CAM menu is now completely closed when pressing the Menu key while inside a sub menu 2005-10-02 13:54:34 +02:00
Klaus Schmidinger 283a6f83f9 Now skipping some funny characters sent by some CAMs at the beginning of strings 2005-10-02 13:13:31 +02:00