mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
updated nuget for live tv
This commit is contained in:
parent
f12c57a1b5
commit
cd3eb0a106
2 changed files with 18 additions and 3 deletions
|
@ -590,7 +590,7 @@
|
||||||
if (item.Type == "Person") {
|
if (item.Type == "Person") {
|
||||||
return "itembynamedetails.html?person=" + ApiClient.encodeName(item.Name) + "&context=" + itemByNameContext;
|
return "itembynamedetails.html?person=" + ApiClient.encodeName(item.Name) + "&context=" + itemByNameContext;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (item.Type == "MusicArtist") {
|
if (item.Type == "MusicArtist") {
|
||||||
if (itemByNameContext == "music") {
|
if (itemByNameContext == "music") {
|
||||||
return "itembynamedetails.html?musicartist=" + ApiClient.encodeName(item.Name) + "&context=" + (itemByNameContext || "music");
|
return "itembynamedetails.html?musicartist=" + ApiClient.encodeName(item.Name) + "&context=" + (itemByNameContext || "music");
|
||||||
|
@ -1704,7 +1704,7 @@
|
||||||
getDetailImageHtml: function (item) {
|
getDetailImageHtml: function (item) {
|
||||||
|
|
||||||
var imageTags = item.ImageTags || {};
|
var imageTags = item.ImageTags || {};
|
||||||
|
|
||||||
if (item.PrimaryImageTag) {
|
if (item.PrimaryImageTag) {
|
||||||
imageTags.Primary = item.PrimaryImageTag;
|
imageTags.Primary = item.PrimaryImageTag;
|
||||||
}
|
}
|
||||||
|
|
|
@ -105,7 +105,22 @@
|
||||||
|
|
||||||
var html = '';
|
var html = '';
|
||||||
|
|
||||||
html += '<a class="searchHint" href="' + LibraryBrowser.getHref(hint) + '">';
|
var context;
|
||||||
|
|
||||||
|
if (hint.Type == "Episode" || hint.Type == "Season" || hint.Type == "Series") {
|
||||||
|
context = "tv";
|
||||||
|
}
|
||||||
|
else if (hint.Type == "Game" || hint.Type == "GameSystem") {
|
||||||
|
context = "games";
|
||||||
|
}
|
||||||
|
else if (hint.Type == "MusicArtist" || hint.Type == "MusicAlbum") {
|
||||||
|
context = "music";
|
||||||
|
}
|
||||||
|
else if (hint.Type == "Movie" || hint.Type == "BoxSet" || hint.Type == "Trailer") {
|
||||||
|
context = "movie";
|
||||||
|
}
|
||||||
|
|
||||||
|
html += '<a class="searchHint" href="' + LibraryBrowser.getHref(hint, context) + '">';
|
||||||
|
|
||||||
var imgUrl;
|
var imgUrl;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue