From 3971cc6e8845f2a70018b20706f4a30d71edd41d Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Wed, 11 Sep 2013 12:20:37 +0200 Subject: Removed the code for distributing recordings over several video directories; added the cVideoDirectory plugin API --- svdrp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svdrp.c') diff --git a/svdrp.c b/svdrp.c index 8a50daeb..ef1296d9 100644 --- a/svdrp.c +++ b/svdrp.c @@ -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 -- cgit v1.2.3