1
0
Fork 0
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:
Luke Pulverenti 2014-02-09 01:08:10 -05:00
parent 0f666e14ad
commit 12533220ba
3 changed files with 5 additions and 3 deletions

View file

@ -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) {

View file

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

View file

@ -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") {