mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Remove sync info from requested fields
This commit is contained in:
parent
292c1bbe3b
commit
dace38c8dd
26 changed files with 35 additions and 40 deletions
|
@ -1075,7 +1075,7 @@ function renderMoreFromSeason(view, item, apiClient) {
|
|||
apiClient.getEpisodes(item.SeriesId, {
|
||||
SeasonId: item.SeasonId,
|
||||
UserId: userId,
|
||||
Fields: 'ItemCounts,PrimaryImageAspectRatio,BasicSyncInfo,CanDelete,MediaSourceCount'
|
||||
Fields: 'ItemCounts,PrimaryImageAspectRatio,CanDelete,MediaSourceCount'
|
||||
}).then(function (result) {
|
||||
if (result.Items.length < 2) {
|
||||
section.classList.add('hide');
|
||||
|
@ -1264,7 +1264,7 @@ function renderTags(page, item) {
|
|||
}
|
||||
|
||||
function renderChildren(page, item) {
|
||||
let fields = 'ItemCounts,PrimaryImageAspectRatio,BasicSyncInfo,CanDelete,MediaSourceCount';
|
||||
let fields = 'ItemCounts,PrimaryImageAspectRatio,CanDelete,MediaSourceCount';
|
||||
const query = {
|
||||
ParentId: item.Id,
|
||||
Fields: fields
|
||||
|
@ -1681,7 +1681,7 @@ function renderMusicVideos(page, item, user) {
|
|||
SortOrder: 'Ascending',
|
||||
IncludeItemTypes: 'MusicVideo',
|
||||
Recursive: true,
|
||||
Fields: 'PrimaryImageAspectRatio,BasicSyncInfo,CanDelete,MediaSourceCount'
|
||||
Fields: 'PrimaryImageAspectRatio,CanDelete,MediaSourceCount'
|
||||
};
|
||||
|
||||
if (item.Type == 'MusicAlbum') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue