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

rework transcoding settings

This commit is contained in:
Luke Pulverenti 2015-07-30 21:52:11 -04:00
parent 5439ca56b6
commit a1890b0e4e
8 changed files with 60 additions and 62 deletions

View file

@ -11,6 +11,7 @@
}).checkboxradio('refresh');
$('#selectThreadCount', page).val(config.EncodingThreadCount).selectmenu('refresh');
$('#txtDownMixAudioBoost', page).val(config.DownMixAudioBoost);
$('#txtTranscodingTempPath', page).val(config.TranscodingTempPath || '');
@ -29,6 +30,7 @@
config.DownMixAudioBoost = $('#txtDownMixAudioBoost', form).val();
config.TranscodingTempPath = $('#txtTranscodingTempPath', form).val();
config.EnableThrottling = $('#chkEnableThrottle', form).checked();
config.EncodingThreadCount = $('#selectThreadCount', form).val();
ApiClient.updateNamedConfiguration("encoding", config).done(Dashboard.processServerConfigurationUpdateResult);
});