2010-07-11, 12:15 PM
arby50 Wrote:Just joined, just installed GBPVR with the "Videos Library" plugin, encountered the 1.4.7 crash when using multiple directories, just as described above. Found the bug in the source code, VideoLibrary.cs, line 1084 needs to be changed from "if (entryModel.TopDirs.Count == 1)" to "if (entryModel.TopDirs.Count > 1)". The problem might have already been solved since it appears to be a few months old, but figured if not, this might be helpful.
I should have cut&pasted the code in my post instead of typing, cuz re-reading it this morning made me realize the entryModel.TopDirs.Count needs to be > 0, not 1:
if (entryModel.TopDirs.Count > 0)
entryModel.SetDirectory(entryModel.TopDirs[0].Key);
Sorry for the mis-post.