mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
beginning remote subtitle downloading
This commit is contained in:
parent
c1acc0d03a
commit
3b5259ce8e
12 changed files with 225 additions and 245 deletions
|
@ -70,22 +70,7 @@
|
|||
|
||||
var html = '';
|
||||
|
||||
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) + '">';
|
||||
html += '<a class="searchHint" href="' + LibraryBrowser.getHref(hint) + '">';
|
||||
|
||||
var imgUrl;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue