diff --git a/airsonic-main/src/main/webapp/script/videoPlayerCast.js b/airsonic-main/src/main/webapp/script/videoPlayerCast.js index f5d49f91..744dfde5 100644 --- a/airsonic-main/src/main/webapp/script/videoPlayerCast.js +++ b/airsonic-main/src/main/webapp/script/videoPlayerCast.js @@ -315,7 +315,7 @@ console.log("new media session ID:" + mediaSession.mediaSessionId + ' (' + how + ')'); this.currentMediaSession = mediaSession; if (how == 'loadMedia') { - this.castPlayerState = this.castPlayerState = PLAYER_STATE.LOADED; + this.castPlayerState = PLAYER_STATE.LOADED; console.log(this.castPlayerState + " (onMediaDiscovered-loadMedia)"); }