1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

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>'; html += '<div class="homeTopViews">';
html += LibraryBrowser.getPosterViewHtml({ html += LibraryBrowser.getPosterViewHtml({
items: items, items: items,
shape: shape, shape: shape,

View file

@ -589,6 +589,11 @@
throw new Error("Unrecognized media type"); throw new Error("Unrecognized media type");
} }
if (item.IsPlaceHolder) {
showPlaybackInfoErrorMessage('PlaceHolder');
return;
}
var mediaSource; var mediaSource;
ApiClient.getJSON(ApiClient.getUrl('Items/' + item.Id + '/PlaybackInfo', { ApiClient.getJSON(ApiClient.getUrl('Items/' + item.Id + '/PlaybackInfo', {