Merge pull request #172 from dkanada/webpath

Add web path as config option
This commit is contained in:
Joshua M. Boniface
2019-03-21 09:06:50 -04:00
committed by GitHub
3 changed files with 11 additions and 3 deletions
+7 -1
View File
@@ -109,7 +109,13 @@
<div class="listItem listItem-border">
<div class="listItemBody two-line">
<div class="listItemBodyText secondary" style="margin:0;">${LabelTranscodingTemporaryFiles}</div>
<div class="listItemBodyText" id="transcodingTemporaryPath"></div>
<div class="listItemBodyText" id="transcodePath"></div>
</div>
</div>
<div class="listItem listItem-border">
<div class="listItemBody two-line">
<div class="listItemBodyText secondary" style="margin:0;">${LabelWeb}</div>
<div class="listItemBodyText" id="webPath"></div>
</div>
</div>
</div>
+3 -2
View File
@@ -383,7 +383,7 @@ define(["datetime", "events", "itemHelper", "serverNotifications", "dom", "globa
for (var i = 0, length = tasks.length; i < length; i++) {
var task = tasks[i];
html += "<p>";
html += task.Name + "<br/>";
if (task.State === "Running") {
@@ -407,8 +407,9 @@ define(["datetime", "events", "itemHelper", "serverNotifications", "dom", "globa
renderPaths: function (page, systemInfo) {
page.querySelector("#cachePath").innerHTML = systemInfo.CachePath;
page.querySelector("#logPath").innerHTML = systemInfo.LogPath;
page.querySelector("#transcodingTemporaryPath").innerHTML = systemInfo.TranscodingTempPath;
page.querySelector("#transcodePath").innerHTML = systemInfo.TranscodingTempPath;
page.querySelector("#metadataPath").innerHTML = systemInfo.InternalMetadataPath;
page.querySelector("#webPath").innerHTML = systemInfo.WebPath;
},
startInterval: function (apiClient) {
apiClient.sendMessage("SessionsStart", "0,1500");
+1
View File
@@ -1313,6 +1313,7 @@
"LabelVideoCodec": "Video: {0}",
"LabelVideoType": "Video Type:",
"LabelView": "View:",
"LabelWeb": "Web",
"LabelWebsite": "Website:",
"LabelWindowBackgroundColor": "Text background color:",
"LabelXDlnaCap": "X-Dlna cap:",