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

added GameSystem entity

This commit is contained in:
Luke Pulverenti 2013-09-21 17:00:04 -04:00
parent e3d0113106
commit f41de12af4
3 changed files with 6 additions and 6 deletions

View file

@ -99,7 +99,7 @@
$('#gameTabs', page).show(); $('#gameTabs', page).show();
} }
if (item.Type == "GamePlatform") { if (item.Type == "GameSystem") {
$('#gameSystemTabs', page).show(); $('#gameSystemTabs', page).show();
} }
@ -501,7 +501,7 @@
else if (item.Type == "MusicAlbum") { else if (item.Type == "MusicAlbum") {
$('#childrenTitle', page).html('Tracks (' + item.ChildCount + ')'); $('#childrenTitle', page).html('Tracks (' + item.ChildCount + ')');
} }
else if (item.Type == "GamePlatform") { else if (item.Type == "GameSystem") {
$('#childrenTitle', page).html('Games (' + item.ChildCount + ')'); $('#childrenTitle', page).html('Games (' + item.ChildCount + ')');
} }
else { else {

View file

@ -6,7 +6,7 @@
SortBy: "SortName", SortBy: "SortName",
SortOrder: "Ascending", SortOrder: "Ascending",
IncludeItemTypes: "GamePlatform", IncludeItemTypes: "GameSystem",
Recursive: true, Recursive: true,
Fields: "ItemCounts,ItemCounts,DateCreated,UserData", Fields: "ItemCounts,ItemCounts,DateCreated,UserData",
StartIndex: 0 StartIndex: 0

View file

@ -185,7 +185,7 @@
html += '<p class="itemMiscInfo">' + childText + '</p>'; html += '<p class="itemMiscInfo">' + childText + '</p>';
} }
else if (item.Type == "GamePlatform") { else if (item.Type == "GameSystem") {
childText = item.ChildCount == 1 ? "1 Game" : item.ChildCount + " Games"; childText = item.ChildCount == 1 ? "1 Game" : item.ChildCount + " Games";
@ -203,7 +203,7 @@
} }
else if (item.Type == "Game") { else if (item.Type == "Game") {
html += '<p class="itemMiscInfo">' + item.GameSystem + '</p>'; html += '<p class="itemMiscInfo">' + (item.DisplayMediaType || item.GameSystem) + '</p>';
} }
else if (item.Type == "Episode") { else if (item.Type == "Episode") {
@ -537,7 +537,7 @@
if (item.Type == "MusicAlbum") { if (item.Type == "MusicAlbum") {
return "itemdetails.html?id=" + id; return "itemdetails.html?id=" + id;
} }
if (item.Type == "GamePlatform") { if (item.Type == "GameSystem") {
return "itemdetails.html?id=" + id; return "itemdetails.html?id=" + id;
} }
if (item.Type == "Genre") { if (item.Type == "Genre") {