subtitle parsing fixes

This commit is contained in:
Luke Pulverenti 2015-03-26 00:44:24 -04:00
parent fa2a619280
commit c64474f046
2 changed files with 6 additions and 1 deletions

View File

@ -221,7 +221,7 @@
html += '</div>';
html += '<div>';
html += '<div class="homeTopViews">';
html += LibraryBrowser.getPosterViewHtml({
items: items,
shape: shape,

View File

@ -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', {