mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
The SVDRP command DELR no longer triggers a complete reload of the global Recordings list, but rather deletes that particular entry
This commit is contained in:
parent
cfc1903408
commit
83985eff47
4
HISTORY
4
HISTORY
@ -3807,7 +3807,7 @@ Video Disk Recorder Revision History
|
|||||||
- Implemented a hash for the channels to reduce the system load in the EIT scanning
|
- Implemented a hash for the channels to reduce the system load in the EIT scanning
|
||||||
thread (based on a patch by Georg Acher).
|
thread (based on a patch by Georg Acher).
|
||||||
|
|
||||||
2005-09-17: Version 1.3.33
|
2005-09-18: Version 1.3.33
|
||||||
|
|
||||||
- Fixed two errors in 'newplugin' (thanks to Alexander Rieger).
|
- Fixed two errors in 'newplugin' (thanks to Alexander Rieger).
|
||||||
- Fixed converting arbitrarily formatted summary.vdr files (thanks to Thomas Günther).
|
- Fixed converting arbitrarily formatted summary.vdr files (thanks to Thomas Günther).
|
||||||
@ -3822,3 +3822,5 @@ Video Disk Recorder Revision History
|
|||||||
- Fixed error handling in cCiTransportConnection::RecvTPDU() (thanks to Georg Acher
|
- Fixed error handling in cCiTransportConnection::RecvTPDU() (thanks to Georg Acher
|
||||||
for reporting this one).
|
for reporting this one).
|
||||||
- Removed obsolete 'shift' code in device.[hc].
|
- Removed obsolete 'shift' code in device.[hc].
|
||||||
|
- The SVDRP command DELR no longer triggers a complete reload of the global Recordings
|
||||||
|
list, but rather deletes that particular entry.
|
||||||
|
4
svdrp.c
4
svdrp.c
@ -10,7 +10,7 @@
|
|||||||
* and interact with the Video Disk Recorder - or write a full featured
|
* and interact with the Video Disk Recorder - or write a full featured
|
||||||
* graphical interface that sits on top of an SVDRP connection.
|
* graphical interface that sits on top of an SVDRP connection.
|
||||||
*
|
*
|
||||||
* $Id: svdrp.c 1.80 2005/09/03 14:09:02 kls Exp $
|
* $Id: svdrp.c 1.81 2005/09/18 10:50:08 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "svdrp.h"
|
#include "svdrp.h"
|
||||||
@ -569,7 +569,7 @@ void cSVDRP::CmdDELR(const char *Option)
|
|||||||
if (!rc) {
|
if (!rc) {
|
||||||
if (recording->Delete()) {
|
if (recording->Delete()) {
|
||||||
Reply(250, "Recording \"%s\" deleted", Option);
|
Reply(250, "Recording \"%s\" deleted", Option);
|
||||||
::Recordings.Load(); // must make sure the global recordings list is updated
|
::Recordings.DelByName(recording->FileName());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
Reply(554, "Error while deleting recording!");
|
Reply(554, "Error while deleting recording!");
|
||||||
|
Loading…
Reference in New Issue
Block a user