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) {
|
function getDisplayUrl(url) {
|
||||||
return ApiClient.getUrl("Images/Remote", { url: url });
|
return ApiClient.getUrl("Images/Remote", { imageUrl: url });
|
||||||
}
|
}
|
||||||
|
|
||||||
function getRemoteImageHtml(image, imageType) {
|
function getRemoteImageHtml(image, imageType) {
|
||||||
|
|
|
@ -604,7 +604,7 @@
|
||||||
$('#fldMetascore', page).hide();
|
$('#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();
|
$('#fldTmdb', page).show();
|
||||||
} else {
|
} else {
|
||||||
$('#fldTmdb', page).hide();
|
$('#fldTmdb', page).hide();
|
||||||
|
|
|
@ -1350,7 +1350,9 @@
|
||||||
links.push('<a class="textlink" href="http://www.themoviedb.org/collection/' + providerIds.Tmdb + '" target="_blank">TheMovieDB</a>');
|
links.push('<a class="textlink" href="http://www.themoviedb.org/collection/' + providerIds.Tmdb + '" target="_blank">TheMovieDB</a>');
|
||||||
else if (item.Type == "Person")
|
else if (item.Type == "Person")
|
||||||
links.push('<a class="textlink" href="http://www.themoviedb.org/person/' + providerIds.Tmdb + '" target="_blank">TheMovieDB</a>');
|
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) {
|
if (providerIds.Tvdb) {
|
||||||
|
|
||||||
if (item.Type == "Series") {
|
if (item.Type == "Series") {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue