diff --git a/dashboard-ui/scripts/edititemmetadata.js b/dashboard-ui/scripts/edititemmetadata.js index 235c93b8fa..ea4b708e2c 100644 --- a/dashboard-ui/scripts/edititemmetadata.js +++ b/dashboard-ui/scripts/edititemmetadata.js @@ -28,7 +28,7 @@ $('#fldEndDate', page).hide(); } - if (item.Type == "Movie" || item.MediaType == "Game") { + if (item.Type == "Movie" || item.MediaType == "Game" || item.MediaType == "Trailer") { $('#fldBudget', page).show(); $('#fldRevenue', page).show(); } else { diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index e7f5e003be..ee699c91dc 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -699,14 +699,16 @@ var providerIds = item.ProviderIds || {}; if (providerIds.Imdb) { - if (item.Type == "Movie" || item.Type == "Episode") + if (item.Type == "Movie" || item.Type == "Episode" || item.Type == "Trailer") links.push('IMDb'); else if (item.Type == "Person") links.push('IMDb'); } if (providerIds.Tmdb) { - if (item.Type == "Movie") + if (item.Type == "Movie" || item.Type == "Trailer") links.push('TMDB'); + else if (item.Type == "BoxSet") + links.push('TMDB'); else if (item.Type == "Person") links.push('TMDB'); } @@ -831,7 +833,7 @@ } } - if (item.Type == "Movie" && item.CriticRating != null) { + if ((item.Type == "Movie" || item.Type == "Trailer") && item.CriticRating != null) { if (item.CriticRating >= 60) { html += '
';