[READ-ONLY] Mirror of https://github.com/probablykasper/ferrum. Music library app for Mac, Linux and Windows ferrum.kasper.space
electron linux macos music music-library music-player napi windows
0

Configure Feed

Select the types of activity you want to include in your feed.

Only reload audio when updating current song

Kasper (Oct 22, 2022, 11:33 AM +0200) 39369877 f9ff7f3b

+5 -2
+1
CHANGELOG.md
··· 2 2 3 3 ## Next 4 4 - Hide app when window is closed on macOS 5 + - Fix unnecessary audio reloading 5 6 6 7 ## 0.16.1 - 2022 Oct 21 7 8 - Fix `Enter` not working Track Info window
+4 -2
src/components/TrackInfo.svelte
··· 12 12 import { methods } from '@/lib/data' 13 13 import type { Track, TrackID } from 'ferrum-addon' 14 14 import { ipcRenderer } from '@/lib/window' 15 - import { reload } from '@/lib/player' 15 + import { playingId, reload } from '@/lib/player' 16 16 import { onDestroy, tick } from 'svelte' 17 17 18 18 export let currentList: TrackInfoList ··· 166 166 // playCount, 167 167 comments, 168 168 }) 169 - reload() 169 + if (id === $playingId) { 170 + reload() 171 + } 170 172 } 171 173 if (hideAfter) { 172 174 cancel()