Check intro validity before writing an EDL file

This commit is contained in:
ConfusedPolarBear 2022-06-24 17:02:40 -05:00
parent e33ff529b6
commit 667c1441a9

View File

@ -68,6 +68,11 @@ public static class EdlManager
_logger?.LogDebug("Episode {Id} did not have an introduction, skipping", id);
continue;
}
else if (!intro.Valid)
{
_logger?.LogDebug("Episode {Id} did not have a valid introduction, skipping", id);
continue;
}
var edlPath = GetEdlPath(Plugin.Instance!.GetItemPath(id));