Skip to content

Commit

Permalink
Merge pull request #11 from isaxk/dev
Browse files Browse the repository at this point in the history
added fix for live music streams (e.g lofi girl)
  • Loading branch information
isaxk authored Sep 2, 2024
2 parents 2b77dc8 + 3ee656f commit ff9b7cd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/renderer/src/views/MiniPlayer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@
: 0;
function handleSlide(e) {
if (progress == e || (progress - e < 10 && progress - e > -10)) return;
progress = e;
window.api.musicRemote("seekTo", e);
if (!$musicDataStore.data.isLiveContent) {
if (progress == e || (progress - e < 10 && progress - e > -10)) return;
progress = e;
window.api.musicRemote("seekTo", e);
}
}
</script>

Expand Down

0 comments on commit ff9b7cd

Please sign in to comment.