mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added ability to track web sockets per session
This commit is contained in:
parent
9fa986c511
commit
f4eb8f6cdd
4 changed files with 7 additions and 13 deletions
|
@ -156,16 +156,7 @@
|
|||
|
||||
if (item) {
|
||||
|
||||
if (item.BackdropImageTag) {
|
||||
var url = ApiClient.getImageUrl(item.Id, {
|
||||
type: "Backdrop",
|
||||
height: 100,
|
||||
tag: item.BackdropImageTag
|
||||
});
|
||||
|
||||
return "<img class='clientNowPlayingImage' src='" + url + "' alt='" + item.Name + "' title='" + item.Name + "' />";
|
||||
}
|
||||
else if (item.PrimaryImageTag) {
|
||||
if (item.PrimaryImageTag) {
|
||||
|
||||
var url = ApiClient.getImageUrl(item.Id, {
|
||||
type: "Primary",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue