You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected result: if the full path does not exist, USDX just ignores it (maybe log about it)
Actual result: the path appears to be created like mkdir --parents
Imo, song scanning should not be creating any directory ever. And it currently doesn't log anything for non-existing, non-writable locations anyway, so just ignoring it would already be better than what it's doing now. It probably should still get logged (to prevent issues from people that it's not finding their songs) but it's otherwise unrelated to what this issue is all about.
Obviously this only works for writeable locations, which is really annoying if you just add some garbage to one of your SongDir entries to effectively toggle some part of your collection being available or not. Or in the real world: songs contains songs, songs_extra is a SongDir which has the everything else. I can really do without it creating useless songs_extraDISABLED, songs_extraAAAAAAA, songs_extra_disabled etc folders.
The text was updated successfully, but these errors were encountered:
That's kind of surprising, this looks like it should create the missing directory in every case.
The only problem here is that the function AddSpecialPath is used to create the paths for other stuff as well, so we'd have to disentangle this a bit/decide that new directories should not be created for the other cases as well
How to reproduce:
in config.ini:
then start the game
Expected result: if the full path does not exist, USDX just ignores it (maybe log about it)
Actual result: the path appears to be created like
mkdir --parents
Imo, song scanning should not be creating any directory ever. And it currently doesn't log anything for non-existing, non-writable locations anyway, so just ignoring it would already be better than what it's doing now. It probably should still get logged (to prevent issues from people that it's not finding their songs) but it's otherwise unrelated to what this issue is all about.
Obviously this only works for writeable locations, which is really annoying if you just add some garbage to one of your SongDir entries to effectively toggle some part of your collection being available or not. Or in the real world:
songs
contains songs,songs_extra
is a SongDir which has the everything else. I can really do without it creating uselesssongs_extraDISABLED
,songs_extraAAAAAAA
,songs_extra_disabled
etc folders.The text was updated successfully, but these errors were encountered: