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

318 Commits

Author SHA1 Message Date
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
Klaus Schmidinger
00166dac5f If no device with an MPEG decoder can be found at startup, the first device is now used as primary device 2003-04-12 12:20:07 +02:00
Klaus Schmidinger
64d0ed856b Fixed faulty behaviour of the 'Mute' key in case the channel display is visible 2003-03-30 10:53:22 +02:00
Klaus Schmidinger
8d4d7f2b62 Trying harder to find a primary device 2003-03-09 14:10:12 +01:00
Klaus Schmidinger
96df157057 Fixed broken support for raw OSDs of plugins 2003-02-16 10:34:24 +01:00
Klaus Schmidinger
33c8ad925a Improved keyboard detection 2003-02-15 15:46:19 +01:00
Klaus Schmidinger
8ddaaf9849 Timers are now processed even if a menu is open 2003-02-09 13:14:44 +01:00
Klaus Schmidinger
777f330c77 Improved CAM support 2003-02-09 11:54:22 +01:00
Klaus Schmidinger
d7bf76e9ba Fixed handling the LOG_LOCALn parameters in the -l option 2003-01-26 11:57:55 +01:00
Klaus Schmidinger
4e15f6d658 Implemented 'Link Layer' based CAM support 2003-01-06 14:44:27 +01:00
Klaus Schmidinger
2343e7ec14 Fixed taking an active SVDRP connection into account when doing shutdown 2002-12-13 14:31:17 +01:00
Klaus Schmidinger
7d0596878b Checking if there is a connection to the keyboard and if VDR is running in the foreground 2002-12-13 13:41:55 +01:00
Klaus Schmidinger
fb16fbafaa KBD active by default; no more 'ncurses' necessary for KBD 2002-12-08 14:30:32 +01:00
Klaus Schmidinger
816e6847aa Macros in 'keymacros.conf' can now use "@plugin" to directly access the main menu function of a given plugin 2002-12-01 10:48:08 +01:00
Klaus Schmidinger
cf40f84b82 Now taking an active SVDRP connection into account when doing shutdown or housekeeping 2002-11-30 14:40:10 +01:00
Klaus Schmidinger
c24dfb7f43 Extended the '-l' option to allow logging to LOG_LOCALn 2002-11-24 15:56:24 +01:00
Klaus Schmidinger
08e4f36ccd Plugins can now have their own raw OSD 2002-11-24 10:45:39 +01:00
Klaus Schmidinger
7c40984f1b Removed displaying 'Recording' since this caused a lengthy black screen on single DVB card systems 2002-11-03 12:00:00 +01:00
Klaus Schmidinger
0a517afdf8 Implemented audio plugin interface 2002-11-03 11:53:58 +01:00
Klaus Schmidinger
64fd9c4a1b Implemented key macros 2002-10-27 15:46:30 +01:00
Klaus Schmidinger
74c74fb5d2 Implemented additional dedicated keys 2002-10-27 14:32:06 +01:00
Klaus Schmidinger
ac9622bb8a Timers now internally have a pointer to their channel 2002-10-20 12:28:55 +02:00
Klaus Schmidinger
95c8c2b60c New configuration file 'reccmds.conf' 2002-10-13 12:14:49 +02:00
Klaus Schmidinger
fadc2565d4 Fixed a crash when closing down with remote control plugins 2002-10-12 15:22:29 +02:00
Klaus Schmidinger
962596f4ab Modified channel handling; full DiSEqC support 2002-10-06 10:25:42 +02:00
Klaus Schmidinger
fc66860847 Made remote controls plugin aware 2002-09-29 13:40:45 +02:00
Klaus Schmidinger
ec8748a2cc A previous 'Transfer Mode' is now automatically re-started after a replay stops 2002-09-15 11:08:35 +02:00
Klaus Schmidinger
1b396902e4 Skipping unavailable channels when switching with 'Up' and 'Down' keys 2002-09-08 11:46:53 +02:00
Klaus Schmidinger
3e58bc64fe Implemented recording and replaying with a single DVB card 2002-09-04 17:26:02 +02:00
Klaus Schmidinger
fd682083a4 Now running even w/o DVB devices, provided at least one device is implemented by a plugin 2002-08-16 09:57:10 +02:00
Klaus Schmidinger
9a1a16f3d4 Consistently using malloc/free and new/delete 2002-08-11 13:32:23 +02:00
Klaus Schmidinger
15cc1733e0 Changed the cDevice class to allow plugins to implement their own devices 2002-08-04 14:57:29 +02:00
Klaus Schmidinger
cd030554e5 Switched VDR's own player to the new cPlayer/cControl structures 2002-06-23 11:23:34 +02:00
Klaus Schmidinger
0bb9a1a77b Moved handling of the Menu key entirely into vdr.c 2002-06-23 09:44:00 +02:00
Klaus Schmidinger
7ade39597a Activated cutting 2002-06-22 10:11:59 +02:00
Klaus Schmidinger
a4bfddd2f9 Totally rearranged device/player/recorder structures 2002-06-16 12:57:31 +02:00
Klaus Schmidinger
0161197360 Moved the cEITScanner out of dvbapi.h/.c, into the new eitscan.h/.c 2002-05-20 11:18:09 +02:00
Klaus Schmidinger
bdccbbe93e Completely moved OSD handling out of the cDvbApi class, into the new cOsd 2002-05-18 14:03:22 +02:00
Klaus Schmidinger
3e5b31af5e Rearranged OSD class names to make 'cOsd' available for the main OSD interface 2002-05-18 12:41:18 +02:00
Klaus Schmidinger
4da8a8e066 Added an error message if the directory specified in the '-L' option can't be accessed 2002-05-18 10:36:35 +02:00
Klaus Schmidinger
d4893ad1fe Improved the [eid]syslog() macros 2002-05-13 16:35:49 +02:00
Klaus Schmidinger
49fcbf19fa Made the config directory available to plugins 2002-05-13 16:11:19 +02:00
Klaus Schmidinger
5d733e59ee Added the cPlugin::Housekeeping() function 2002-05-12 10:20:17 +02:00
Klaus Schmidinger
01c68def34 Changed the cPlugin::Start() function to return a boolean value 2002-05-12 09:24:45 +02:00
Klaus Schmidinger
51eb880da0 Improved implementation of setup menus for plugins 2002-05-11 13:44:58 +02:00
Klaus Schmidinger
b527b27708 Implemented plugin interface 2002-05-09 16:26:56 +02:00
Klaus Schmidinger
3b656e9e46 Now taking an active video cutting process into account when doing shutdown or housekeeping 2002-04-26 12:17:38 +02:00
Klaus Schmidinger
2625c46232 Added command line option -V 2002-03-29 10:10:04 +01:00
Klaus Schmidinger
d5c01bbe5a Implemented OSD for Volume and Mute 2002-03-09 17:11:49 +01:00
Klaus Schmidinger
18ab84b0c1 New SVDRP command VOLU 2002-03-09 10:07:40 +01:00
Klaus Schmidinger
7ada973f6c New command line option '-m' 2002-03-08 16:37:42 +01:00
Klaus Schmidinger
9d4456a0a3 CICAM setup for conditional access channels 2002-03-03 16:12:29 +01:00
Klaus Schmidinger
715ed57ab1 Removed DVD support from the core VDR source 2002-02-24 14:07:21 +01:00
Klaus Schmidinger
430284a8a7 Reading 'epg.data' at startup 2002-02-23 17:11:19 +01:00
Klaus Schmidinger
8c403e1b0d Confirmation prompt in case of an upcoming timer event when pressing the 'Power' key 2002-02-10 15:18:45 +01:00
Klaus Schmidinger
0b7e9057da Introduced 'svdrphosts.conf' 2002-02-02 17:20:54 +01:00
Klaus Schmidinger
895921019c Fixed setting the LastActivity timestamp after a shutdown prompt 2002-01-26 14:09:21 +01:00
Klaus Schmidinger
4bba577a8b Improved error handling in the editing process; message prompt at the end of editing process 2002-01-26 13:42:15 +01:00
Klaus Schmidinger
503c803b8d Fixed handling file names that contain single quotes or dollar signs in calls to external commands 2002-01-26 12:04:32 +01:00
Klaus Schmidinger
5497970338 Removed the check to see whether the system time is running linearly 2002-01-13 16:03:02 +01:00
Klaus Schmidinger
78d1fe10a4 Added a fifth parameter to the 'shutdown' call that indicates the reason for this shutdown request 2001-11-03 12:23:45 +01:00
Klaus Schmidinger
62c452561e Fixed handling the 'Power' key in case Setup.MinUserInactivity is set to 0 2001-11-03 11:49:39 +01:00
Klaus Schmidinger
407c2fb77f Completed storing the current audio volume in the setup.conf file 2001-10-27 09:57:59 +02:00
Klaus Schmidinger
e3c09115fe The menu timeout now also works when pressing the 'Back' button during replay to enter the 'Recordings' menu 2001-10-20 11:23:27 +02:00
Klaus Schmidinger
60ee85bf17 Closing all open file descriptors when calling external programs 2001-10-20 10:39:27 +02:00
Klaus Schmidinger
70eafd259a Removed the 'system time seen...' message 2001-10-19 13:38:15 +02:00
Klaus Schmidinger
6c41138bdd Moved the _GNU_SOURCE macro into the Makefile 2001-10-07 15:14:50 +02:00
Klaus Schmidinger
b8471a3f11 Sorting recordings internally, with episodes sorted chronologically 2001-10-07 11:00:35 +02:00
Klaus Schmidinger
726225e083 Providing channel number and file name to the shutdown program 2001-09-30 12:35:09 +02:00
Klaus Schmidinger
3b67f70b9d Fixed the 'system time seen...' message in case of overlapping timers 2001-09-30 11:43:36 +02:00
Klaus Schmidinger
0ed710a843 Made the volume, mute and power keys work when a menu is active, too 2001-09-23 14:36:38 +02:00
Klaus Schmidinger
f412897373 Calling the '-r' program after editing, too 2001-09-23 14:02:11 +02:00