mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update video osd
This commit is contained in:
parent
31b6fde452
commit
7b22758cec
4 changed files with 56 additions and 190 deletions
|
@ -986,6 +986,15 @@
|
|||
data = data || self.lastPlayerData;
|
||||
self.lastPlayerData = data;
|
||||
|
||||
if (data && data.NowPlayingItem) {
|
||||
if (!data.NowPlayingItem.ImageTags || !data.NowPlayingItem.ImageTags.Primary) {
|
||||
if (data.NowPlayingItem.PrimaryImageTag) {
|
||||
data.NowPlayingItem.ImageTags = data.NowPlayingItem.ImageTags || {};
|
||||
data.NowPlayingItem.ImageTags.Primary = data.NowPlayingItem.PrimaryImageTag;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//console.log(JSON.stringify(data));
|
||||
|
||||
if (triggerStateChange) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue