mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2026-01-07 07:00:24 -06:00
cleaned up some logging
This commit is contained in:
@@ -34,12 +34,8 @@ namespace FileFlows.BasicNodes.Functions
|
||||
if (string.IsNullOrEmpty(Code))
|
||||
return -1; // no code, flow cannot continue doesnt know what to do
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
args.Logger?.DLog("Code: ", Environment.NewLine + new string('=', 40) + Environment.NewLine + Code + Environment.NewLine + new string('=', 40));
|
||||
|
||||
|
||||
long fileSize = 0;
|
||||
var fileInfo = new FileInfo(args.WorkingFile);
|
||||
if (fileInfo.Exists)
|
||||
|
||||
@@ -154,12 +154,12 @@ namespace FileFlows.VideoNodes
|
||||
if (rgxDuration.IsMatch(info) && TimeSpan.TryParse(rgxDuration.Match(info).Value, out TimeSpan duration) && duration.TotalSeconds > 0)
|
||||
{
|
||||
vs.Duration = duration;
|
||||
Logger?.ILog("Video stream duration:: " + vs.Duration);
|
||||
Logger?.ILog("Video stream duration: " + vs.Duration);
|
||||
}
|
||||
else if (rgxDuration2.IsMatch(fullOutput) && TimeSpan.TryParse(rgxDuration2.Match(fullOutput).Value, out TimeSpan duration2) && duration2.TotalSeconds > 0)
|
||||
{
|
||||
vs.Duration = duration2;
|
||||
Logger?.ILog("Video stream duration:: " + vs.Duration);
|
||||
Logger?.ILog("Video stream duration: " + vs.Duration);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user