Commit 7cef361
fix: return nil from filterManualImportToSplitTracks when NewFiles is empty
When item.Resp is nil or NewFiles is empty, the function was returning the
full unfiltered outputs slice. This made filterSplitOutputs always see a
non-empty result, making the filterManualImportToNumberedTracks fallback
completely unreachable (dead code).
Return nil instead to signal "couldn't filter", allowing the numbered track
pattern fallback to work as intended for CUE splits where MoveFiles has
already moved tracks back to the original folder.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 161eda8 commit 7cef361
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| |||
0 commit comments