mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added new image params & GameSystem constants
This commit is contained in:
parent
b368226a95
commit
792382a113
4 changed files with 19 additions and 5 deletions
|
@ -15,7 +15,7 @@
|
||||||
<input type="checkbox" id="chkRunAtStartup" name="chkRunAtStartup" />
|
<input type="checkbox" id="chkRunAtStartup" name="chkRunAtStartup" />
|
||||||
<label for="chkRunAtStartup">Run server at startup</label>
|
<label for="chkRunAtStartup">Run server at startup</label>
|
||||||
<div id="windowsStartupDescription" class="fieldDescription warningFieldDescription" style="display: none;">
|
<div id="windowsStartupDescription" class="fieldDescription warningFieldDescription" style="display: none;">
|
||||||
This will start the tray icon on windows startup. If you'd prefer to start the windows service instead, disable this and configure the service from the windows control panel.
|
This will start the tray icon on windows startup. If you'd prefer to start the windows service instead, disable this and configure the service from the windows control panel. Please note that you cannot run both at the same time, so you will need to exit the tray icon before starting the service.
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
|
|
|
@ -179,7 +179,7 @@
|
||||||
<div id="additionalPartsContent" class="detailSectionContent"></div>
|
<div id="additionalPartsContent" class="detailSectionContent"></div>
|
||||||
</div>
|
</div>
|
||||||
<div id="castCollapsible" style="display: none;" class="detailSection">
|
<div id="castCollapsible" style="display: none;" class="detailSection">
|
||||||
<div class="detailSectionHeader">
|
<div id="peopleHeader" class="detailSectionHeader">
|
||||||
Cast & Crew
|
Cast & Crew
|
||||||
</div>
|
</div>
|
||||||
<div id="castContent" class="detailSectionContent"></div>
|
<div id="castContent" class="detailSectionContent"></div>
|
||||||
|
|
|
@ -48,6 +48,8 @@
|
||||||
|
|
||||||
$(".autoNumeric").autoNumeric('init');
|
$(".autoNumeric").autoNumeric('init');
|
||||||
|
|
||||||
|
setPeopleHeader(page, item);
|
||||||
|
|
||||||
if (ApiClient.isWebSocketOpen()) {
|
if (ApiClient.isWebSocketOpen()) {
|
||||||
ApiClient.sendWebSocketMessage("Context", [item.Type, item.Id, item.Name, context].join('|'));
|
ApiClient.sendWebSocketMessage("Context", [item.Type, item.Id, item.Name, context].join('|'));
|
||||||
}
|
}
|
||||||
|
@ -56,6 +58,16 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function setPeopleHeader(page, item) {
|
||||||
|
|
||||||
|
if (item.Type == "Audio" || item.Type == "MusicAlbum" || item.MediaType == "Book" || item.MediaType == "Photo") {
|
||||||
|
$('#peopleHeader', page).html('People');
|
||||||
|
} else {
|
||||||
|
$('#peopleHeader', page).html('Cast & Crew');
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
function getContext(item) {
|
function getContext(item) {
|
||||||
|
|
||||||
// should return either movies, tv, music or games
|
// should return either movies, tv, music or games
|
||||||
|
@ -260,9 +272,9 @@
|
||||||
$('.itemPath', page).hide();
|
$('.itemPath', page).hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function getArtistLinksHtml(artists) {
|
function getArtistLinksHtml(artists) {
|
||||||
|
|
||||||
var html = [];
|
var html = [];
|
||||||
|
|
||||||
for (var i = 0, length = artists.length; i < length; i++) {
|
for (var i = 0, length = artists.length; i < length; i++) {
|
||||||
|
@ -274,7 +286,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
html = html.join(' / ');
|
html = html.join(' / ');
|
||||||
|
|
||||||
if (artists.length == 1) {
|
if (artists.length == 1) {
|
||||||
return 'Artist: ' + html;
|
return 'Artist: ' + html;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,6 +16,8 @@
|
||||||
|
|
||||||
<p>Media Browser Server normally runs as a desktop application with a tray icon, but if you prefer to run it as a background service, it can be started from the windows services control panel instead.</p>
|
<p>Media Browser Server normally runs as a desktop application with a tray icon, but if you prefer to run it as a background service, it can be started from the windows services control panel instead.</p>
|
||||||
|
|
||||||
|
<p>If using the windows service, please note that it cannot be run at the same time as the tray icon, so you'll need to exit the tray in order to run the service. The service will also need to be configured with administrative privileges via the control panel.</p>
|
||||||
|
|
||||||
<div class="wizardNavigation">
|
<div class="wizardNavigation">
|
||||||
<button type="button" data-iconpos="left" data-icon="arrow-left" data-inline="true" onclick="history.back();">Previous</button>
|
<button type="button" data-iconpos="left" data-icon="arrow-left" data-inline="true" onclick="history.back();">Previous</button>
|
||||||
<button id="btnNextPage" type="button" data-iconpos="right" data-icon="arrow-right" data-inline="true">Next</button>
|
<button id="btnNextPage" type="button" data-iconpos="right" data-icon="arrow-right" data-inline="true">Next</button>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue