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:
parent
18037a5943
commit
c651a45dea
3 changed files with 38 additions and 4 deletions
|
@ -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 || {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue