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

refresh home page after video playback

This commit is contained in:
Luke Pulverenti 2015-09-20 14:17:57 -04:00
parent 18037a5943
commit c651a45dea
3 changed files with 38 additions and 4 deletions

View file

@ -247,8 +247,14 @@
if (player.isLocalPlayer) {
monitorPlayer(player);
}
Events.on(player, 'playbackstop', onPlaybackStop);
};
function onPlaybackStop(e, state) {
$(self).trigger('playbackstop', [state]);
}
self.getPlayerInfo = function () {
var player = currentPlayer || {};