fixed chapter extraction

This commit is contained in:
Luke Pulverenti 2014-01-17 11:36:01 -05:00
parent f0bf153290
commit 47b45991c9
2 changed files with 2 additions and 11 deletions

View File

@ -381,7 +381,7 @@ a.itemTag:hover {
background-size: cover; background-size: cover;
background-position: center 15%; background-position: center 15%;
background-repeat: no-repeat; background-repeat: no-repeat;
height: 560px; height: 580px;
border-bottom: 1px solid #111; border-bottom: 1px solid #111;
position: relative; position: relative;
} }

View File

@ -1133,16 +1133,7 @@
ApiClient.getLocalTrailers(Dashboard.getCurrentUserId(), currentItem.Id).done(function (trailers) { ApiClient.getLocalTrailers(Dashboard.getCurrentUserId(), currentItem.Id).done(function (trailers) {
var trailer = trailers[0]; MediaPlayer.play(trailers);
var userdata = trailer.UserData || {};
var mediaType = trailer.MediaType;
if (trailer.Type == "MusicArtist" || trailer.Type == "MusicAlbum") {
mediaType = "Audio";
}
LibraryBrowser.showPlayMenu(this, trailer.Id, trailer.Type, mediaType, userdata.PlaybackPositionTicks);
}); });
}); });