Commit Graph

176 Commits

Author SHA1 Message Date
Klaus Schmidinger 040f842e6c Fixed processing SVDRP client responses in case the caller doesn't want the actual response strings 2018-03-19 12:32:16 +01:00
Klaus Schmidinger f4b60f0b68 Made the input buffer in cSVDRPClient dynamic 2018-03-18 10:43:53 +01:00
Klaus Schmidinger a1af84f29a Added missing <name> to help for POLL 2018-03-17 13:00:19 +01:00
Klaus Schmidinger 043929d850 Fixed a possible race condition with CONN vs. LSTT 2018-03-17 10:07:19 +01:00
Klaus Schmidinger 1f9832b449 Assigning events to timers no longer triggers sending a POLL to all peer VDRs 2018-03-04 14:15:07 +01:00
Klaus Schmidinger 4d7455e783 Added timeouts for SVDRP peer communication about timers 2018-03-01 14:45:57 +01:00
Klaus Schmidinger 9c3ce0048a When remote timers are fetched from a peer VDR, we no longer blindly delete and re-add them, but rather compare them and make only the minimum necessary changes 2018-02-28 10:06:47 +01:00
Klaus Schmidinger d5db0c5ba7 Improved locking 2018-02-26 15:42:15 +01:00
Klaus Schmidinger e4af94d3f9 Combined Start/StopSVDRPServer/ClientHandler() into Start/StopSVDRPHandler() 2018-02-25 13:57:21 +01:00
Klaus Schmidinger 6600478675 Moved handling remote timers into cSVDRPClientHandler::ProcessConnections() 2018-02-25 13:26:17 +01:00
Klaus Schmidinger 361d642660 Initiating the client side of a peer-to-peer SVDRP connection is now done with the new SVDRP command CONN instead of using the UDP port with the server's address 2018-02-20 13:28:04 +01:00
Klaus Schmidinger 940e4a7c4d Fixed handling SVDRP peering for more than one instance of VDR on the same machine, and improved logging and debug output 2018-02-15 14:30:14 +01:00
Klaus Schmidinger 3090d8146f Implemented storing timer id in .timer 2018-02-13 09:33:41 +01:00
Klaus Schmidinger 015b269c21 Making sure cSVDRPClient::Process() reads the entire reply once it started reading, even if no Response parameter is given 2018-02-05 15:18:19 +01:00
Klaus Schmidinger d19a3fc3b8 The new SVDRP commands 'LSTD' and 'PRIM' can be used to list all available devices and to switch the primary device 2017-11-11 12:04:17 +01:00
Klaus Schmidinger 363dee6846 SVDRP peering can now be limited to the default SVDRP host 2017-06-30 09:50:44 +02:00
Klaus Schmidinger a28d92d049 Whenever a change is made to the recordings in the video directory, the SVDRP command UPDR is now sent to all peer VDRs 2017-06-25 12:43:09 +02:00
Klaus Schmidinger bae02358a3 Fixed a possible crash in case the SVDRP connection to a peer VDR is terminated while getting remote timers 2017-05-31 14:06:07 +02:00
Klaus Schmidinger 2751e239eb Fixed the locking sequence when dumping EPG data 2017-05-28 13:08:09 +02:00
Klaus Schmidinger 0b9870959b Fixed handling remote timers 2017-05-20 13:01:34 +02:00
Klaus Schmidinger 467829af32 The SVDRP command LSTC can now list the channels with channel ids; channel number 0 lists the data of the current channel 2017-04-22 15:02:56 +02:00
Klaus Schmidinger 6d52c80273 Changed some leftover 'number' to 'id' in SVDRP replies 2017-04-04 11:09:14 +02:00
Klaus Schmidinger 63a32ce483 Fixed a deadlock in the SVDRP command PLAY in case there is currently a recording being replayed 2017-04-04 11:05:38 +02:00
Klaus Schmidinger 7170c20c7e Added missing GetById() calls 2017-04-04 09:39:36 +02:00
Klaus Schmidinger 7e6667f58f Changed 'number' to 'id' in the help texts of SVDRP commands that deal with timers 2017-04-03 14:32:33 +02:00
Klaus Schmidinger 67cb53d587 Recordings now have unique ids 2017-04-03 14:11:41 +02:00
Klaus Schmidinger d6c26af696 Using SetCurrentChannel(int ChannelNumber) instead of the deprecated SetCurrentChannel(const cChannel *Channel) 2016-12-08 10:48:53 +01:00
Klaus Schmidinger ce6c90a450 The SVDRP command DELC now refuses to delete the very last channel in the list 2016-12-08 09:53:01 +01:00
Klaus Schmidinger 8a09e90f02 Fixed handling remote timers 2015-09-14 13:23:06 +02:00
Klaus Schmidinger bfc3f1f4b2 Fixed moving currently recording timers between machines 2015-09-13 13:57:51 +02:00
Klaus Schmidinger bc0de5dbc5 Implemented full handling of remote timers 2015-09-10 10:39:45 +02:00
Klaus Schmidinger 4e3325b7f7 Implemented setup options for SVDRP peering 2015-09-08 11:08:06 +02:00
Klaus Schmidinger aa40223ff2 Removed extra debug output 2015-09-06 09:25:16 +02:00
Klaus Schmidinger 04edd69b7a Timers now have unique ids 2015-09-06 09:14:53 +02:00
Klaus Schmidinger 3cd5294d8a Implemented strict locking of global lists 2015-09-01 11:14:27 +02:00
Klaus Schmidinger c3b0347556 Implemented SVDRP peering 2015-05-22 13:44:43 +02:00
Klaus Schmidinger 2b9e988dd5 The SVDRP port now accepts multiple concurrent connections 2015-04-29 13:10:06 +02:00
Klaus Schmidinger 77340e9273 Added a missing backslash to the help text of the SVDRP command MOVR 2015-01-12 11:19:11 +01:00
Klaus Schmidinger a16391ecb0 Changed the name of the SVDRP command RENR to MOVR 2013-10-21 07:55:23 +02:00
Klaus Schmidinger 4ea90cefe8 Fixed some compiler warnings with gcc-4.6.3 2013-10-20 09:57:55 +02:00
Klaus Schmidinger 396f8c96af Added refreshing the recording in the Recording Info/Edit menus 2013-10-14 09:59:04 +02:00
Klaus Schmidinger 2bdb599fbc Added renaming and moving recordings and folders, and editing a recording's priority and lifetime; added cutting queue 2013-10-10 13:13:30 +02:00
Klaus Schmidinger 3971cc6e88 Removed the code for distributing recordings over several video directories; added the cVideoDirectory plugin API 2013-09-11 12:20:37 +02:00
Klaus Schmidinger 3ca58a42e7 Removed trailing whitespace 2013-02-17 13:19:36 +01:00
Klaus Schmidinger 6a8a790312 The SVDRP command NEWT no longer checks whether a timer with the given data already exists 2013-01-17 15:21:07 +01:00
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