From 16c763897741f6b8931912c87c3214253c34ac34 Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Sat, 20 Apr 2013 18:39:17 +0100 Subject: [PATCH] Add file size to recordings list --- handler.c | 1 + 1 file changed, 1 insertion(+) diff --git a/handler.c b/handler.c index 25c678f..71cb960 100644 --- a/handler.c +++ b/handler.c @@ -148,6 +148,7 @@ bool jsonserver_reclist(Json::Value& js) oneRec["IsNew"] = recording->IsNew(); oneRec["Name"] = recording->Name(); oneRec["Filename"] = recording->FileName(); + oneRec["FileSizeMB"] = recording->FileSizeMB(); jsrecordings.append(oneRec); } js["Recordings"] = jsrecordings; -- 2.39.5