mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-20 07:45:26 +03:00
added optional SeasonUserData
This commit is contained in:
@@ -173,16 +173,18 @@ namespace MediaBrowser.Api.Sync
|
||||
}
|
||||
else
|
||||
{
|
||||
var dtoOptions = new DtoOptions
|
||||
{
|
||||
Fields = new List<ItemFields>
|
||||
{
|
||||
ItemFields.SyncInfo
|
||||
}
|
||||
};
|
||||
|
||||
var dtos = request.ItemIds.Split(',')
|
||||
.Select(_libraryManager.GetItemById)
|
||||
.Where(i => i != null)
|
||||
.Select(i => _dtoService.GetBaseItemDto(i, new DtoOptions
|
||||
{
|
||||
Fields = new List<ItemFields>
|
||||
{
|
||||
ItemFields.SyncInfo
|
||||
}
|
||||
}))
|
||||
.Select(i => _dtoService.GetBaseItemDto(i, dtoOptions))
|
||||
.ToList();
|
||||
|
||||
result.Options = SyncHelper.GetSyncOptions(dtos);
|
||||
|
||||
Reference in New Issue
Block a user