Permalink
Browse files

Removed recordshow-free.patch

  • Loading branch information...
1 parent 63dc9cf commit 6db91b0907292bb39c51a5c780d2bbc4963e98e2 @hotzenplotz5 hotzenplotz5 committed Jul 17, 2012
Showing with 0 additions and 28 deletions.
  1. +0 −28 debian/patches/opt-43-x_recordshowfree.patch
@@ -1,28 +0,0 @@
-Description: Shows remaining recording capacity in recordings menu.
- (Requires timer-info patch)
-Author: Walter Koch <koch@u32.de>
-
-Index: vdr-1.7.27/menu.c
-===================================================================
---- vdr-1.7.27.orig/menu.c 2012-03-25 14:18:05.704975038 +0200
-+++ vdr-1.7.27/menu.c 2012-03-25 14:18:05.734975038 +0200
-@@ -2594,6 +2594,19 @@
- }
- }
- free(LastItemText);
-+
-+//kw
-+ char *buffer = NULL;
-+ int FreeMB;
-+ int Percent = VideoDiskSpace(&FreeMB);
-+ int Minutes = int(double(FreeMB) / MB_PER_MINUTE);
-+ int Hours = Minutes / 60;
-+ Minutes %= 60;
-+ asprintf(&buffer, "%s %d%% %2d:%02d %s (%.1f GB)", tr("Disk"), Percent, Hours, Minutes, tr("free"), FreeMB / 1024.0 );
-+ SetTitle(buffer);
-+ free(buffer);
-+//kw
-+
- Refresh |= SetFreeDiskDisplay(Refresh);
- if (Refresh)
- Display();

0 comments on commit 6db91b0

Please sign in to comment.