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

389 Commits

Author SHA1 Message Date
Klaus Schmidinger
aebcc9d15c Fixed initializing 'Now' in main loop 2007-08-18 13:03:46 +02:00
Klaus Schmidinger
4d0297b804 Reduced the number of time(NULL) calls in vdr.c's main loop to a single call 2007-08-17 14:36:45 +02:00
Klaus Schmidinger
ab7fd0a903 Fixed the link to the GPL2 at http://www.gnu.org in vdr.c 2007-08-12 11:25:05 +02:00
Klaus Schmidinger
0f7a4af168 Switched I18N to gettext 2007-08-11 12:39:06 +02:00
Klaus Schmidinger
2cf50221c2 Added a missing 'P' to vdr.c's SHUTDOWNCANCELROMPT macro 2007-07-22 11:40:01 +02:00
Klaus Schmidinger
3c68ef28d0 Using dummy font if no fonts are installed 2007-06-17 11:47:18 +02:00
Klaus Schmidinger
d1934a7cfd Using nl_langinfo(CODESET) to determine the local codeset to use; libsi uses canonical codeset names 2007-06-15 13:25:35 +02:00
Klaus Schmidinger
c6f8a14957 Freetype font support; full UTF-8 support; dropped pixel fonts 2007-06-10 13:02:43 +02:00
Klaus Schmidinger
df463b5a2a Fixed getting the code setting from the locale 2007-05-12 09:35:07 +02:00
Klaus Schmidinger
d8264ee1b2 Fixed handling ChannelUp/Down keys if there is currently a replay running 2007-04-30 09:53:34 +02:00
Klaus Schmidinger
f935c03c79 Fixed a race condition with signal handlers at program exit 2007-04-30 09:24:30 +02:00
Klaus Schmidinger
2ac9030e65 Implemented character set conversion in 'libsi' 2007-04-22 14:49:26 +02:00
Klaus Schmidinger
93ad92da14 Fixed handling user activity for shutdown 2007-03-10 13:02:05 +01:00
Klaus Schmidinger
7b59d84be3 Changed "Menu button closes" to "Menu key closes"; cleaned up "button" vs. "key" in MANUAL 2007-02-25 11:39:40 +01:00
Klaus Schmidinger
ddb7f33567 Rewrite of shutdown handling; implemented cPlugin::WakeupTime(); SIGHUP forces reload; cThread::EmergencyExit() replaced by ShutdownHandler.RequestEmergencyExit() 2007-02-25 10:56:29 +01:00
Klaus Schmidinger
87dd5139ff CAM handling refactored; multiple recordings with one CAM; automatic CAM selection 2007-01-07 14:46:14 +01:00
Klaus Schmidinger
3f7090887b Moved the cPluginManager::Active() call further down 2006-12-02 16:22:12 +01:00
Klaus Schmidinger
661da094e1 Now calling cPluginManager::Active() only if VDR is really trying to shut down, and waiting for 5 minutes before calling it again 2006-12-02 10:35:27 +01:00
Klaus Schmidinger
7bed3fd6ba Fixed displaying the error log message in case an unknown plugin was requested in a key macro 2006-10-14 10:06:16 +02:00
Klaus Schmidinger
4ae577fcb4 Added LC_ALL to the checks for UTF-8 at startup 2006-09-01 12:59:35 +02:00
Klaus Schmidinger
394865b3d9 Avoiding shutdown message "Recording in ... minutes, shut down anyway?" with a negative number of minutes 2006-08-05 10:55:52 +02:00
Klaus Schmidinger
8bfe599830 Modified the shutdown mechanism, so that the shutdown script is never given a time in the past 2006-08-05 10:42:23 +02:00
Klaus Schmidinger
2be1771869 Now making sure a VPS timer has a schedule in case the epg.data file didn't contain one when VDR was started 2006-06-18 08:50:04 +02:00
Klaus Schmidinger
1d4512cbea Now making sure VPS timers don't get stuck with outdated events, and that the actual device isn't used for updating a VPS timer's event as long as other free devices are available 2006-06-16 09:22:20 +02:00
Klaus Schmidinger
50c0b03f0c Now switching to non-VPS timers' channels 60 seconds before the timer starts 2006-06-04 09:10:59 +02:00
Klaus Schmidinger
0d4cf40b79 When the 'skincurses' plugin is loaded, it automatically sets the 'curses' skin as the current one 2006-06-03 14:46:36 +02:00
Klaus Schmidinger
f9b0db0610 Fixed automatically updating the CAM menu in case the whole operation takes longer than the menu timeout 2006-05-14 11:22:13 +02:00
Klaus Schmidinger
6d670724e0 Now only using devices that provide a transponder exclusively for updating a VPS timers EPG event if the timer has actually entered the "VPS margin" 2006-05-13 09:10:56 +02:00
Klaus Schmidinger
946f9dfb78 Now always making sure the EPG scan is paused when a VPS timer needs to see its transponder to update its event 2006-05-13 09:09:34 +02:00
Klaus Schmidinger
465ddf3ffc If VPS timers are active, their events are now being kept up to date 2006-05-07 09:13:36 +02:00
Klaus Schmidinger
c7af51870a Fixed handling the "Power" key in case a timer is about to start recording 2006-05-05 13:45:42 +02:00
Klaus Schmidinger
42ce340670 Fixed handling the "Power" key in case a recording is going on and no plugin is active 2006-04-29 09:24:07 +02:00
Klaus Schmidinger
70297ef174 Fixed tuning to the channel of a VPS timer if the device is the actual device 2006-04-28 13:29:22 +02:00
Klaus Schmidinger
40832856f7 Fixed handling the cPluginManager::Active() result when pressing the "Power" key 2006-04-28 12:33:13 +02:00
Klaus Schmidinger
f353cb7c64 Extended the version number reported with the '-V' option to also show the current APIVERSION 2006-04-22 11:28:37 +02:00
Klaus Schmidinger
2e76e74597 Updated the GPL copies 2006-04-21 14:53:26 +02:00
Klaus Schmidinger
7010c67945 Moved calling PluginManager.MainThreadHook() to the end of the main loop 2006-04-17 10:30:00 +02:00
Klaus Schmidinger
8433190d5a The new function cPlugin::MainThreadHook() can be used by plugins to perform actions in the context of the main program thread 2006-04-17 10:02:18 +02:00
Klaus Schmidinger
50b77a6d4b Implemented kChanPrev 2006-04-15 13:56:03 +02:00
Klaus Schmidinger
4611af4339 Implemented kNext and kPrev keys 2006-04-15 13:46:55 +02:00
Klaus Schmidinger
b49df33917 Fixed setting the 'Delta' parameter when calling the shutdown script with no active timer 2006-04-15 11:33:34 +02:00
Klaus Schmidinger
4ba450b737 Implemented cPlugin::Active() 2006-04-15 11:18:36 +02:00
Klaus Schmidinger
b7181930c8 Reintroduced the log message "deleting plugin: ..." when shutting down VDR 2006-04-14 11:51:13 +02:00
Klaus Schmidinger
f13959a9f2 Using geteuid() to check whether VDR is running as user 'root' 2006-04-14 11:04:20 +02:00
Klaus Schmidinger
87ba3ae558 The initial channel and volume can now be defined in the "Setup/Miscellaneous" menu 2006-04-09 13:26:56 +02:00
Klaus Schmidinger
bfce2b3dba Fixed VPS recording in case there is more than one timer in the VPS margin 2006-04-09 09:12:47 +02:00
Klaus Schmidinger
24b3579d14 VPS timers now record only events that have exactly the given start time 2006-04-01 13:27:14 +02:00
Klaus Schmidinger
1fe46dfa9f Fixed format string handling 2006-03-26 09:27:30 +02:00
Klaus Schmidinger
7fb99e696f Fixed the shutdown timeout 2006-03-19 13:32:27 +01:00
Klaus Schmidinger
d13a7457bd Enabled generating a core dump if VDR is run with a different user id 2006-02-05 12:58:59 +01:00
Klaus Schmidinger
d5c739790b Implemented cDevice::Transferring() 2006-02-04 14:58:24 +01:00
Klaus Schmidinger
c712027520 Fixed handling the "Setup/OSD/Menu button closes" option when set to 'yes' in case a replay is active 2006-02-04 13:03:03 +01:00
Klaus Schmidinger
07ba731503 If a shutdown is requested, but the shutdown script doesn't actually halt the system, it is now tried again after 5 minutes 2006-01-29 14:37:43 +01:00
Klaus Schmidinger
8363901665 The epg.data file is now written when VDR exits 2006-01-28 14:44:32 +01:00
Klaus Schmidinger
48c8da8d15 Fixed handling the '0' key for switching between the last two channels 2006-01-22 16:10:35 +01:00
Klaus Schmidinger
6cd9124d08 Improved channel switching when repeat function kicks in; updating channel display before switching channel; added a missing initialization of 'timeout' in the cDisplayChannel constructor 2006-01-22 14:27:53 +01:00
Klaus Schmidinger
9038f45a0d Recordings are now only started if there is at least 300MB free disk space 2006-01-20 16:34:56 +01:00
Klaus Schmidinger
ef385702d0 Fixed a problem with @plugin in keymacros.conf in case the named plugin is not loaded 2006-01-20 13:19:35 +01:00
Klaus Schmidinger
29501203f7 Modified logging so that even on NPTL systems each line in the log file shows the individual thread's pid 2006-01-15 16:42:37 +01:00
Klaus Schmidinger
a321947e47 Fixed a second place where a message should be given when an instant recording is started 2006-01-15 16:04:05 +01:00
Klaus Schmidinger
cad1a88a7b The status markers in the "Schedule" menu are now only updated if a submenu is closed in which a timer has been modified 2006-01-15 13:44:55 +01:00
Klaus Schmidinger
9efe1f9479 Key macros can now be defined for all non-modeless keys 2006-01-14 10:54:13 +01:00
Klaus Schmidinger
b11dcb15de Dropped the default vdr user 2006-01-13 16:16:32 +01:00
Klaus Schmidinger
317b15f5a0 Implemented the option "Setup/OSD/Menu button closes" 2006-01-13 15:45:02 +01:00
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
3e47a9cdbc Updated copyright date 2006-01-08 11:49:03 +01:00
Klaus Schmidinger
2d863532cc Cleaned up some trailing white space 2006-01-08 11:44:37 +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
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
4ddd5fa944 Fixed initial channel display if Setup.TimeoutRequChInfo is 'no' 2006-01-05 13:54:04 +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
b1836290c9 The "Menu" key now behaves consistently 2006-01-04 13:22:53 +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
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
186a3213d0 The main menu now dynamically updates its contents 2005-12-24 15:53:53 +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
41f718987d Implemented message queueing 2005-11-27 15:57:03 +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
6a8e2a99cb Now using daemon() instead of fork() to run VDR in daemon mode 2005-10-09 10:05:21 +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
c4ff05bbca Fixed menu timeout handling while replaying 2005-09-04 08:57:15 +02:00
Klaus Schmidinger
06117cbaab Implemented option '--vfat'; replaced ':' with '.' in recording names 2005-09-03 13:35:55 +02:00
Klaus Schmidinger
590d56bf59 The main menu function of a plugin can now be called programmatically 2005-09-03 12:36:51 +02:00
Klaus Schmidinger
7148cf452c The menu timeout handling is now done centrally in the main program loop 2005-09-03 11:51:54 +02:00
Klaus Schmidinger
45a29e5b16 Key macros can now call plugins that don't have a main menu entry 2005-09-03 11:33:43 +02:00
Klaus Schmidinger
6de23d7d96 Now waiting at startup until all DVB devices are ready 2005-08-21 08:56:49 +02:00
Klaus Schmidinger
7683e67826 Improved responsiveness inside CAM menus 2005-08-20 11:24:42 +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
7e81649d68 Removed the NPTL check at startup 2005-06-18 11:21:12 +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
e3e40a14f3 Pressing the "Play" key in live viewing mode now resumes a previous replay session 2005-05-26 10:20:31 +02:00
Klaus Schmidinger
6b25832913 No longer saving the setup in case of a fatal error 2005-05-22 11:23:22 +02:00
Klaus Schmidinger
ce0e97eb65 Single shot timers are now reliably deleted when they have expired 2005-03-20 11:19:36 +01:00
Klaus Schmidinger
a481a5200c Fixed a typo in detecting UTF-8 2005-02-12 15:07:09 +01:00
Klaus Schmidinger
2bec1d5ca0 Added cPlugin::Stop() 2005-01-30 14:23:01 +01:00
Klaus Schmidinger
00187ff97c Fixed handling the '-E' option 2005-01-14 16:55:28 +01:00
Klaus Schmidinger
43a4605eab Making sure at least the default skin is available at program start 2005-01-14 13:10:32 +01:00
Klaus Schmidinger
723537ccc8 kAudio closes temporary OSD displays 2005-01-06 14:36:40 +01:00
Klaus Schmidinger
0b3a801ab4 Implemented audio track menu 2005-01-02 15:11:44 +01:00
Klaus Schmidinger
286af66cfb Made several functions threadsafe (cont'd) 2004-12-26 12:45:22 +01:00
Klaus Schmidinger
1d3495a0f0 Made several functions threadsafe 2004-12-19 16:33:34 +01:00
Klaus Schmidinger
c77989ee70 Added support for AC3 replay over the DVB device 2004-12-17 14:55:49 +01:00
Klaus Schmidinger
263c3c01a2 Reactivated the NPTL check at startup 2004-11-06 10:32:00 +01:00
Klaus Schmidinger
5e731865a6 Making sure that timers and channels are only saved together 2004-10-31 10:22:32 +01:00
Klaus Schmidinger
3e3f30d88d Moved the main program loop variables further up to allow compilation with older compiler versions 2004-10-31 09:37:56 +01:00
Klaus Schmidinger
313448ad0c Implemented 'modified' and 'seen' for EPG schedules/events 2004-10-24 15:01:50 +02:00
Klaus Schmidinger
f7dd342f52 Fixed missing cleanup at program exit in case there is a problem with a plugin 2004-10-23 15:17:03 +02:00
Klaus Schmidinger
af6b8ff533 Removed the usleep() call from cDvbPlayer::Action() to make VDR run on NPTL systems; also removed the NPTL check at startup 2004-10-23 12:43:23 +02:00
Klaus Schmidinger
30dfd2e701 Now only saving channels.conf after a modification made by the user 2004-10-17 11:50:21 +02:00
Klaus Schmidinger
6415cc900d Improved buffer handling 2004-10-16 09:36:28 +02:00
Klaus Schmidinger
d99901c2ad Fixed checking for the presence of NPTL 2004-07-27 07:22:34 +02:00
Klaus Schmidinger
5ed57fa1c5 The list of recordings is now kept statically in memory 2004-06-13 20:26:51 +02:00
Klaus Schmidinger
0e951afc2b Checking for UTF-8 at program start 2004-06-12 10:17:20 +02:00
Klaus Schmidinger
3e72d0cc0b Checking for NPTL at program start 2004-06-10 13:22:08 +02:00
Klaus Schmidinger
5d99df7b77 Implemented 'skins' and 'themes' 2004-05-16 10:35:36 +02:00
Klaus Schmidinger
ac89e31bde Avoiding occasional bad responsiveness to user interaction caused by assigning events to timers 2004-03-14 14:28:08 +01:00
Klaus Schmidinger
e070d5462c Fixed handling timers in VPS margin if the EPG scan is turned on 2004-03-07 09:40:51 +01:00
Klaus Schmidinger
198fcf437b Implemented VPS controlled timers 2004-02-29 14:21:22 +01:00
Klaus Schmidinger
0a3f7e7ca2 Limited automatic retuning to devices that actually provide the transponder 2004-02-15 14:31:53 +01:00
Klaus Schmidinger
f379b56d0e Fixed switching to a visible programme in case the current channel has neither a video nor an audio PID 2004-02-13 13:15:12 +01:00
Klaus Schmidinger
acc25ade19 Removed an unnecessary pointer check 2004-02-08 11:23:29 +01:00
Klaus Schmidinger
b21d2c4f12 Fixed handling PID changes in 'Transfer Mode' 2004-01-17 17:19:34 +01:00
Klaus Schmidinger
7d3f63a402 Fixed a wrong 'delta' value in the call to the shutdown script 2004-01-16 14:01:48 +01:00
Klaus Schmidinger
8976ebcec5 Implemented automatic PID switching and channel detection 2004-01-04 12:30:00 +01:00
Klaus Schmidinger
7ff59171e3 Changed section handling; replaced 'libdtv' with 'libsi' 2003-12-22 13:29:24 +01:00
Klaus Schmidinger
c94570e69d Changed font handling to allow language specific character sets; adopted the small font character set from the "Elchi" patch 2003-10-24 12:53:12 +02:00
Klaus Schmidinger
07bc699dca Made 'diseqc.conf' a required file only if Setup.DiSEqC is activated 2003-09-14 09:38:44 +02:00
Klaus Schmidinger
679dcebbb2 Fixed setting the primary device in case none of the devices provides an MPEG decoder 2003-09-05 13:15:51 +02:00
Klaus Schmidinger
ca9e7b6937 Fixed a crash when using the --terminal option without having access to the given terminal 2003-09-05 13:02:15 +02:00
Klaus Schmidinger
ca39b3f03a VDR now continues to start up, even if there is an error in setup.conf 2003-08-24 11:19:13 +02:00
Klaus Schmidinger
b65687ebcf Made the "Zap timeout" a setup variable 2003-08-17 08:58:02 +02:00
Klaus Schmidinger
3a27bdfeda Fixed toggling channels with the '0' key 2003-08-16 15:27:26 +02:00
Klaus Schmidinger
57a95c6790 VDR now stops with result value 2 if one of the configuration files can't be read correctly at program startup 2003-08-16 09:18:52 +02:00
Klaus Schmidinger
ba1c9fb534 Now the program uses the values of VIDEODIR and PLUGINDIR defined in Makefile or Makefile.config as defaults 2003-08-02 14:32:53 +02:00
Klaus Schmidinger
1922b14010 Changed the behaviour of the '0' key in normal viewing mode to have a 3 second timeout 2003-06-19 10:06:07 +02:00
Klaus Schmidinger
14790d6f7a Some touchups for version 1.2.0 2003-05-29 12:44:06 +02:00
Klaus Schmidinger
44dbfe9f38 Fixed channel switching in case the current channel becomes unavailable 2003-05-24 15:34:30 +02:00
Klaus Schmidinger
e26e6b2e5a Fixed channel switching in the EPG scanner on single device systems 2003-05-24 13:38:28 +02:00
Klaus Schmidinger
536669a139 Fixed volume display in case a plugin has its own OSD open 2003-05-24 12:17:59 +02:00
Klaus Schmidinger
38fbbb469d Fixed I/O handling in case an explicit controlling terminal is given 2003-05-24 11:08:47 +02:00
Klaus Schmidinger
6702994adc Moved the call to cPlugin::Start() further up in vdr.c, to make sure it gets called before trying to learn the keys 2003-05-16 12:27:58 +02:00
Klaus Schmidinger
823945204c Fixed keeping live video active in case the primary device doesn't have an MPEG decoder 2003-05-11 08:42:57 +02:00
Klaus Schmidinger
dc8fd12f91 Introduced cPlugin::Initialize() 2003-05-09 15:27:46 +02:00
Klaus Schmidinger
3fc00d2211 Restoring the current channel in case a recording has switched the transponder 2003-05-03 13:42:37 +02:00
Klaus Schmidinger
6ffb7912d8 Fixed handling dedicated keys 2003-05-02 10:59:07 +02:00
Klaus Schmidinger
a54427e28d Implemented 'pause live video' 2003-04-21 14:57:13 +02:00
Klaus Schmidinger
bd23375248 The 'epg.data' file is now read after all plugins have been started 2003-04-12 13:59:34 +02:00