Skip to content

Commit

Permalink
Merge pull request #60 from stemrollerapp/develop
Browse files Browse the repository at this point in the history
Merge #58, fix conflicts, bump version
  • Loading branch information
iffyloop authored Apr 18, 2024
2 parents 822ff89 + c3336fe commit 6abd726
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stemroller",
"version": "2.0.4",
"version": "2.0.5",
"private": true,
"type": "module",
"description": "Isolate vocals, drums, bass, and other instrumental stems from any song",
Expand Down
6 changes: 3 additions & 3 deletions renderer-src/components/SearchAndResults.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@
const results = await window.youtubeSearch(query)
if (results.videos.length > 0) {
videos = results.videos
status = null
} else {
throw new Error('No video results available')
}
status = null
} catch (err) {
console.error(err)
status = { step: 'error' }
Expand Down Expand Up @@ -84,6 +82,8 @@
{#each videos as video}
<ResultCard {video} {onSplitClicked} />
{/each}
{:else if status === null && !videos?.length}
<p class="m-4 text-slate-400 text-center">No video results available.</p>
{:else if status !== null && status.step === 'error'}
<p class="m-4 text-slate-400 text-center">An error occurred. Please make sure you&apos;re connected to the internet and try again.</p>
{:else if !hasQuery}
Expand Down

0 comments on commit 6abd726

Please sign in to comment.