Commit Graph

1731 Commits

Author SHA1 Message Date
Klaus Schmidinger f415169064 Skipping all SetCaps() and SetUser() calls when it is started as 'root' and "-u root" is given 2006-01-09 16:54:35 +01:00
Klaus Schmidinger df65f4a2f1 Fixed handling "more than 3 byte" key sequences in cKbdRemote::ReadKeySequence() 2006-01-08 17:17:20 +01:00
Klaus Schmidinger 227034f8e6 Fixed the "plugins-clean" and "plugins-install" targets in the Makefile 2006-01-08 16:14:12 +01:00
Klaus Schmidinger f38b7871ad Added a missing #include <linux/unistd.h> to thread.c 2006-01-08 16:05:23 +01:00
Klaus Schmidinger f993ff108b The SVDRP command LSTT now accepts the new option 'id' 2006-01-08 13:33:57 +01:00
Klaus Schmidinger 419f3ab5f7 Removed obsolete "scanning recordings..." text 2006-01-08 11:58:26 +01:00
Klaus Schmidinger 2d863532cc Cleaned up some trailing white space 2006-01-08 11:44:37 +01:00
Klaus Schmidinger 4016a630be Added a SleepMs() in cRecorder::Action() to avoid a busy loop 2006-01-08 11:03:44 +01:00
Klaus Schmidinger b464dc407d Added a mutex to synchronize cDevice::PlayPesPacket() and SetCurrentAudioTrack() 2006-01-08 10:13:38 +01:00
Klaus Schmidinger f7bf9b4090 Preceded all button texts with "Button$"; Removed obsolete "Eject" and "Language" texts 2006-01-07 15:54:10 +01:00
Klaus Schmidinger e8ee9a1c4b Adapted c(Dvb)Device::ProvidesCa() to the dynamic CA handling 2006-01-07 15:16:09 +01:00
Klaus Schmidinger e0d5ebf8fd The file 'ca.conf' is obsolete and has been removed; revised all descriptions regarding CICAM 2006-01-07 14:10:17 +01:00
Klaus Schmidinger 2e0a3f273a Fixed the "Day" field of the "Edit timer" menu when pressing '0' to switch from "single shot" to "weekly", followed by the "Right" key 2006-01-07 11:24:08 +01:00
Klaus Schmidinger 9bbd68f357 Implemented letter input via numeric keys (Easy 2006-01-06 16:57:41 +01:00
Klaus Schmidinger 72e93b614b The "flags" of a timer are now handled as an unsigned integer value 2006-01-06 14:31:57 +01:00
Klaus Schmidinger 16f037e3c2 Any cReceivers still attached to a cDevice when that device switches to a different transponder are now automatically detached 2006-01-06 13:55:57 +01:00
Klaus Schmidinger 700b88bc4d Implemented the "Info" key 2006-01-06 12:53:28 +01:00
Klaus Schmidinger c0f1fc817e The default cOsdObject::Show() now automatically calls cOsdMenu::Display() if this is a menu 2006-01-05 15:35:06 +01:00
Klaus Schmidinger 01bbd53fa1 The "Mark/Move" function in the "Channels" menu now also works in the non-numeric sort modes 2006-01-05 15:11:04 +01:00
Klaus Schmidinger 739fcc7aff In the "Channels" menu the numeric keys now position the cursor to the channel with the given number 2006-01-05 13:43:07 +01:00
Klaus Schmidinger 02ae3e98d4 Removed unused 'offset' member from cOsdItem 2006-01-05 12:42:11 +01:00
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
Klaus Schmidinger 2fc075f5f9 The CAM menu now automatically updates itself in case of a progress display 2005-10-02 12:59:53 +02:00
Klaus Schmidinger 8302d81af2 Added status message "Resetting CAM..." for an immediate feedback when the CAM reset has been triggered 2005-10-02 10:20:19 +02:00
Klaus Schmidinger 23aa374e3d Improved displaying 'sub-title' and 'bottom text' in the CAM menu 2005-10-02 09:59:30 +02:00
Klaus Schmidinger 704e17859f Fixed setting current menu item if the first one is non-selectable; cOsdItem::cOsdItem() now has a 'Selectable' parameter 2005-10-02 09:57:52 +02:00
Klaus Schmidinger ba24e93d82 Added a check against MAXOSDAREAS in cOsd::CanHandleAreas() 2005-10-02 08:49:36 +02:00
Klaus Schmidinger 4b8ff61901 Fixed the FATALERRNO macro to check for a non-zero errno value 2005-10-01 12:48:34 +02:00
Klaus Schmidinger f3c99e697f Fixed a crash in cConfig::Load() when compiling on the PPC 2005-10-01 10:43:01 +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 46a89d211b Fixed an unjustified "Error while accessing recording!" after deleting a recording from a subfolder 2005-10-01 10:13:27 +02:00
Klaus Schmidinger 8f6bfd1ae7 Fixed opening recording folders in case the last replayed recording no longer exists 2005-10-01 10:11:33 +02:00
Klaus Schmidinger ecc07e33f3 Fixed a leftover 'summary.vdr' in vdr.5 2005-09-26 21:40:16 +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 5e89427ffc Updated the Russian OSD texts 2005-09-25 12:22:13 +02:00
Klaus Schmidinger a12bea799d Updated the Romanian OSD texts 2005-09-25 11:51:34 +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 83985eff47 The SVDRP command DELR no longer triggers a complete reload of the global Recordings list, but rather deletes that particular entry 2005-09-18 10:51:54 +02:00
Klaus Schmidinger e7d98d2ee6 Removed obsolete 'shift' code in device.[hc] 2005-09-17 14:30:18 +02:00
Klaus Schmidinger 13249f12f2 Fixed error handling in cCiTransportConnection::RecvTPDU() 2005-09-17 12:08:54 +02:00
Klaus Schmidinger be0151ca5c Fixed handling key macros with keys after @plugin 2005-09-17 11:30:37 +02:00
Klaus Schmidinger cda89e7fb0 Added a missing include statement to the 'sky' plugin 2005-09-17 10:43:54 +02:00
Klaus Schmidinger 75587d1a17 Added cChannel::LinkChannels() and cChannel::RefChannel() 2005-09-17 10:03:19 +02:00
Klaus Schmidinger 547310a949 Fixed handling color buttons in cMenuEditStrItem 2005-09-17 09:42:45 +02:00
Klaus Schmidinger 5147d8abbc Fixed converting arbitrarily formatted summary.vdr files 2005-09-17 09:20:31 +02:00
Klaus Schmidinger 791fe6c40e Fixed two errors in 'newplugin' 2005-09-14 16:04:09 +02:00
Klaus Schmidinger 94d43abecf Implemented a hash for the channels to reduce the system load in the EIT scanning thread 2005-09-11 13:23:49 +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 7673d5124a Fixed defining timers that only differ in the day of week 2005-09-09 15:28:26 +02:00