diff --git a/dashboard-ui/scripts/indexpage.js b/dashboard-ui/scripts/indexpage.js
index 917ca33e79..0d2bccb645 100644
--- a/dashboard-ui/scripts/indexpage.js
+++ b/dashboard-ui/scripts/indexpage.js
@@ -221,7 +221,7 @@
html += '';
- html += '
';
+ html += '
';
html += LibraryBrowser.getPosterViewHtml({
items: items,
shape: shape,
diff --git a/dashboard-ui/scripts/mediaplayer.js b/dashboard-ui/scripts/mediaplayer.js
index b8b7ab5d4c..f562afbc39 100644
--- a/dashboard-ui/scripts/mediaplayer.js
+++ b/dashboard-ui/scripts/mediaplayer.js
@@ -589,6 +589,11 @@
throw new Error("Unrecognized media type");
}
+ if (item.IsPlaceHolder) {
+ showPlaybackInfoErrorMessage('PlaceHolder');
+ return;
+ }
+
var mediaSource;
ApiClient.getJSON(ApiClient.getUrl('Items/' + item.Id + '/PlaybackInfo', {