mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added series-level movie db support
This commit is contained in:
parent
0f666e14ad
commit
12533220ba
3 changed files with 5 additions and 3 deletions
|
@ -127,7 +127,7 @@
|
|||
}
|
||||
|
||||
function getDisplayUrl(url) {
|
||||
return ApiClient.getUrl("Images/Remote", { url: url });
|
||||
return ApiClient.getUrl("Images/Remote", { imageUrl: url });
|
||||
}
|
||||
|
||||
function getRemoteImageHtml(image, imageType) {
|
||||
|
|
|
@ -604,7 +604,7 @@
|
|||
$('#fldMetascore', page).hide();
|
||||
}
|
||||
|
||||
if (item.Type == "Movie" || item.Type == "Trailer" || item.Type == "Person" || item.Type == "BoxSet" || item.Type == "MusicAlbum") {
|
||||
if (item.Type == "Movie" || item.Type == "Trailer" || item.Type == "Person" || item.Type == "BoxSet" || item.Type == "MusicAlbum" || item.Type == "Series") {
|
||||
$('#fldTmdb', page).show();
|
||||
} else {
|
||||
$('#fldTmdb', page).hide();
|
||||
|
|
|
@ -1350,6 +1350,8 @@
|
|||
links.push('<a class="textlink" href="http://www.themoviedb.org/collection/' + providerIds.Tmdb + '" target="_blank">TheMovieDB</a>');
|
||||
else if (item.Type == "Person")
|
||||
links.push('<a class="textlink" href="http://www.themoviedb.org/person/' + providerIds.Tmdb + '" target="_blank">TheMovieDB</a>');
|
||||
else if (item.Type == "Series")
|
||||
links.push('<a class="textlink" href="http://www.themoviedb.org/tv/' + providerIds.Tmdb + '" target="_blank">TheMovieDB</a>');
|
||||
}
|
||||
if (providerIds.Tvdb) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue