fix building playouts in timezones with positive offsets (#368)

This commit is contained in:
Jason Dove
2021-09-15 09:07:35 -05:00
committed by GitHub
parent e218ff9a6d
commit e718cb0faf
15 changed files with 30 additions and 18 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ namespace ErsatzTV.Core.Metadata
}
public DateTime GetLastWriteTime(string path) =>
Try(File.GetLastWriteTimeUtc(path)).IfFail(() => DateTime.MinValue);
Try(File.GetLastWriteTimeUtc(path)).IfFail(() => SystemTime.MinValueUtc);
public bool IsLibraryPathAccessible(LibraryPath libraryPath) =>
Directory.Exists(libraryPath.Path);