diff --git a/package-lock.json b/package-lock.json index 0a91bd5..5bb8166 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "stemroller", - "version": "2.0.5", + "version": "2.0.6", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "stemroller", - "version": "2.0.5", + "version": "2.0.6", "license": "Unlicense", "dependencies": { "@distube/ytdl-core": "^4.13.3", diff --git a/package.json b/package.json index e1685e1..5cd6d7e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stemroller", - "version": "2.0.5", + "version": "2.0.6", "private": true, "type": "module", "description": "Isolate vocals, drums, bass, and other instrumental stems from any song", diff --git a/renderer-src/components/SearchAndResults.svelte b/renderer-src/components/SearchAndResults.svelte index f318cdd..1da0ed3 100644 --- a/renderer-src/components/SearchAndResults.svelte +++ b/renderer-src/components/SearchAndResults.svelte @@ -58,7 +58,10 @@ } $: { - if (typeof navigator !== 'undefined' && navigator.platform.toLowerCase().indexOf('mac') !== -1) { + if ( + typeof navigator !== 'undefined' && + navigator.platform.toLowerCase().indexOf('mac') !== -1 + ) { dndFileExplorerName = 'Finder' } } @@ -66,7 +69,11 @@
- +
@@ -78,26 +85,43 @@
- {#if videos && status === null} - {#each videos as video} - - {/each} - {:else if status === null && !videos?.length} -

No video results available.

- {:else if status !== null && status.step === 'error'} -

An error occurred. Please make sure you're connected to the internet and try again.

- {:else if !hasQuery} + {#if !hasQuery}
-

Type any song title in the search bar above,
or stored on your device.

+

+ Type any song title in the search bar above,
or + stored on your device. +

-
+
-

Pro tip: you can also drag local files from {dndFileExplorerName} and drop them onto this window to split them.

+

+ Pro tip: you can also drag local files from {dndFileExplorerName} + and drop them onto this window to split them. +

+ {:else if videos && status === null} + {#each videos as video} + + {/each} + {:else if (!videos || videos.length === 0) && status === null} +

No video results available.

+ {:else if status !== null && status.step === 'error'} +

+ An error occurred. Please make sure you're connected to the internet and try again. +

{/if}