mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added IHasImages and IHasUserData
This commit is contained in:
parent
b0d84e5046
commit
736a8233a3
23 changed files with 121 additions and 89 deletions
|
@ -1724,6 +1724,20 @@
|
|||
type: "Primary"
|
||||
});
|
||||
}
|
||||
else if (item.Type == "Recording") {
|
||||
url = ApiClient.getUrl("LiveTV/Recordings/" + item.Id + "/Images/Primary", {
|
||||
maxheight: imageHeight,
|
||||
tag: imageTags.Primary,
|
||||
type: "Primary"
|
||||
});
|
||||
}
|
||||
else if (item.Type == "Program") {
|
||||
url = ApiClient.getUrl("LiveTV/Programs/" + item.Id + "/Images/Primary", {
|
||||
maxheight: imageHeight,
|
||||
tag: imageTags.Primary,
|
||||
type: "Primary"
|
||||
});
|
||||
}
|
||||
else if (item.Type == "Person") {
|
||||
url = ApiClient.getPersonImageUrl(item.Name, {
|
||||
maxheight: imageHeight,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue