[Alpha 1.32.1.0] Attempting to play video files repeatedly does not work as expected.

Posts: 21
Description: Attempting to play video files repeatedly does not work as expected. Playing it once works as normal, however repeatedly attempting to play the same video file through ATVO does not play as expected.

Steps to reproduce:

1. Have a theme with a video source file, and a method of triggering it.
2. Trigger it once, and notice that the video file plays normally
3. Trigger it again, and notice that the video file does not play normally. It displays a frame out of the video file, and abruptly cuts. The sub process tied to playing video files is then unable to release the resource.

Expected behaviour: The video file should play normally, over repeated attempts.
Posts: 785
How are you triggering it? Can you try it from the Media Player? Can you try it with different video formats? This is something I specifically targeted to improve and it worked every time in my testing. It could be video format related.
Posts: 27
Can confirm I had the same issue. Mine is triggered by replay/live triggers and worked as expected previous to the latest Alpha build. MP4 video format
Posts: 785
Can you send me this video?
Posts: 785
Sorry, I meant can you send me the video file you use for the replay so I can reproduce it?
Posts: 27
https://drive.google.com/file/d/1-10-yJCeRMe0dqKdIQBz4J9lza9HqA42/view?usp=sharing
Posts: 21
After further investigation - it seems that ATVO 1.32.1.0 is not releasing resources like Audio and Video cleanly. After acquiring the file to use, ATVO does not release them.

Error: 7/21/2020 11:15:41 PM (UTC)
ATVO version: 1.32.1.0
Themes SDK version: 1.19.0.0
Theme version: none

Unhandled exception
System.IO.IOException: The process cannot access the file 'Big Dog Sequence_2.mp4' because it is being used by another process.
  at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
  at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
  at ATVO.Theme.ThemeModule.OnLoadTheme(String filepath) in D:\Users\Nick\Documents\Programming\ATVO\Appgineer.in-TV-Overlay-for-iRacing\ATVO.Theme\ThemeModule.cs:line 64
  at Prism.Events.EventSubscription`1.<>c__DisplayClass11_0.<GetExecutionStrategy>b__0(Object[] arguments) in d:\a\1\s\Source\Prism\Events\EventSubscription.cs:line 173
  at Prism.Events.EventBase.InternalPublish(Object[] arguments) in d:\a\1\s\Source\Prism\Events\EventBase.cs:line 60
  at ATVO.ThemeLoader.ViewModels.LoadThemeWindowViewModel.Load(Window window) in D:\Users\Nick\Documents\Programming\ATVO\Appgineer.in-TV-Overlay-for-iRacing\ATVO.ThemeLoader\ViewModels\LoadThemeWindowViewModel.cs:line 83
  at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
  at System.Windows.Controls.Primitives.ButtonBase.OnClick()
  at System.Windows.Controls.Button.OnClick()
  at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
  at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
  at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
  at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
  at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
  at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
  at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
  at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
  at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
  at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
  at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
  at System.Windows.Input.InputManager.ProcessStagingArea()
  at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
  at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
  at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
  at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
  at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
  at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
  at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
  at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
  at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Posts: 785
Thanks. Both of these issues should be fixed in 1.32.2.1.