Skip to content

Split any YouTube song into stems

TypeScript

feat: open processing view as soon as a split starts

Daniel Ravinae2f46660313f
diff --git a/src/renderer/src/App.tsx b/src/renderer/src/App.tsx
index 689da9a..f49cd77 100644
--- a/src/renderer/src/App.tsx
+++ b/src/renderer/src/App.tsx
@@ -83,9 +83,10 @@ export default function App(): React.ReactElement {
const startUrl = useCallback(
async (url: string, model = 'htdemucs', stems?: string[]): Promise<void> => {
- const vid = parseVideoId(url)
- if (!vid) return
- setLastUrl(url)
+ const vid = parseVideoId(url)
+ if (!vid) return
+ setActiveId(vid)
+ setLastUrl(url)
setLastModel(model)
setErrors((prev) => withoutKey(prev, vid))
setJobs((prev) =>