Closed twest820 closed 8 years ago
I will address the main comments. However, I don't know what you mean by the following: can you please explain so I can address them too?
Done (except for questions sent back to Todd regarding magic cookie / incorrect culture)
RefreshVideoPlayerDialogWindow() should call ImageRow.GetImagePath() rather than incorrectly duplicating the code and violating encapsulation. This prevents videos from playing as the path generated is malformed and null is blindly passed for the source.
RefreshVideoPlayerDialogWindow() performs its own file check rather than looking at ImageRow.ImageQuality == ImageFilter.Missing. This issue is systemic within Timelapse but adding more instances of the problem seems undesirable.
DialogVideoPlayer.isVideo() should be removed and ImageRow.IsVideo used. As coded, the implementation of the IsVideo() check has several issues: