diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2013-09-11 12:20:37 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2013-09-11 12:20:37 +0200 |
commit | 3971cc6e8845f2a70018b20706f4a30d71edd41d (patch) | |
tree | 37a9211b2a65f972b17f3b302d16c9711146de33 /svdrp.c | |
parent | 209b8500670f0504a37232facdbed2acf68df086 (diff) | |
download | vdr-3971cc6e8845f2a70018b20706f4a30d71edd41d.tar.gz vdr-3971cc6e8845f2a70018b20706f4a30d71edd41d.tar.bz2 |
Removed the code for distributing recordings over several video directories; added the cVideoDirectory plugin API
Diffstat (limited to 'svdrp.c')
-rw-r--r-- | svdrp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10,7 +10,7 @@ * and interact with the Video Disk Recorder - or write a full featured * graphical interface that sits on top of an SVDRP connection. * - * $Id: svdrp.c 2.24 2013/02/17 13:18:01 kls Exp $ + * $Id: svdrp.c 3.1 2013/09/10 13:21:38 kls Exp $ */ #include "svdrp.h" @@ -1550,7 +1550,7 @@ void cSVDRP::CmdSTAT(const char *Option) if (*Option) { if (strcasecmp(Option, "DISK") == 0) { int FreeMB, UsedMB; - int Percent = VideoDiskSpace(&FreeMB, &UsedMB); + int Percent = cVideoDirectory::VideoDiskSpace(&FreeMB, &UsedMB); Reply(250, "%dMB %dMB %d%%", FreeMB + UsedMB, FreeMB, Percent); } else |