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

898 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
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
e9e8241d0d Fixed handling TS packets in cTS2PES 2006-01-03 11:00:38 +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
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
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
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
922649037f Improved TS/PES conversion to better handle lost TS packets 2005-12-03 12:18:15 +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
2cae2ed28c Modified switching to Dolby Digital audio in live mode 2005-11-11 16:13:19 +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
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
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
3c59953017 Added missing mutex locks to cCiMenu::Abort() and cCiEnquiry::Abort() 2005-10-30 10:27:24 +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
bf779b3bfe Fixed a leftover 'summary.vdr' in vdr.1 2005-10-09 12:31:52 +02:00
Klaus Schmidinger
325163c0ef Added '__attribute__' to functions that use printf() like parameters 2005-10-09 11:14:14 +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
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
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
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
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
Klaus Schmidinger
099df13b6c Fixed the default value for "Setup/EPG bugfix level" 2005-09-09 15:10:11 +02:00
Klaus Schmidinger
7115b3b97b Fixed some typos in MANUAL 2005-09-09 15:07:32 +02:00
Klaus Schmidinger
1bc5ba817c Changed the audio PID language codes to hold up to two 3 letter codes; automatic audio channel setting for two channel audio 2005-09-04 14:48:39 +02:00
Klaus Schmidinger
9e864aba12 Implemented the SVDRP command MOVC 2005-09-03 14:10:01 +02:00
Klaus Schmidinger
06117cbaab Implemented option '--vfat'; replaced ':' with '.' in recording names 2005-09-03 13:35:55 +02:00
Klaus Schmidinger
2a91de02ab Repeat keys are now ignored when waiting for a keypress to cancel an operation 2005-09-03 09:09:23 +02:00
Klaus Schmidinger
70bc836e3f Adjusted the Makefile to the dvb-kernel driver on kernel 2.6 and up 2005-09-02 14:54:29 +02:00
Klaus Schmidinger
2ffcc66af2 Re-introduced the code that waits for a tuner lock in VDR/device.c 2005-09-02 13:55:37 +02:00
Klaus Schmidinger
85904ae23d Introduced a separate 'plugins-install' target in the Makefile 2005-09-02 13:39:53 +02:00
Klaus Schmidinger
13b74854b3 Made LIRC command parsing more robust 2005-09-02 12:52:37 +02:00
Klaus Schmidinger
3f73166049 Fixed cDvbPlayer::SkipFrames() to properly handle radio recordings 2005-08-29 15:45:38 +02:00
Klaus Schmidinger
f418ef02f8 Now always using stream id 0xE0 for the video stream 2005-08-28 21:49:34 +02:00
Klaus Schmidinger
332dc1120b Removed unused MAINMENUENTRY from svdrpdemo.c 2005-08-28 21:12:12 +02:00
Klaus Schmidinger
db44b98eed Added some missing braces in remux.c 2005-08-28 21:07:37 +02:00
Klaus Schmidinger
d3cfd9721d Implemented SVDRP command EDIT 2005-08-28 14:18:24 +02:00
Klaus Schmidinger
94c74762ab The new SVDRP command PLAY can be used to start replaying a recording 2005-08-28 10:45:19 +02:00
Klaus Schmidinger
6445b9a086 Implemented SVDRP command for plugins 2005-08-27 16:42:28 +02:00
Klaus Schmidinger
110c64f56d Moved cMenuEditTimer and cMenuEvent to menu.h so that plugins can use it 2005-08-27 09:37:33 +02:00
Klaus Schmidinger
fe37211da0 Fixed detecting short channel names for "Kabel Deutschland" 2005-08-27 09:29:30 +02:00
Klaus Schmidinger
c23d35e267 Fixed the EPG scan, so that it doesn't use the primary device if that is currently in Transfer-Mode from itself 2005-08-26 16:05:29 +02:00
Klaus Schmidinger
0201f7cbf8 Modified handling of audio packets for radio channels in remux.c 2005-08-26 13:37:42 +02:00
Klaus Schmidinger
449ffebcac Implemented cAudioRepacker 2005-08-26 13:34:07 +02:00
Klaus Schmidinger
a8fe90b28b Replaced the get/put_unaligned() macros from <asm/unaligned.h> with own inline functions 2005-08-21 14:15:00 +02:00
Klaus Schmidinger
06a27f142b Added 'Service' functions to the plugin interface 2005-08-21 10:44:29 +02:00
Klaus Schmidinger
7533b69e9b Fixed cDvbTuner to avoid lockups on NPTL systems 2005-08-21 09:25:51 +02:00
Klaus Schmidinger
101ee309e5 Added credits for Klaus Heppenheimer 2005-08-16 16:02:58 +02:00
Klaus Schmidinger
69c17e7101 Avoiding unnecessary OSD draw operations caused by the audio track description display in the ST:TNG skin's channel display 2005-08-15 11:21:14 +02:00
Klaus Schmidinger
9c4401f5d9 Now discarding any previous numerical input to switch channels if Up, Down, Channel+, Channel-, Left or Right is pressed 2005-08-14 15:03:31 +02:00
Klaus Schmidinger
0aa18e1c39 Added credits for Wayne Keer 2005-08-14 14:14:12 +02:00
Klaus Schmidinger
3f341aae50 Fixed handling the frame number display if '7' is pressed before the first editing mark, or '9' after the last one 2005-08-14 13:01:27 +02:00
Klaus Schmidinger
437fd984ed Changed the title of the recording info menu 2005-08-14 12:06:40 +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
098952e254 Increased the default value for 'Min. user inactivity' to 300 minutes 2005-08-13 13:48:46 +02:00
Klaus Schmidinger
7369545585 Fixed handling EPG data for time shifted events 2005-08-13 13:30:04 +02:00
Klaus Schmidinger
ccb0add798 Centralized 'thread active' handling 2005-08-13 13:17:24 +02:00
Klaus Schmidinger
1921c7465f Fixed a memory leak in the SVDRP command LSTE; fixed a typo in LSTE's help 2005-08-07 14:25:31 +02:00
Klaus Schmidinger
5da7f10c3e Fixed setting system time to avoid time jumps in case of faulty data 2005-08-07 13:52:29 +02:00
Klaus Schmidinger
1173d8d359 Fixed cDvbSpuBitmap::putPixel() 2005-08-07 12:08:40 +02:00
Klaus Schmidinger
7d54c997ab Modified cEITScanner::Process() to use the primary device if replaying, and do a forced scan even if timeout is 0 2005-08-07 11:37:48 +02:00
Klaus Schmidinger
da0030deff Added cRemux::SetTimeouts() for better use of cRemux in a single thread 2005-08-07 10:29:36 +02:00
Klaus Schmidinger
e2bb5d3898 Added missing storing of the MenuScrollPage parameter 2005-08-07 09:04:14 +02:00
Klaus Schmidinger
16c3b8f0e7 Fixed an out-of-bounds memory access with audio language ids 2005-08-06 12:29:38 +02:00
Klaus Schmidinger
ff5df8f298 Fixed the cChannel copy constructor 2005-08-06 12:13:55 +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
068e17303c Now checking whether timers or channels are currently being edited via the menu before making changes through SVDRP 2005-07-31 14:34:38 +02:00
Klaus Schmidinger
d6b8a28329 Added the command line options '--lirc', '--rcu' and '--no-kbd' 2005-07-31 11:38:40 +02:00
Klaus Schmidinger
44a4d12117 Avoiding duplicate components in EPG events when reading epg.data or in the PUTE SVDRP command 2005-07-30 14:53:29 +02:00
Klaus Schmidinger
856f22dbf1 cDvbPlayer::Goto() now appends a Sequence End Code to get the image shown immediately with softdevices 2005-07-30 10:04:18 +02:00
Klaus Schmidinger
af78bac2bb Added a sleep in cDvbPlayer::Action() in case there is no data to send to the device 2005-07-30 09:23:29 +02:00
Klaus Schmidinger
d68b0a87ae Implemented palette replace mode in the OSD bitmaps 2005-06-19 10:47:06 +02:00
Klaus Schmidinger
806aeb3c07 Implemented wrapping around in menu lists 2005-06-18 10:44:30 +02:00
Klaus Schmidinger
f1ccf37128 Modified page scrolling behaviour 2005-06-17 15:47:27 +02:00
Klaus Schmidinger
80a7ef5a55 Fixed handling 'page down', which was broken in version 1.3.26 2005-06-17 14:25:08 +02:00
Klaus Schmidinger
7a990fcf88 Fixed handling page up/down in menu lists in case there are several non selectable items in a row 2005-06-12 10:02:59 +02:00
Klaus Schmidinger
903a2d5850 Fixed dropping EPG events that have a zero start time or duration, in case it's an NVOD event 2005-06-11 16:05:11 +02:00
Klaus Schmidinger
3513e3d07e Removed an unnecessary #include from osd.c 2005-06-11 14:32:26 +02:00
Klaus Schmidinger
858937f861 Fixed handling timers with a day given as MTWTF--@6 2005-06-11 14:30:26 +02:00
Klaus Schmidinger
48a10640e9 Fixed the call to Channels.Unlock() in cEITScanner::Process() 2005-06-05 14:44:27 +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
f4c63964a8 A device can now detach all receivers for a given PID 2005-06-05 13:37:37 +02:00
Klaus Schmidinger
393627abd5 EPG events without a title now display "No title" instead of "(null)" 2005-06-05 12:19:50 +02:00
Klaus Schmidinger
60a35366dd Implemented cVideoRepacker in remux.c to make sure every PES packet contains only data from one frame 2005-06-04 14:49:25 +02:00
Klaus Schmidinger
a8599c451e Improved resetting CAM connections 2005-06-04 11:59:19 +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
e622406342 Added cThread::SetPriority() and using it in cSectionHandler::Action() to reduce the priority of the section handler threads 2005-05-29 11:44:52 +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
1e63fa4174 Avoiding unnecessary calls to getLength() in libsi/si.c, and avoiding the '& 0xff' in CRC32::crc32() of libsi/util.c 2005-05-28 14:19:16 +02:00
Klaus Schmidinger
7701acd968 Now using hash tables to speed up cSchedule::GetEvent() 2005-05-28 13:17:20 +02:00
Klaus Schmidinger
1855ab0ef3 Introduced cListBase::count for better performance 2005-05-26 11:41:33 +02:00
Klaus Schmidinger
373c69043a Made tChannelID::operator==() inline for better performance 2005-05-26 11:25:36 +02:00
Klaus Schmidinger
70ac6784ac Moved the NPTL and UTF-8 checks after the version and help output 2005-05-26 10:47:49 +02:00
Klaus Schmidinger
a05b921e29 No longer stopping Transfer Mode or replay immediately when the Power button is pressed 2005-05-26 10:33:17 +02:00
Klaus Schmidinger
425daa4ca5 Now dropping EPG events that have a zero start time or duration 2005-05-26 10:27:06 +02:00
Klaus Schmidinger
e3e40a14f3 Pressing the "Play" key in live viewing mode now resumes a previous replay session 2005-05-26 10:20:31 +02:00