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

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
commit 5864c0f5fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 3 deletions

View file

@ -109,7 +109,13 @@
<div class="listItem listItem-border"> <div class="listItem listItem-border">
<div class="listItemBody two-line"> <div class="listItemBody two-line">
<div class="listItemBodyText secondary" style="margin:0;">${LabelTranscodingTemporaryFiles}</div> <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> </div>
</div> </div>

View file

@ -383,7 +383,7 @@ define(["datetime", "events", "itemHelper", "serverNotifications", "dom", "globa
for (var i = 0, length = tasks.length; i < length; i++) { for (var i = 0, length = tasks.length; i < length; i++) {
var task = tasks[i]; var task = tasks[i];
html += "<p>"; html += "<p>";
html += task.Name + "<br/>"; html += task.Name + "<br/>";
if (task.State === "Running") { if (task.State === "Running") {
@ -407,8 +407,9 @@ define(["datetime", "events", "itemHelper", "serverNotifications", "dom", "globa
renderPaths: function (page, systemInfo) { renderPaths: function (page, systemInfo) {
page.querySelector("#cachePath").innerHTML = systemInfo.CachePath; page.querySelector("#cachePath").innerHTML = systemInfo.CachePath;
page.querySelector("#logPath").innerHTML = systemInfo.LogPath; 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("#metadataPath").innerHTML = systemInfo.InternalMetadataPath;
page.querySelector("#webPath").innerHTML = systemInfo.WebPath;
}, },
startInterval: function (apiClient) { startInterval: function (apiClient) {
apiClient.sendMessage("SessionsStart", "0,1500"); apiClient.sendMessage("SessionsStart", "0,1500");

View file

@ -1313,6 +1313,7 @@
"LabelVideoCodec": "Video: {0}", "LabelVideoCodec": "Video: {0}",
"LabelVideoType": "Video Type:", "LabelVideoType": "Video Type:",
"LabelView": "View:", "LabelView": "View:",
"LabelWeb": "Web",
"LabelWebsite": "Website:", "LabelWebsite": "Website:",
"LabelWindowBackgroundColor": "Text background color:", "LabelWindowBackgroundColor": "Text background color:",
"LabelXDlnaCap": "X-Dlna cap:", "LabelXDlnaCap": "X-Dlna cap:",