mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add setting to control transcodng throttle
This commit is contained in:
parent
74d6e3aaad
commit
4ffd893f3e
14 changed files with 202 additions and 117 deletions
|
@ -265,8 +265,11 @@
|
|||
|
||||
});
|
||||
|
||||
|
||||
}).on('pagebeforeshow pageinit', "#addPluginPage", function () {
|
||||
|
||||
// This needs both events for the helpurl to get done at the right time
|
||||
|
||||
var page = this;
|
||||
|
||||
var context = getParameterByName('context');
|
||||
|
@ -274,12 +277,24 @@
|
|||
if (context == 'sync') {
|
||||
$('.syncTabs', page).show();
|
||||
$('.pluginTabs', page).hide();
|
||||
$('.livetvTabs', page).hide();
|
||||
|
||||
page.setAttribute('data-helpurl', 'https://github.com/MediaBrowser/Wiki/wiki/Sync');
|
||||
Dashboard.setPageTitle(Globalize.translate('TitleSync'));
|
||||
} else {
|
||||
}
|
||||
else if (context == 'livetv') {
|
||||
|
||||
$('.syncTabs', page).hide();
|
||||
$('.pluginTabs', page).hide();
|
||||
$('.livetvTabs', page).show();
|
||||
|
||||
Dashboard.setPageTitle(Globalize.translate('TitleLiveTV'));
|
||||
page.setAttribute('data-helpurl', 'https://github.com/MediaBrowser/Wiki/wiki/Live%20TV');
|
||||
}
|
||||
else {
|
||||
$('.syncTabs', page).hide();
|
||||
$('.pluginTabs', page).show();
|
||||
$('.livetvTabs', page).hide();
|
||||
|
||||
page.setAttribute('data-helpurl', 'https://github.com/MediaBrowser/Wiki/wiki/Plugins');
|
||||
Dashboard.setPageTitle(Globalize.translate('TitlePlugins'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue