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

add more device options

This commit is contained in:
Luke Pulverenti 2014-10-11 21:46:02 -04:00
parent 9ae5d347c1
commit 029b0d464f
6 changed files with 76 additions and 6 deletions

View file

@ -12,6 +12,8 @@
$('#txtUploadPath', page).val(config.CameraUploadPath || '');
$('#chkSubfolder', page).checked(config.EnableCameraUploadSubfolders).checkboxradio('refresh');
loadDeviceList(page, devices, config);
}
@ -34,6 +36,11 @@
deviceHtml += '<label for="' + id + '">';
deviceHtml += d.Name;
if (d.AppName) {
deviceHtml += '<br/><span>' + d.AppName + '</span>';
}
deviceHtml += '</label>';
var isChecked = config.EnabledCameraUploadDevices.indexOf(d.Id) != -1;
@ -88,6 +95,8 @@
});
config.EnableCameraUploadSubfolders = $('#chkSubfolder', page).checked();
ApiClient.updateNamedConfiguration("devices", config).done(Dashboard.processServerConfigurationUpdateResult);
});