1
0
Fork 0
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:
Luke Pulverenti 2013-11-26 11:22:11 -05:00
parent f12c57a1b5
commit cd3eb0a106
2 changed files with 18 additions and 3 deletions

View file

@ -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;