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:
parent
90c301e86f
commit
bc12a6457d
2 changed files with 28 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue