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:
parent
cb4d1e1643
commit
3842bf80e6
13 changed files with 119 additions and 35 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue