Skip to content

Merge PR #1535: Apply 'Load all depth folders' to resamplers, wavtools, dll phonemizers and UTAU plugins#71

Merged
runit-xze merged 2 commits into
mainfrom
merge/pr-1535
Jul 25, 2026
Merged

Merge PR #1535: Apply 'Load all depth folders' to resamplers, wavtools, dll phonemizers and UTAU plugins#71
runit-xze merged 2 commits into
mainfrom
merge/pr-1535

Conversation

@runit-xze

Copy link
Copy Markdown
Owner

Cherry-picked from openutau/OpenUtau#1535. Makes the existing Load all depth folders preference apply to resamplers, wavtools, DLL phonemizers and UTAU plugins, not just singers.

LoadDeepFolderSinger defaults to true, so default behaviour is unchanged — only users who deliberately turned the toggle off get the shallower scan, which is exactly what they asked for.

Conflict resolution

DocManager.SearchAllPlugins conflicted. Our main had already replaced the flat recursive EnumerateFiles with SearchPluginInternal (from openutau#2270), which recurses but stops descending into directories containing plugin.txt, so it does not scoop up DLLs belonging to legacy UTAU plugins.

That is strictly better than this PR's version, so I kept it and honoured the PR's intent differently: SearchPluginInternal now stops recursing when the preference is off.

oxygen-dioxide and others added 2 commits May 14, 2025 12:58
… wavtools, dll phonemizers and UTAU plugins

Cherry-picked from openutau#1535.

Conflict in DocManager.SearchAllPlugins: our main already replaced the flat
recursive EnumerateFiles with SearchPluginInternal (from openutau#2270), which recurses
but stops descending into directories containing plugin.txt so it doesn't pick
up DLLs belonging to legacy UTAU plugins. That is strictly better than this PR's
version, so kept it, and instead honoured the PR's intent by making
SearchPluginInternal stop recursing when LoadDeepFolderSinger is off.

LoadDeepFolderSinger defaults to true, so default behaviour is unchanged; only
users who deliberately turned the toggle off get the shallower scan.
@runit-xze
runit-xze merged commit bb35ad7 into main Jul 25, 2026
@runit-xze
runit-xze deleted the merge/pr-1535 branch July 25, 2026 22:40
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 this pull request may close these issues.

2 participants