new config setting recent-count added

This commit is contained in:
Frank Skare
2019-08-11 04:58:42 +02:00
parent a8c2409ed1
commit 2177308b02
7 changed files with 24 additions and 15 deletions

View File

@@ -30,6 +30,7 @@ namespace mpvnet
public static bool ThemedMenu { get; set; }
public static int StartThreshold { get; set; } = 1500;
public static int RecentCount { get; set; } = 15;
public static float MinimumAspectRatio { get; set; } = 1.3f;
@@ -117,6 +118,7 @@ namespace mpvnet
case "minimum-aspect-ratio": MinimumAspectRatio = value.Float(); return true;
case "auto-load-folder": AutoLoadFolder = value == "yes"; return true;
case "themed-menu": ThemedMenu = value == "yes"; return true;
case "recent-count": RecentCount = value.Int(); return true;
}
return false;
}