Add transcoding port setting
This commit is contained in:
@@ -25,6 +25,8 @@ namespace Jellyfin.Plugin.Enigma2.Configuration
|
||||
|
||||
public bool TranscodedStream { get; set; }
|
||||
|
||||
public string TranscodingPort { get; set; }
|
||||
|
||||
public bool EnableDebugLogging { get; set; }
|
||||
|
||||
|
||||
@@ -47,6 +49,7 @@ namespace Jellyfin.Plugin.Enigma2.Configuration
|
||||
RecordingPath = "";
|
||||
|
||||
TranscodedStream = false;
|
||||
TranscodingPort = "8002";
|
||||
|
||||
EnableDebugLogging = false;
|
||||
}
|
||||
|
||||
@@ -136,6 +136,12 @@
|
||||
Request Transcoded Stream (h264, 720p, 1Mpbs and mp4 as default)
|
||||
</div>
|
||||
</div>
|
||||
<div class="inputContainer">
|
||||
<input is="emby-input" id="txtTranscodingPort" type="text" label="Enigma2 transcoding port:" />
|
||||
<div class="fieldDescription">
|
||||
The Transcoding port of your receiver eg. 8002
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<label class="checkboxContainer">
|
||||
<input is="emby-checkbox" type="checkbox" id="chkDebugLogging" />
|
||||
@@ -174,6 +180,7 @@
|
||||
document.getElementById('txtPiconsPath').value = config.PiconsPath || "";
|
||||
document.getElementById('txtRecordingPath').value = config.RecordingPath || "";
|
||||
document.getElementById('chkTranscodedStream').checked = config.TranscodedStream || false;
|
||||
document.getElementById('txtTranscodingPort').value = config.TranscodingPort || "";
|
||||
document.getElementById('chkDebugLogging').checked = config.EnableDebugLogging || false;
|
||||
|
||||
Dashboard.hideLoadingMsg();
|
||||
@@ -199,6 +206,7 @@
|
||||
config.PiconsPath = document.getElementById('txtPiconsPath').value;
|
||||
config.RecordingPath = document.getElementById('txtRecordingPath').value;
|
||||
config.TranscodedStream = document.getElementById('chkTranscodedStream').checked;
|
||||
config.TranscodingPort = document.getElementById('txtTranscodingPort').value;
|
||||
config.EnableDebugLogging = document.getElementById('chkDebugLogging').checked;
|
||||
|
||||
ApiClient.updatePluginConfiguration(Enigma2ConfigurationPage.pluginUniqueId, config).then(Dashboard.processPluginConfigurationUpdateResult);
|
||||
|
||||
Reference in New Issue
Block a user