mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add new fields from omdb
This commit is contained in:
parent
e8dd5c816f
commit
8c99e99477
17 changed files with 314 additions and 47 deletions
|
@ -470,6 +470,7 @@
|
|||
useAverageAspectRatio: item.MediaType != "Game",
|
||||
shape: item.Type == "MusicAlbum" ? "square" : "portrait",
|
||||
showParentTitle: item.Type == "MusicAlbum",
|
||||
centerText: item.Type != "MusicAlbum",
|
||||
showTitle: item.Type == "MusicAlbum" || item.Type == "Game",
|
||||
borderless: item.Type == "Game"
|
||||
});
|
||||
|
@ -588,7 +589,8 @@
|
|||
items: result.Items,
|
||||
shape: "portrait",
|
||||
useAverageAspectRatio: true,
|
||||
showTitle: true
|
||||
showTitle: true,
|
||||
centerText: true
|
||||
});
|
||||
}
|
||||
else if (item.Type == "Season") {
|
||||
|
@ -606,7 +608,8 @@
|
|||
shape: "auto",
|
||||
context: 'games',
|
||||
useAverageAspectRatio: false,
|
||||
showTitle: true
|
||||
showTitle: true,
|
||||
centerText: true
|
||||
});
|
||||
}
|
||||
else {
|
||||
|
@ -619,7 +622,7 @@
|
|||
});
|
||||
}
|
||||
|
||||
$('#childrenContent', page).html(html);
|
||||
$('#childrenContent', page).html(html).createPosterItemHoverMenu();
|
||||
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue