diff --git a/dashboard-ui/scripts/Itemdetailpage.js b/dashboard-ui/scripts/Itemdetailpage.js index 1c1f2cd854..196905072b 100644 --- a/dashboard-ui/scripts/Itemdetailpage.js +++ b/dashboard-ui/scripts/Itemdetailpage.js @@ -99,7 +99,7 @@ $('#gameTabs', page).show(); } - if (item.Type == "GamePlatform") { + if (item.Type == "GameSystem") { $('#gameSystemTabs', page).show(); } @@ -501,7 +501,7 @@ else if (item.Type == "MusicAlbum") { $('#childrenTitle', page).html('Tracks (' + item.ChildCount + ')'); } - else if (item.Type == "GamePlatform") { + else if (item.Type == "GameSystem") { $('#childrenTitle', page).html('Games (' + item.ChildCount + ')'); } else { diff --git a/dashboard-ui/scripts/gamesystemspage.js b/dashboard-ui/scripts/gamesystemspage.js index 9527b30a77..a8de199d3f 100644 --- a/dashboard-ui/scripts/gamesystemspage.js +++ b/dashboard-ui/scripts/gamesystemspage.js @@ -6,7 +6,7 @@ SortBy: "SortName", SortOrder: "Ascending", - IncludeItemTypes: "GamePlatform", + IncludeItemTypes: "GameSystem", Recursive: true, Fields: "ItemCounts,ItemCounts,DateCreated,UserData", StartIndex: 0 diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index 02a348defe..d141c6bddc 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -185,7 +185,7 @@ html += '

' + childText + '

'; } - else if (item.Type == "GamePlatform") { + else if (item.Type == "GameSystem") { childText = item.ChildCount == 1 ? "1 Game" : item.ChildCount + " Games"; @@ -203,7 +203,7 @@ } else if (item.Type == "Game") { - html += '

' + item.GameSystem + '

'; + html += '

' + (item.DisplayMediaType || item.GameSystem) + '

'; } else if (item.Type == "Episode") { @@ -537,7 +537,7 @@ if (item.Type == "MusicAlbum") { return "itemdetails.html?id=" + id; } - if (item.Type == "GamePlatform") { + if (item.Type == "GameSystem") { return "itemdetails.html?id=" + id; } if (item.Type == "Genre") {