mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
d843edfa31
@ -3809,7 +3809,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, wi
|
|||||||
var deferred = $.Deferred();
|
var deferred = $.Deferred();
|
||||||
|
|
||||||
var msg = [itemId, canSeek, queueableMediaTypes];
|
var msg = [itemId, canSeek, queueableMediaTypes];
|
||||||
|
|
||||||
if (mediaSourceId) {
|
if (mediaSourceId) {
|
||||||
msg.push(mediaSourceId);
|
msg.push(mediaSourceId);
|
||||||
}
|
}
|
||||||
@ -4029,7 +4029,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, wi
|
|||||||
|
|
||||||
self.createPackageReview = function (review) {
|
self.createPackageReview = function (review) {
|
||||||
|
|
||||||
var url = self.getUrl("PackageReviews/" + review.id, review);
|
var url = self.getUrl("Packages/Reviews/" + review.id, review);
|
||||||
|
|
||||||
return self.ajax({
|
return self.ajax({
|
||||||
type: "POST",
|
type: "POST",
|
||||||
@ -4058,7 +4058,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, wi
|
|||||||
options.ForceTitle = true;
|
options.ForceTitle = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
var url = self.getUrl("PackageReviews/" + packageId, options);
|
var url = self.getUrl("Packages/" + packageId + "Reviews", options);
|
||||||
|
|
||||||
return self.ajax({
|
return self.ajax({
|
||||||
type: "GET",
|
type: "GET",
|
||||||
|
@ -21,6 +21,16 @@
|
|||||||
<input type="checkbox" id="chkEnablePlayTo" data-mini="true" />
|
<input type="checkbox" id="chkEnablePlayTo" data-mini="true" />
|
||||||
<div class="fieldDescription">Media Browser can detect devices within your network and offer the ability to remote control them.</div>
|
<div class="fieldDescription">Media Browser can detect devices within your network and offer the ability to remote control them.</div>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<label for="chkEnableDlnaDebugLogging">Enable DLNA debug logging</label>
|
||||||
|
<input type="checkbox" id="chkEnableDlnaDebugLogging" data-mini="true" />
|
||||||
|
<div class="fieldDescription">This will create large log files and should only be used as needed for troubleshooting purposes.</div>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<label for="txtClientDiscoveryInterval">Client discovery interval (seconds)</label>
|
||||||
|
<input type="number" id="txtClientDiscoveryInterval" data-mini="true" min="1" max="300" />
|
||||||
|
<div class="fieldDescription">Determines the duration in seconds of the interval between SSDP searches performed by Media Browser.</div>
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<button type="submit" data-theme="b" data-icon="check">
|
<button type="submit" data-theme="b" data-icon="check">
|
||||||
Save
|
Save
|
||||||
|
@ -3,7 +3,9 @@
|
|||||||
function loadPage(page, config) {
|
function loadPage(page, config) {
|
||||||
|
|
||||||
$('#chkEnablePlayTo', page).checked(config.DlnaOptions.EnablePlayTo).checkboxradio("refresh");
|
$('#chkEnablePlayTo', page).checked(config.DlnaOptions.EnablePlayTo).checkboxradio("refresh");
|
||||||
|
$('#chkEnableDlnaDebugLogging', page).checked(config.DlnaOptions.EnableDebugLogging).checkboxradio("refresh");
|
||||||
|
$('#txtClientDiscoveryInterval', page).val(config.DlnaOptions.ClientDiscoveryIntervalSeconds);
|
||||||
|
|
||||||
Dashboard.hideLoadingMsg();
|
Dashboard.hideLoadingMsg();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -30,6 +32,8 @@
|
|||||||
ApiClient.getServerConfiguration().done(function (config) {
|
ApiClient.getServerConfiguration().done(function (config) {
|
||||||
|
|
||||||
config.DlnaOptions.EnablePlayTo = $('#chkEnablePlayTo', form).checked();
|
config.DlnaOptions.EnablePlayTo = $('#chkEnablePlayTo', form).checked();
|
||||||
|
config.DlnaOptions.EnableDebugLogging = $('#chkEnableDlnaDebugLogging', form).checked();
|
||||||
|
config.DlnaOptions.ClientDiscoveryIntervalSeconds = $('#txtClientDiscoveryInterval', form).val();
|
||||||
|
|
||||||
ApiClient.updateServerConfiguration(config).done(Dashboard.processServerConfigurationUpdateResult);
|
ApiClient.updateServerConfiguration(config).done(Dashboard.processServerConfigurationUpdateResult);
|
||||||
});
|
});
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<packages>
|
<packages>
|
||||||
<package id="MediaBrowser.ApiClient.Javascript" version="3.0.247" targetFramework="net45" />
|
<package id="MediaBrowser.ApiClient.Javascript" version="3.0.248" targetFramework="net45" />
|
||||||
</packages>
|
</packages>
|
Loading…
Reference in New Issue
Block a user