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

fixes #887 - Support ttml subtitle output

This commit is contained in:
Luke Pulverenti 2014-08-05 19:59:24 -04:00
parent 90c301e86f
commit bc12a6457d
2 changed files with 28 additions and 4 deletions

View file

@ -657,6 +657,33 @@
});
}
else if (item.AlbumId && item.AlbumPrimaryImageTag) {
imgUrl = ApiClient.getScaledImageUrl(item.AlbumId, {
type: "Primary",
width: 80,
tag: item.AlbumPrimaryImageTag
});
}
else if (item.AlbumId && item.SeriesPrimaryImageTag) {
imgUrl = ApiClient.getScaledImageUrl(item.SeriesId, {
type: "Primary",
width: 80,
tag: item.SeriesPrimaryImageTag
});
}
else if (item.ParentPrimaryImageTag) {
imgUrl = ApiClient.getImageUrl(item.ParentPrimaryImageItemId, {
type: "Primary",
width: 80,
tag: item.ParentPrimaryImageTag
});
}
if (imgUrl) {
if (index < 10) {