mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update recording screens
This commit is contained in:
parent
cb199a5152
commit
e55726cccf
6 changed files with 17 additions and 20 deletions
|
@ -44,10 +44,6 @@
|
|||
|
||||
return ApiClient.getSystemInfo().then(function (systemInfo) {
|
||||
|
||||
if (systemInfo.EncoderLocationType == "External") {
|
||||
return;
|
||||
}
|
||||
|
||||
return ApiClient.ajax({
|
||||
url: ApiClient.getUrl('System/MediaEncoder/Path'),
|
||||
type: 'POST',
|
||||
|
@ -212,11 +208,7 @@
|
|||
|
||||
ApiClient.getSystemInfo().then(function (systemInfo) {
|
||||
|
||||
if (systemInfo.EncoderLocationType == "External") {
|
||||
page.querySelector('.fldSelectEncoderPathType').classList.add('hide');
|
||||
} else {
|
||||
page.querySelector('.fldSelectEncoderPathType').classList.remove('hide');
|
||||
}
|
||||
page.querySelector('.fldSelectEncoderPathType').classList.remove('hide');
|
||||
loadPage(page, config, systemInfo);
|
||||
});
|
||||
});
|
||||
|
|
|
@ -676,11 +676,11 @@ define(['appSettings', 'userSettings', 'appStorage', 'datetime'], function (appS
|
|||
}
|
||||
|
||||
var onBitrateDetected = function () {
|
||||
|
||||
Dashboard.getDeviceProfile(null, {
|
||||
|
||||
enableMkvProgressive: item.RunTimeTicks != null,
|
||||
enableTsProgressive: item.RunTimeTicks != null,
|
||||
enableHls: !browserInfo.firefox || item.RunTimeTicks == null
|
||||
enableTsProgressive: item.RunTimeTicks != null
|
||||
|
||||
}).then(function (deviceProfile) {
|
||||
playOnDeviceProfileCreated(deviceProfile, item, startPosition, callback);
|
||||
|
|
|
@ -6,7 +6,14 @@
|
|||
|
||||
require(['confirm'], function (confirm) {
|
||||
|
||||
confirm(msg, Globalize.translate('DeleteUser')).then(function () {
|
||||
confirm({
|
||||
|
||||
title: Globalize.translate('DeleteUser'),
|
||||
text: msg,
|
||||
confirmText: Globalize.translate('ButtonDelete'),
|
||||
primary: 'cancel'
|
||||
|
||||
}).then(function () {
|
||||
|
||||
Dashboard.showLoadingMsg();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue