1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Clear player data on playback changing

This commit is contained in:
Dmitry Lyzo 2021-09-03 23:21:18 +03:00
parent d67998c226
commit 323695cb58

View file

@ -3016,6 +3016,9 @@ class PlaybackManager {
} }
return promise.then(function () { return promise.then(function () {
// Clear the data since we were not listening 'stopped'
getPlayerData(activePlayer).streamInfo = null;
bindStopped(activePlayer); bindStopped(activePlayer);
if (enableLocalPlaylistManagement(activePlayer)) { if (enableLocalPlaylistManagement(activePlayer)) {