Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

utils.IsDirectory and Utils.IsFile broken on some Disks #192

Open
regorxxx opened this issue Oct 22, 2022 · 3 comments
Open

utils.IsDirectory and Utils.IsFile broken on some Disks #192

regorxxx opened this issue Oct 22, 2022 · 3 comments

Comments

@regorxxx
Copy link

regorxxx commented Oct 22, 2022

image

image

image

There are problems with virtual drives, disc readers, removable SD Card devices, etc.

Note the FSO approach works fine on those cases.
new ActiveXObject('Scripting.FileSystemObject').FolderExists()

regorxxx added a commit to regorxxx/Playlist-Tools-SMP that referenced this issue Oct 23, 2022
regorxxx added a commit to regorxxx/Search-by-Distance-SMP that referenced this issue Oct 23, 2022
@regorxxx
Copy link
Author

regorxxx commented Feb 3, 2023

https://hydrogenaud.io/index.php/topic,111060.msg1022069.html#msg1022069

And here you go another instance of this problem. @Wil-B

@regorxxx
Copy link
Author

regorxxx commented Feb 3, 2023

@TT-ReBORN you should also check your helpers, since the last time I checked it all the IsFile and IsFolder methods where not wrapped within try/catch.
gr-helpers.js

@TT-ReBORN
Copy link

Thanks, I've updated those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants