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

better game context

This commit is contained in:
Luke Pulverenti 2013-04-28 14:39:38 -04:00
parent eb165180be
commit 045ad64eb5
4 changed files with 28 additions and 1 deletions

View file

@ -317,6 +317,9 @@
if (item.Type == "Artist") {
return "itembynamedetails.html?artist=" + encodeName(item.Name) + "&context=" + (itemByNameContext || "music");
}
if (item.Type == "GamePlatform") {
return "gamesystem.html?id=" + id;
}
return item.IsFolder ? (id ? "itemList.html?parentId=" + id : "#") : "itemdetails.html?id=" + id;