Fix image sequences, Nmkoder session path system, some refactoring/cleanup

This commit is contained in:
n00mkrad
2022-07-27 14:10:29 +02:00
parent 7e0a8e7c94
commit a0b145ae0d
18 changed files with 3383 additions and 100 deletions

View File

@@ -11,6 +11,11 @@ namespace Flowframes.Media
{
private static Dictionary<QueryInfo, int> cache = new Dictionary<QueryInfo, int>();
public static async Task<int> GetFrameCountAsync(MediaFile mf, int retryCount = 3)
{
return await GetFrameCountAsync(mf.SourcePath, retryCount);
}
public static async Task<int> GetFrameCountAsync(string path, int retryCount = 3)
{
Logger.Log($"Getting frame count ({path})", true);