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
|
@ -105,7 +105,22 @@
|
|||
|
||||
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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue