Let's say I have a computer with multiple drives. I only want to share one. The rest should remain inaccessible. For simplicity, I just want to add the whole IP as a source. If I do that, the app breaks.
There's a line in VideoUtils.getFilesFromDir that creates the error.
Collections.addAll(smbFiles, file.listFiles());
If the directory cannot be accessed, file.listFiles() creates an exception and breaks the whole app.
I'm currently working on a fix that will catch inaccessible directories but still allow accessible directories to be accessed.
Let's say I have a computer with multiple drives. I only want to share one. The rest should remain inaccessible. For simplicity, I just want to add the whole IP as a source. If I do that, the app breaks.
There's a line in
VideoUtils.getFilesFromDir
that creates the error.Collections.addAll(smbFiles, file.listFiles());
If the directory cannot be accessed,
file.listFiles()
creates an exception and breaks the whole app.I'm currently working on a fix that will catch inaccessible directories but still allow accessible directories to be accessed.