apply suggested changes from code review
This commit is contained in:
@@ -14,7 +14,7 @@ import alert from '../alert';
|
||||
import { PluginType } from '../../types/plugin.ts';
|
||||
import { includesAny } from '../../utils/container.ts';
|
||||
import { getItems } from '../../utils/jellyfin-apiclient/getItems.ts';
|
||||
import { getItemBackdropImageUrl } from '../../utils/jellyfin-apiclient/BackdropImage';
|
||||
import { getItemBackdropImageUrl } from '../../utils/jellyfin-apiclient/backdropImage';
|
||||
|
||||
const UNLIMITED_ITEMS = -1;
|
||||
|
||||
@@ -2672,7 +2672,7 @@ class PlaybackManager {
|
||||
title: item.Name
|
||||
};
|
||||
|
||||
const backdropUrl = getItemBackdropImageUrl(apiClient, item, true);
|
||||
const backdropUrl = getItemBackdropImageUrl(apiClient, item, {}, true);
|
||||
if (backdropUrl) {
|
||||
resultInfo.backdropUrl = backdropUrl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user