mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2026-02-17 13:38:34 -06:00
FF-1410 - added audio container info
This commit is contained in:
@@ -79,6 +79,13 @@ namespace FileFlows.AudioNodes
|
||||
|
||||
if (string.IsNullOrEmpty(AudioInfo.Value.Codec) == false)
|
||||
args.RecordStatistic("CODEC", AudioInfo.Value.Codec);
|
||||
|
||||
string container = FileHelper.GetExtension(args.FileName).ToUpperInvariant().TrimStart('.');
|
||||
if (string.IsNullOrEmpty(container) == false)
|
||||
{
|
||||
args.Logger?.ILog("Audio Container: " + container);
|
||||
args.RecordStatistic("AUDIO_CONTAINER", container);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user