Having an explodable path with a bit too many subdirectories inside of it (a NAS root or something similar) currently leads to filling sub-file-paths/audio-file-paths with a lot of garbage and most likely significantly slows down file loading.
One possible solution is to ignore paths with >= threshold subdirectory count on each recursion level as they are most likely irrelevant to the playing video. Should be configurable and toggleable, probably with a whitelist for "always explodable paths" in case someone likes to store all their subtitles in a shared directory.
Having an explodable path with a bit too many subdirectories inside of it (a NAS root or something similar) currently leads to filling
sub-file-paths/audio-file-pathswith a lot of garbage and most likely significantly slows down file loading.One possible solution is to ignore paths with
>= thresholdsubdirectory count on each recursion level as they are most likely irrelevant to the playing video. Should be configurable and toggleable, probably with a whitelist for "always explodable paths" in case someone likes to store all their subtitles in a shared directory.