🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Add "keepalive" resource. It was causing issues in Firefox when using the dataProvider
Deluan513740737719
diff --git a/ui/src/App.js b/ui/src/App.jsindex 903674ea1..8aec2a04d 100644--- a/ui/src/App.js+++ b/ui/src/App.js@@ -110,6 +110,7 @@ const Admin = (props) => {<Resource name="albumSong" />,<Resource name="translation" />,<Resource name="playlistTrack" />,+ <Resource name="keepalive" />,<Player />,]}diff --git a/ui/src/audioplayer/Player.js b/ui/src/audioplayer/Player.jsindex 1ec2421d0..3bda8adf8 100644--- a/ui/src/audioplayer/Player.js+++ b/ui/src/audioplayer/Player.js@@ -256,7 +256,9 @@ const Player = () => {const onAudioEnded = useCallback((currentPlayId, audioLists, info) => {dispatch(currentPlaying(info))- dataProvider.getOne('keepalive', { id: info.trackId })+ dataProvider+ .getOne('keepalive', { id: info.trackId })+ .catch((e) => console.log('Keepalive error:', e))},[dispatch, dataProvider])