Commit Graph

181 Commits

Author SHA1 Message Date
Klaus Schmidinger 89dc592727 The SVDRP command LSTR now knows the additional parameter "path", which can be given to get the actual file name of a recording's directory 2013-01-15 13:29:39 +01:00
Klaus Schmidinger 85b9c2f370 The SVDRP command HITK now discards any keys if the remote control is currently turned off 2012-12-04 12:13:14 +01:00
Klaus Schmidinger 7cd8ab4686 Fixed some spellings in osd.h and svdrp.c 2012-12-03 13:51:23 +01:00
Klaus Schmidinger 5f93700e07 The new member function cSkinDisplayReplay::SetRecording() allows a skin to display more information about the currently played recording 2012-05-12 14:20:41 +02:00
Klaus Schmidinger 06b8fe94ef Renamed the function cString::sprintf(const char *fmt, va_list &ap) to vsprintf() 2012-05-08 11:23:56 +02:00
Klaus Schmidinger 71d53f2c63 Fixed the SVDRP command UPDR, which didn't update the global recordings list 2012-04-26 10:48:18 +02:00
Klaus Schmidinger 4bdc69eb92 Fixed a possible race condition with the SVDRP commands CLRE and PUTE 2012-03-04 12:05:56 +01:00
Klaus Schmidinger 6a93cfe0c9 Removed code stub for obsolete SVDRP command MOVT 2012-02-16 12:38:48 +01:00
Klaus Schmidinger 6c7b28705e The SVDRP command DELR now won't delete a recording that is currently being edited 2012-02-16 12:29:27 +01:00
Klaus Schmidinger 4bd9756caf Fixed the SVDRP command CLRE for a single channel in case there are events that have a timer 2012-01-12 15:11:50 +01:00
Klaus Schmidinger abb95de8a9 Implemented the SVDRP command UPDR 2011-12-04 13:58:33 +01:00
Klaus Schmidinger 7d637b588f The SVDRP command LSTC now also accepts channel IDs 2011-09-11 14:49:33 +02:00
Klaus Schmidinger ac5f296f20 The SVDRP command HITK now accepts multiple keys 2011-08-27 10:43:18 +02:00
Klaus Schmidinger d1ab9dbc5f Now checking the result of all realloc() calls 2011-02-25 15:25:42 +01:00
Klaus Schmidinger c198a25943 If svdrphosts.conf contains only the address of the local host, the SVDRP port is opened only for the local host 2010-01-17 12:27:01 +01:00
Klaus Schmidinger 4743fc349c After a CLRE command, no further EPG processing is now done for 10 seconds 2010-01-03 15:45:23 +01:00
Klaus Schmidinger 20c8cd161f Changed the project's URLs and email to tvdr.de 2009-10-18 14:18:22 +02:00
Klaus Schmidinger abd5a81c89 Modified cSVDRP::CmdGRAB() to avoid writing into const data 2009-06-06 14:07:02 +02:00
Klaus Schmidinger 1d03f30e93 Added some missing 'const' keywords to avoid compilation errors with gcc 4.4 2009-06-06 13:48:41 +02:00
Klaus Schmidinger b36d06e1ea The SVDRP command PUTE now supports reading the EPG data from a given file 2009-04-13 13:35:29 +02:00
Klaus Schmidinger 7de7ede26f The recording format is now Transport Stream 2009-01-06 14:41:11 +01:00
Klaus Schmidinger 4ecf7e1728 The SVDRP signon message now indicates the character encoding in use 2008-05-02 14:22:23 +02:00
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