small bugfix

This commit is contained in:
2023-11-25 10:54:04 +01:00
parent 8f8e63d8b7
commit 3025781a04
5 changed files with 10 additions and 1 deletions

View File

@@ -46,6 +46,7 @@ const app = Vue.createApp( {
rawLoadedPlaylistData: {},
basePath: '',
audioPlayer: null,
isReconnecting: false,
// slider
offset: 0,
@@ -653,7 +654,11 @@ const app = Vue.createApp( {
}
setTimeout( () => {
self.connectToNotifier();
if ( !self.isReconnecting ) {
self.isReconnecting = true;
self.connect();
self.isReconnecting = false;
}
}, 1000 );
}, false );
},