diff --git a/dashboard-ui/css/images/editor/missingbackdrop.png b/dashboard-ui/css/images/editor/missingbackdrop.png new file mode 100644 index 000000000..9d0916363 Binary files /dev/null and b/dashboard-ui/css/images/editor/missingbackdrop.png differ diff --git a/dashboard-ui/css/images/editor/missinglogo.png b/dashboard-ui/css/images/editor/missinglogo.png new file mode 100644 index 000000000..5c4c465d9 Binary files /dev/null and b/dashboard-ui/css/images/editor/missinglogo.png differ diff --git a/dashboard-ui/css/images/editor/missingprimaryimage.png b/dashboard-ui/css/images/editor/missingprimaryimage.png new file mode 100644 index 000000000..7ad7756c2 Binary files /dev/null and b/dashboard-ui/css/images/editor/missingprimaryimage.png differ diff --git a/dashboard-ui/css/images/editor/missingtrailer.png b/dashboard-ui/css/images/editor/missingtrailer.png new file mode 100644 index 000000000..18b9d1378 Binary files /dev/null and b/dashboard-ui/css/images/editor/missingtrailer.png differ diff --git a/dashboard-ui/scripts/edititemmetadata.js b/dashboard-ui/scripts/edititemmetadata.js index 52f782f78..fd61e2945 100644 --- a/dashboard-ui/scripts/edititemmetadata.js +++ b/dashboard-ui/scripts/edititemmetadata.js @@ -24,6 +24,26 @@ htmlName += name; + if (!item.LocalTrailerCount && item.Type == "Movie") { + htmlName += ''; + } + + if (!item.ImageTags || !item.ImageTags.Primary) { + htmlName += ''; + } + + if (!item.BackdropImageTags || !item.BackdropImageTags.length) { + if (item.Type !== "Episode") { + htmlName += ''; + } + } + + if (!item.ImageTags || !item.ImageTags.Logo) { + if (item.Type == "Movie" || item.Type == "Trailer" || item.Type == "Series" || item.Type == "Artist" || item.Type == "MusicArtist" || item.Type == "BoxSet") { + htmlName += ''; + } + } + htmlName += ""; var rel = item.IsFolder ? 'folder' : 'default';