[webui] reload the EPG store on "dvrdb" notifications
This way the DVR status icon gets updated correctly when a recording changes state
This commit is contained in:
parent
6f4fc91fef
commit
e43b0e6e00
1 changed files with 8 additions and 0 deletions
|
@ -295,6 +295,14 @@ tvheadend.epg = function() {
|
|||
name: 'serieslink'
|
||||
}])
|
||||
});
|
||||
|
||||
/**
|
||||
* Listener for DVR notifications. We want to update the EPG grid when a
|
||||
* recording is finished/deleted etc. so the status icon gets updated.
|
||||
*/
|
||||
tvheadend.comet.on('dvrdb', function() {
|
||||
epgStore.reload();
|
||||
});
|
||||
|
||||
function setMetaAttr(meta, record) {
|
||||
var now = new Date;
|
||||
|
|
Loading…
Add table
Reference in a new issue