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

add configurable encoding params

This commit is contained in:
Luke Pulverenti 2016-09-04 11:01:31 -04:00
parent cb4d1e1643
commit 3842bf80e6
13 changed files with 119 additions and 35 deletions

View file

@ -155,21 +155,10 @@
});
}
function renderUpcomingRecordings(context) {
ApiClient.getLiveTvTimers({
IsActive: false
}).then(function (result) {
renderTimers(context.querySelector('#upcomingRecordings'), result.Items);
});
}
function reload(context) {
Dashboard.showLoadingMsg();
renderUpcomingRecordings(context);
renderActiveRecordings(context);
renderLatestRecordings(context);
@ -191,9 +180,6 @@
tabContent.querySelector('#activeRecordings .recordingItems').addEventListener('timercancelled', function () {
reload(tabContent);
});
tabContent.querySelector('#upcomingRecordings .recordingItems').addEventListener('timercancelled', function () {
reload(tabContent);
});
self.renderTab = function () {
reload(tabContent);