FF-1751: Fixed issue with tv show lookup failing if {tvdb-123} or similar were in the folder name

This commit is contained in:
John Andrews
2024-09-09 07:57:49 +12:00
parent a13dc7e337
commit af70452260
4 changed files with 67 additions and 78 deletions
+4
View File
@@ -116,7 +116,11 @@ public abstract class ImageBaseNode:Node
args.Variables["img.IsLandscape"] = imageInfo.IsLandscape;
if (imageInfo.DateTaken != null)
{
args.Variables["img.DateTaken"] = imageInfo.DateTaken.Value;
args.Variables["img.DateYear"] = imageInfo.DateTaken.Value.Year;
args.Variables["img.DateMont"] = imageInfo.DateTaken.Value.Year;
}
else
args.Variables.Remove("img.DateTaken");