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
|
@ -73,31 +73,7 @@
|
|||
|
||||
function getItemHref(item) {
|
||||
|
||||
if (item.CollectionType == 'boxsets' || item.Type == 'ManualCollectionsFolder') {
|
||||
return 'collections.html?topParentId=' + item.Id;
|
||||
}
|
||||
|
||||
if (item.CollectionType == 'trailers' || item.Type == 'TrailerCollectionFolder') {
|
||||
return 'movietrailers.html?topParentId=' + item.Id;
|
||||
}
|
||||
|
||||
if (item.CollectionType == 'movies') {
|
||||
return 'movieslatest.html?topParentId=' + item.Id;
|
||||
}
|
||||
|
||||
if (item.CollectionType == 'tvshows') {
|
||||
return 'tvrecommended.html?topParentId=' + item.Id;
|
||||
}
|
||||
|
||||
if (item.CollectionType == 'music') {
|
||||
return 'musicrecommended.html?topParentId=' + item.Id;
|
||||
}
|
||||
|
||||
if (item.CollectionType == 'games') {
|
||||
return 'gamesrecommended.html?topParentId=' + item.Id;
|
||||
}
|
||||
|
||||
return 'itemlist.html?topParentId=' + item.Id + '&parentid=' + item.Id;
|
||||
return LibraryBrowser.getHref(item);
|
||||
}
|
||||
|
||||
function insertViews(page, user, counts, items, liveTvInfo) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue