Closed TimGels closed 2 years ago
When navigating to a directory and back before playing a video (for the second time) that resides in the root, the application does not crash anymore as a result of the exception that we throw.
Exception is thrown in the video player viewmodel, because List.IndexOf returns -1. However, List.Contains returns true.
The application sometimes crashes when trying to play the second video in the application session. This can be reproduced on my machine by removing the
graphcache.json
file from the LocalState directory and playing a video for the second time without closing the application in between (so it does not write the cache file).