Commit Graph

159 Commits

Author SHA1 Message Date
Klaus Schmidinger dc7c5464fc Introduced 'operator const void * ()' in cString 2008-02-17 13:47:12 +01:00
Klaus Schmidinger a81e3699d1 Limiting the length of the recording name in timers in case VDR is run with --vfat (replaces the previous change to svdrp.c) 2008-02-15 15:46:07 +01:00
Klaus Schmidinger 9495aa9923 Using cString::sprintf() instead of asprintf() 2008-02-15 14:57:48 +01:00
Klaus Schmidinger e1eb84db49 Limiting the length of the recording name in timers created via SVDRP in case VDR is run with --vfat 2008-02-10 13:41:43 +01:00
Klaus Schmidinger dc0665ebf3 Enhanced the SVDRP command CLRE to allow clearing the EPG data of a particular channel 2008-01-13 15:06:25 +01:00
Klaus Schmidinger 20fd2553ff Fixed a missing '-' at the next to last line of SVDRP help texts 2007-10-13 10:23:19 +02:00
Klaus Schmidinger fd60644895 The SVDRP command LSTC can now list the channels with group separators if the option ':groups' is given 2007-08-25 09:31:13 +02:00
Klaus Schmidinger d66eba77c2 Improved performance of the SVDRP commands LSTC and CHAN when used with a channel name 2007-06-23 13:24:00 +02:00
Klaus Schmidinger 6e93ac9525 Implemented the SVDRP command REMO 2007-04-30 12:53:35 +02:00
Klaus Schmidinger 9e6b12aa20 Fixed converting the port number in the "connect from..." log message of SVDRP 2006-08-12 09:12:34 +02:00
Klaus Schmidinger f413879936 Modified the cSVDRP::Close() function to avoid code duplication 2006-08-06 09:20:04 +02:00
Klaus Schmidinger 375aa2563a Fixed handling client side termination of SVDRP connections 2006-07-22 14:04:51 +02:00
Klaus Schmidinger d324b2de88 Reduced logging for the SVDRP GRAB command 2006-06-11 09:14:22 +02:00
Klaus Schmidinger dc6666d53c Applied the fixes to moving and deleting channels from version 1.4.0-2 to the SVDRP commands MOVC and DELC as well 2006-06-03 09:25:13 +02:00
Klaus Schmidinger acf716f1ef The cRemote::CallPlugin() function now has a boolean return value that tells the caller whether initiating the plugin call was successful 2006-04-17 09:10:39 +02:00
Klaus Schmidinger 1fe46dfa9f Fixed format string handling 2006-03-26 09:27:30 +02:00
Klaus Schmidinger 1de5335922 The SVDRP command GRAB allows file names without extension again 2006-01-14 16:12:13 +01:00
Klaus Schmidinger cd43adac92 Made the "What's on now/next?" menus a lot faster by storing a pointer to each channel's schedule in the cChannel data 2006-01-14 15:52:40 +01:00
Klaus Schmidinger 8763908621 Fixed canonicalizing the file name in the SVDRP command GRAB to allow full path names 2006-01-14 11:45:43 +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 c65133979f Changed all "illegal" to "invalid" in error messages 2005-12-30 15:43:21 +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 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 41f718987d Implemented message queueing 2005-11-27 15:57:03 +01:00
Klaus Schmidinger 9607fd33a0 cSVDRP now dynamically allocates its command buffer 2005-11-05 11:21:38 +01: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 9e864aba12 Implemented the SVDRP command MOVC 2005-09-03 14:10:01 +02:00
Klaus Schmidinger a964a8d732 The SVDRP command PLUG now has a new option 'main' 2005-09-03 12:49:36 +02:00
Klaus Schmidinger 32733e430a Added missing help for the 'help' keyword in the SVDRP command PLUG 2005-09-03 12:20:24 +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 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 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 dc0209147e The SVDRP command DELR no longer deletes recordings that are currently being written to by a timer 2005-05-26 10:00:59 +02:00
Klaus Schmidinger b0583e5373 Switched from 'summary.vdr' to 'info.vdr' 2005-05-16 14:45:11 +02:00
Klaus Schmidinger b3c1f1bb73 Automatically deleting duplicate channels when reading channels.conf 2005-05-06 13:49:01 +02:00
Klaus Schmidinger f1494502a7 All log entries regarding timers now contain a short description of the timer 2005-03-20 15:15:42 +01:00
Klaus Schmidinger e760b14f64 Some fixes to avoid compiler warnings in gcc 4.0 2005-03-20 10:10:38 +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 5e731865a6 Making sure that timers and channels are only saved together 2004-10-31 10:22:32 +01: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 5ed57fa1c5 The list of recordings is now kept statically in memory 2004-06-13 20:26:51 +02:00
Klaus Schmidinger 95962e8fe7 Fixed the help for LSTE and LSTR 2004-03-25 17:01:03 +01:00
Klaus Schmidinger 198fcf437b Implemented VPS controlled timers 2004-02-29 14:21:22 +01:00
Klaus Schmidinger 36e22ad6e2 Extended the SVDRP command LSTE to allow limiting the listed data 2004-02-22 15:36:36 +01:00
Klaus Schmidinger f48061576e Fixed the SVDRP command 'STAT DISK' to avoid a 'division by 0' in case the disk is full 2004-01-31 10:15:58 +01:00
Klaus Schmidinger 48dc6d8710 New SVDRP command SCAN 2004-01-17 15:41:52 +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 105825f312 Actually implemented the SVDRP command DELC 2003-08-31 11:26:46 +02:00
Klaus Schmidinger 37c340e51a Fixed a hangup in SVDRP when the client disappears without sending QUIT 2003-08-30 10:14:42 +02:00
Klaus Schmidinger eb2cd2b73e Fixed an occasional "Broken pipe" error in SVDRP connections 2003-07-26 10:59:19 +02:00
Klaus Schmidinger 3208f4eddd Fixed editing channels ('timers.conf' was not written) 2003-06-06 13:30:52 +02:00
Klaus Schmidinger 3874eab49b New SVDRP command STAT 2003-04-27 14:23:30 +02:00
Klaus Schmidinger 3b88ba1cd2 The SVDRP command CHAN now also accepts channel IDs 2002-12-22 14:07:51 +01:00
Klaus Schmidinger 9fee2b67ab First step towards a 'unique channel ID' 2002-11-10 15:50:21 +01:00
Klaus Schmidinger 029dd8aa1c Fixed slow reaction on SVDRP input 2002-10-20 12:49:16 +02:00
Klaus Schmidinger ac9622bb8a Timers now internally have a pointer to their channel 2002-10-20 12:28:55 +02:00
Klaus Schmidinger ab4ceb29a0 Implemented gaps in channel numbering 2002-10-19 15:33:37 +02:00
Klaus Schmidinger 44cb1a79a5 The SVDRP command PUTE now triggers an immediate write of the 'epg.data' file 2002-10-13 09:34:47 +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 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 2d487365a1 New SVDRP command CLRE 2002-08-25 10:49:02 +02:00
Klaus Schmidinger 9a1a16f3d4 Consistently using malloc/free and new/delete 2002-08-11 13:32:23 +02:00
Klaus Schmidinger a4bfddd2f9 Totally rearranged device/player/recorder structures 2002-06-16 12:57:31 +02:00
Klaus Schmidinger d4893ad1fe Improved the [eid]syslog() macros 2002-05-13 16:35:49 +02:00
Klaus Schmidinger 8162e30e1b Fixed leftover references to the file FORMATS 2002-05-10 15:08:51 +02:00
Klaus Schmidinger c751c195c1 Improved usage of 'safe_write()' 2002-03-23 16:17:39 +01:00
Klaus Schmidinger 18ab84b0c1 New SVDRP command VOLU 2002-03-09 10:07:40 +01:00
Klaus Schmidinger 58af7c57e5 Added a missing error message in SVDRP command LSTC 2002-02-24 14:16:46 +01:00
Klaus Schmidinger 46095d6151 New SVDRP command PUTE 2002-02-24 11:13:21 +01:00
Klaus Schmidinger db7f6ee619 Accessing Schedules data directly via cSIProcessor 2002-02-23 13:55:57 +01:00
Klaus Schmidinger 0b7e9057da Introduced 'svdrphosts.conf' 2002-02-02 17:20:54 +01:00
Klaus Schmidinger ddec0a101b Changed the [dei]syslog macros to use var args; fixed error handling in establishing an SVDRP connection 2002-02-02 13:44:24 +01:00
Klaus Schmidinger 08390642c8 Improved performance of SVDRP command entry 2002-01-13 16:08:45 +01:00
Klaus Schmidinger 9bba1ce73e Removed all video overlay stuff from cDvbApi and SVDRP 2001-11-04 11:38:23 +01:00
Klaus Schmidinger 576ba802fe New SVDRP commands LSTR and DELR to list and delete recordings 2001-10-27 11:47:46 +02:00
Klaus Schmidinger 6c41138bdd Moved the _GNU_SOURCE macro into the Makefile 2001-10-07 15:14:50 +02:00
Klaus Schmidinger fe9d7f0545 Fixed handling SVDRP commands whith more than one blank between the command word and the options 2001-09-22 13:31:29 +02:00
Klaus Schmidinger e425cb9434 Changed size of all parse buffers to 10KB 2001-09-14 14:35:40 +02:00
Klaus Schmidinger 63105a7842 New SVDRP command NEXT to show the next timer event 2001-09-01 09:53:01 +02:00
Klaus Schmidinger 000ce0cf21 Made I/O more robust by handling EINTR 2001-08-12 15:22:48 +02:00
Klaus Schmidinger bd48a49712 Fixed handling characters above 0xEF in SVDRP 2001-07-22 14:00:11 +02:00
Klaus Schmidinger 1930e13961 Fixed a hanging SVDRP connection if the client dies without issuing QUIT 2001-07-14 09:49:07 +02:00
Klaus Schmidinger fae6bae6d4 The SVDRP HELP command now prints the topics in several columns 2001-04-01 16:07:58 +02:00
Klaus Schmidinger 11eccf850f New SVDRP command LSTE to list the EPG data 2001-04-01 15:40:43 +02:00
Klaus Schmidinger ab626eecd3 SVDRP now also works with clients that don't do line buffering 2001-04-01 14:13:42 +02:00
Klaus Schmidinger e3c265d186 SVDRP commands LSTC and LSTT now return an error message if no channels or timers are defined 2001-03-02 23:00:53 +01:00
Klaus Schmidinger 3586013b8f New SVDRP command MESG; SVDRP can reuse port; SVDRP timeout 2001-02-18 14:18:13 +01:00
Klaus Schmidinger 6b0658a977 Switched to PES recording 2000-12-08 16:23:32 +01:00
Klaus Schmidinger eefbcf5216 Current channel is now device specific 2000-11-05 18:39:17 +01:00
Klaus Schmidinger 19f9f9cfce Fixed daemon mode (RcIo and Interface no longer static) 2000-10-08 12:24:30 +02:00
Klaus Schmidinger 925780c20f Implemented overlay handling 2000-09-17 13:47:06 +02:00